Page 1 of 1

How I can restore the original nod MLRS

Posted: Tue Jun 09, 2020 5:17 pm
by Rodrius
Hi, how can I edit OpenRA so that me and a friend can play between us with the original nod vehicle MLRS(it attacking the ground, not air)?

Re: How I can restore the original nod MLRS

Posted: Wed Jun 10, 2020 8:50 am
by netnazgul
MLRS is (and IIRC always was) a GDI unit.

Re: How I can restore the original nod MLRS

Posted: Thu Jun 11, 2020 4:19 pm
by Rodrius
netnazgul wrote:
Wed Jun 10, 2020 8:50 am
MLRS is (and IIRC always was) a GDI unit.
I'm sorry, you're wrong, edit the world.yaml and in "e1,e1,e1,e1,e1,e3,e3,jeep" change this to
"mlrs,e1,e1,e1,e1,e1,e3,e3,jeep" and then start skirmish being gdi and with light support and you will discover the truth baby

Re: How I can restore the original nod MLRS

Posted: Sat Jun 13, 2020 10:02 am
by prawda
Some things in multiplayer were different than in singleplayer in C&C1. MLRS was available for both factions is one of these things.

https://cnc.fandom.com/wiki/Multiple_La ... rian_Dawn)

However the unit could attack ground and air.
In the Tiberian Dawn mod of openRA go here:

/mods/cnc/weapons/missiles.yaml
/mods/cnc/rules/vehicles.yaml

in vehicles.yaml there is an entry
MLRS:
{...]
Inherits@AUTOTARGET: ^AutoTargetAir
[...]
Armament:
Weapon: Patriot
LocalOffset: 0,-171,0, 0,171,0
[...]

copy the 3 Lines of Armament and paste directly below Armament and change "Weapon: Patriot" to "Weapon: Patriot.AG", change "Armament" to "Armament@primary" and "Armament@secondary". Also change ^AutoTargetAir to Inherits@AUTOTARGET: ^AutoTargetAll

in missiles.yaml:

find the entry
Patriot:
[...]

copy it and paste directly below and change it to this (you can delete all other lines or keep them if you want to change something, I also kept spread and damage here since you might want to change this):

Patriot.AG:
Inherits: Patriot
ValidTargets: Ground, Water
Warhead@1Dam: SpreadDamage
Spread: 682
Damage: 5000
ValidTargets: Ground, Water