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
888
> 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
888
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
888
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
888
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
888
> 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
888
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.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top