Introducing RA Upgrades Mod

Soviet Hind / Radar Tech Longbow / Unit Upgrades

Information and discussion for custom maps and mods.

Should this mod develop further?

Poll ended at Wed Jun 27, 2018 7:19 am

Yes, I would like to see it advance.
6
67%
I don't care, do what you want.
3
33%
No, it's wasted time.
0
No votes
 
Total votes: 9

lawANDorder
Posts: 140
Joined: Tue Oct 24, 2017 3:20 pm

Re: Introducing RA Upgrades Mod

Post by lawANDorder »

Glad I could help, happy modding!

Igncom1
Posts: 4
Joined: Mon Jun 18, 2018 7:40 pm

Re: Introducing RA Upgrades Mod

Post 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

lawANDorder
Posts: 140
Joined: Tue Oct 24, 2017 3:20 pm

Re: Introducing RA Upgrades Mod

Post 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).

Igncom1
Posts: 4
Joined: Mon Jun 18, 2018 7:40 pm

Re: Introducing RA Upgrades Mod

Post by Igncom1 »

Will do! Thanks for all your help.

lawANDorder
Posts: 140
Joined: Tue Oct 24, 2017 3:20 pm

Re: Introducing RA Upgrades Mod

Post by lawANDorder »

You're welcome.

Post Reply