Page 2 of 2

Re: Introducing RA Upgrades Mod

Posted: Wed Jun 20, 2018 3:58 pm
by lawANDorder
Glad I could help, happy modding!

Re: Introducing RA Upgrades Mod

Posted: Wed Jun 20, 2018 6:17 pm
by Igncom1
I see how you have got:

Code: Select all

SpeedMultiplier@infspeed1:
		RequiresCondition: infspeed1 && !infspeed2
		Modifier: 115
Is there a way to change that from speed to HP? Like:

Code: Select all

HPMultiplier@cyber:
		RequiresCondition: cyber
		Modifier: 150

Re: Introducing RA Upgrades Mod

Posted: Wed Jun 20, 2018 7:15 pm
by lawANDorder
Igncom1 wrote:
Wed Jun 20, 2018 6:17 pm
I see how you have got:

Code: Select all

SpeedMultiplier@infspeed1:
		RequiresCondition: infspeed1 && !infspeed2
		Modifier: 115
Is there a way to change that from speed to HP? Like:

Code: Select all

HPMultiplier@cyber:
		RequiresCondition: cyber
		Modifier: 150
You will have to look at the available traits, see https://github.com/OpenRA/OpenRA/wiki/Traits. But right off the top of my head I don't see a way to modify health. What you can do is modify armor, add another armor type or stack existing armor types - see the hind armor upgrade for an example. Btw, it's probably not a good idea to discuss this here because I would like to keep this thread on topic but you can pm me anytime for generic coding help (no guarantee that I can help, I'm neither a coder or a dev) here or even better ask me or the others on irc (http://webchat.freenode.net/?channels=openra).

Re: Introducing RA Upgrades Mod

Posted: Wed Jun 20, 2018 7:27 pm
by Igncom1
Will do! Thanks for all your help.

Re: Introducing RA Upgrades Mod

Posted: Wed Jun 20, 2018 7:31 pm
by lawANDorder
You're welcome.