Page 1 of 1

DefaultCash. For a player or for all?

Posted: Wed Feb 12, 2020 6:34 pm
by Adrian
There is value DefaultCash in the file rules.yaml.
It defines start money for the player. For a human player.

In original Dune 2000, every side can receive own sum (of money).
For example, Atreides 5000, Ordos 7000, etc.

If here, in OpenRa, in the file rules.yaml, for example
DefaultCash: 7000
then who will receive the sum?
Is it for human player only or for all?

Re: DefaultCash. For a player or for all?

Posted: Thu Feb 13, 2020 9:47 am
by abcdefg30
It will be for all players.

Re: DefaultCash. For a player or for all?

Posted: Sat Feb 15, 2020 9:15 am
by MustaphaTR
You can use Lua if you want a player to start with a different value than the default. If you want so you can make a code that scales accordingly.

Re: DefaultCash. For a player or for all?

Posted: Sat Feb 15, 2020 6:45 pm
by Adrian
Thank you very much, MustaphaTR.

I found "Map Script Making Tutorial" here, about using Lua, thanks to you.
And this is really possible — to define different sums for different players.
I already test it.