Page 1 of 1

Some Questions for CNC mod

Posted: Tue Sep 06, 2011 3:08 pm
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:
FreeActor:
Actor: TRAN
InitialActivity:
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)

Re: Some Questions for CNC mod

Posted: Sat Oct 08, 2011 7:33 pm
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

Posted: Sun Oct 09, 2011 1:14 am
by chrisf
To set the color (eg to green), put this in your weapon definition:

LaserZap:
Color: 0,255,0

or, if you want the player color:

LaserZap:
UsePlayerColor: yes