Some Questions for CNC mod

Information and discussion for custom maps and mods.
Post Reply
Posts: 4
Joined: Tue Sep 06, 2011 2:41 pm

Some Questions for CNC mod

Post by ps3 »

1.How to change the color of laser weapon?
2.How to add a Helicopter stay on the Helipad when it is completed.I try to write like following scripts:
Actor: TRAN
SpawnOffset: 1,0
Facing: 96
Then I found SpawnOffset of the Helipad center is (0.5, 0.5).If I do this,It will crush.
My idea is that the building is finished, the GDI get an Apache,and the NOD get an Orca.What should I do?
(The above content automatic translation by Baidu)

User avatar
Posts: 98
Joined: Sat Feb 26, 2011 11:26 pm
Location: Camo pillbox

Re: Some Questions for CNC mod

Post by riderr3 »

ps3 wrote: 1.How to change the color of laser weapon?
This is not listed in yaml's. May be change and compile sources?
Laser color is depends on player color. Anyway, it's must be a option to choose between OpenRA variant and original red color

Posts: 246
Joined: Mon Sep 06, 2010 4:59 am

Post by chrisf »

To set the color (eg to green), put this in your weapon definition:

Color: 0,255,0

or, if you want the player color:

UsePlayerColor: yes

Post Reply