How I can restore the original nod MLRS

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)?

Information and discussion for custom maps and mods.
Post Reply
Rodrius
Posts: 3
Joined: Tue Jun 09, 2020 4:04 pm

How I can restore the original nod MLRS

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

User avatar
netnazgul
Posts: 488
Joined: Mon Jul 10, 2017 7:32 am
Location: Minsk
Contact:

Re: How I can restore the original nod MLRS

Post by netnazgul »

MLRS is (and IIRC always was) a GDI unit.

Rodrius
Posts: 3
Joined: Tue Jun 09, 2020 4:04 pm

Re: How I can restore the original nod MLRS

Post 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

prawda
Posts: 12
Joined: Thu Nov 15, 2018 1:16 pm

Re: How I can restore the original nod MLRS

Post 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

Post Reply