Bounty on trained units..

swe_suffer

New Member
Reaction score
20
Use Object Editor to set the amount of gold and/or lumber given, then if the owner isn't Neutral Hostile use "Game/Player (dont remember) - Turn on gives bounty for player..." Is that what you are looking for?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
> Is that a trigger or something?

Yes:

Code:
Player - Turn Gives bounty On for Player 1 (Red)

You will find it under Player - Turn Player Flag On/Off.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Event:
- Map init
Conditions:
Actions:
Pick every player in (All players) and do
- Player - Turn Gives bounty ON for (Picked player)

Part of the action "Player - set flag".


Buildings don't give any bounty unless you set some in the object editor.

Have a look at a normal unit: Stats Gold / Lumber bounty base / dice / sides.
And copy it over to your buildings.
Adjust as needed.
 

Sivert

New Member
Reaction score
0
PHP:
Melee Initialization
Events
 Time - every 2.00 seconds of game time
Conditions
Actions
 Plyer Group - Pick every player in (all players) and do (actions)
 Player - Turn gives bounty On fro (picked player)

Is the last "Player - turn gives bounty on for (picked player)" right? So if I'm red and I kill a unit that I'v set up a bounty of 3 (side) 3(base) 3(die)..

Whats the differance of side, base and die? This didnt work last time I tried :S
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
Base is where you start. You said 3 base, sides, and die? Ok, think of dice. They have a set number of sides, right? That's what sides means. It's electronic dice. So, base of 3. Then you add what the dice might roll. You have 3 dice, so the MINIMUM you can roll is 3. Add that to the base of 3. That makes 6 as the smallest amount you can get. What is the maximum? Well, the biggest number the dice can roll is 3 (3 sides, right?). So, if they all roll 3, that's 9. 3 x 3 = 9. So, add that to the base of 3 and 12 is the maximum you can get. Make sense?
 

Sivert

New Member
Reaction score
0
KK.. So if I set a base of 0, then it would be minimum of 3 and maksimum of 9 then, got it :D

But as for the trigger, should this simple action work?

PHP:
Player - Turn gives bounty On for (picked player)
 

esb

Because none of us are as cruel as all of us.
Reaction score
329
Bounty Formula
(base + dice) - ((base + dice) x sides)

and your trigger will only work if you have a picked player. But it under the actions of
Player Group - Pick every player in (all players) and do (actions)
 

Beetlebomb

New Member
Reaction score
43
KK.. So if I set a base of 0, then it would be minimum of 3 and maksimum of 9 then, got it :D

But as for the trigger, should this simple action work?

PHP:
Player - Turn gives bounty On for (picked player)

No that wouldn't work only because you don't have any "picked player" so you have to put in a player group action. "Player Group - Pick every player equal to (All Players) and do" Then put that. Of course put the map init like Acehart said too :)
 

Sivert

New Member
Reaction score
0
This is what I have done so far:

Code:
Events
 Unit - a unit dies

Conditions:

Actions
 Player group - pick every player in (all players) and do (player - turn gives bounty on for (picket players)

I still dont get bounties even though I set the award bounties on my units :(
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
You only have to turn on the bounty once. Don't do it each time a unit dies.
 

Sivert

New Member
Reaction score
0
Okey..

I now got:

Code:
Events
 Map initialization

Conditions:

Actions
 Player group - pick every player in (all players) and do (player - turn gives bounty on for (picket players)

But I still dont get bounty.. Can any of you give me an example of bounty settings?
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
1. I notice you use PHP tags on your triggers. Use the CODE tags instead, please.

2. If you set up the bounty for each unit (base, # of dice, # of sides), then you should be good with just that one trigger.
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
> And this would be a right trigger for bounty?

Yes.

> I'll use code from now on

Great. :D
 

Sivert

New Member
Reaction score
0
Somehow, bounty doesnt work.. Its kind of annoying because its the only gold income..

Code:
Events
 Map initialization

Conditions:

Actions
 Player group - pick every player in (all players) and do (player - turn gives bounty on for (picket players)

.... Maybe if someone could have a look at the map or something? I'v set most Bounty awards at buildings and units a round 2 base 3 dice and 4 die or something..
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
889
I don't know... maybe bounty doesn't work with buildings. It would probably be easier to just trigger the bounty.

Ooh. One for me. :p
 

ArmedCitizen

Kisses Cats
Reaction score
198
Sometimes pick every player and bounty don't mix for some reason.

Try these variations.

Code:
For each (Integer A) from 1 to 12, do (Actions)
    Loop - Actions
        Player - Turn Gives bounty On for (Player((Integer A)))

Or the long way.

Code:
    Player - Turn Gives bounty On for Player 1 (Red)
    Player - Turn Gives bounty On for Player 2 (Blue)
    Player - Turn Gives bounty On for Player 3 (Teal)
    Player - Turn Gives bounty On for Player 4 (Purple)
    Player - Turn Gives bounty On for Player 5 (Yellow)
    Player - Turn Gives bounty On for Player 6 (Orange)
    Player - Turn Gives bounty On for Player 7 (Green)
    Player - Turn Gives bounty On for Player 8 (Pink)
    Player - Turn Gives bounty On for Player 9 (Gray)
    Player - Turn Gives bounty On for Player 10 (Light Blue)
    Player - Turn Gives bounty On for Player 11 (Dark Green)
    Player - Turn Gives bounty On for Player 12 (Brown)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top