How to make bounty with text?

mathiasdk

New Member
Reaction score
0
Hi all, i need to make a bounty with text.

Like when i kill a creep it gives me 25 gold and it says "+25" or so, above the killed creeps head.


Can anyone help me applying the bounty, and the text?

Thanks in advance.
 

Lobster

Old Fogey ofthe site
Reaction score
90
gold floating text. Not sure the exact size, but youll also have to change it so it has a velocity.
 

HellCraft

Member
Reaction score
19
Go to the object editor, go to your unit.
Fields like Stats - Gold Bounty Awarded, Gold Bounty Number of Dice, Gold Bounty Sides of Die. Set those fields to set the bounty.
Formula is:
Min Bounty: Bounty Awarded+Number of Dice
Max Bounty: Bounty Awarded+(Number of Dice*Sides of Die)

The text comes automatically.
 

mathiasdk

New Member
Reaction score
0
Go to the object editor, go to your unit.
Fields like Stats - Gold Bounty Awarded, Gold Bounty Number of Dice, Gold Bounty Sides of Die. Set those fields to set the bounty.
Formula is:
Min Bounty: Bounty Awarded+Number of Dice
Max Bounty: Bounty Awarded+(Number of Dice*Sides of Die)

The text comes automatically.

doesnt work for me , i set the bounty


Base : 5
Number of Dice : 5
Sides per Dice : 2


Gives 0 gold all.
 

DeeVee

New Member
Reaction score
4
Make a trigger like this:

Trigger:
  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player - Turn Gives bounty On for Player 12 (Brown)


This trigger makes it so when you kill a unit owned by Player 12 (Brown) you will recieve the bounty that you entered in the object editor. You can turn the bounty on for all the players or any specific player you would like.
 

HellCraft

Member
Reaction score
19
Make a trigger like this:

Trigger:
  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player - Turn Gives bounty On for Player 12 (Brown)


This trigger makes it so when you kill a unit owned by Player 12 (Brown) you will recieve the bounty that you entered in the object editor. You can turn the bounty on for all the players or any specific player you would like.
Do this.
On default, only Neutral Hostile(and maybe Neutral Passive) gives bounty. To make units gain bounty by killing units owned by non-neutral players you need to do that.
 

egomanyak

New Member
Reaction score
8
Well, that was easy :)
But here is harder(for me) question :D

how to make when you build something(like inn, tavern, income build etc.)
i want to say the build every second +25 or what i want

So, how can i do it?
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Well, that was easy :)
But here is harder(for me) question :D

how to make when you build something(like inn, tavern, income build etc.)
i want to say the build every second +25 or what i want

So, how can i do it?
Change "farm to your unit
and time to your time
if you want you can make the messages coloured.
Trigger:
  • Income Messages
    • Events
      • Time - Every 10.00 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Farm)) and do (Actions)
        • Loop - Actions
          • Floating Text - Create floating text that reads +25 gold +2 wood above (Picked unit) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
          • Floating Text - Change (Last created floating text): Disable permanence
          • Floating Text - Change the lifespan of (Last created floating text) to 1.00 seconds
 
General chit-chat
Help Users

      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