• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help me

Status
Not open for further replies.
Storing resources in a multiboard is rather easy.
All you need to do is make an integer array. Each player has their own index in the array based on the players number.
Then when a resource is gathered you increase the integer array for that player.
Then you show the new update to the multiboard.

Creating the system to be able to collect the resources can be hard or easy. It depends how you want them to be collected.

In gameplay constants think of the number 1.00 as 100% damage.
So if you have .5 it is 50% damage. 1.5 will be 150% damage.
Example unit A deals 1000 damage to unit B and to unit C.
unit B takes 50% damage because of that attack. So unit B only takes 500 damage out of that 1000 damage unit A did. (The unit is strong against this type of attack)
unit C takes 150% damage because of that attack. So unit C takes 1500 damage out of the 1000 damage because it gets amplified. (It is the units weakness)
 
Status
Not open for further replies.
Top