desolater56
04-07-2007, 06:29 AM
Hi Guys,
I haven't made any ra2 yr maps for a while now and I have forgotten most code I new. I am making a map where there are super weapons to capture, and also einstein's lab which when captured gives the player a repeating weapon. Also I have a psychic beacon which when captured should itself sell and 4 surrounding buildings, and in its place build 4 psychic towers and a Yuri War Factory. However none of these are working, what I have so far is:
eg Superweapon:
[NAMISL]
TechLevel=11
AIBuildThis=no
Capturable=yes
but this does not work, capturable but not usable!
lab:
[CALAB]
TechLevel=11
Capturable=yes
no good at all, do i need something first like Garrisonable=no ???
and beacon:
[NAPSYB]
TechLevel=11
Capturable=yes
Triggers:
trigger1: Civilian
Event: Entered by (attached)
(beacon is attached to this trigger)
Action: Force Trigger
trigger2: Civilian Disabled
Event: Any Event
Action: 1. Sell (beacon is attached and 4 other buildings)
2. Build @ waypoints - psy towers at 4 waypoints where the 4 buildings were, and a yuri war factory where the beacon was at the waypoint there.
DOESNT work either
I'm Stumped!!!
I haven't made any ra2 yr maps for a while now and I have forgotten most code I new. I am making a map where there are super weapons to capture, and also einstein's lab which when captured gives the player a repeating weapon. Also I have a psychic beacon which when captured should itself sell and 4 surrounding buildings, and in its place build 4 psychic towers and a Yuri War Factory. However none of these are working, what I have so far is:
eg Superweapon:
[NAMISL]
TechLevel=11
AIBuildThis=no
Capturable=yes
but this does not work, capturable but not usable!
lab:
[CALAB]
TechLevel=11
Capturable=yes
no good at all, do i need something first like Garrisonable=no ???
and beacon:
[NAPSYB]
TechLevel=11
Capturable=yes
Triggers:
trigger1: Civilian
Event: Entered by (attached)
(beacon is attached to this trigger)
Action: Force Trigger
trigger2: Civilian Disabled
Event: Any Event
Action: 1. Sell (beacon is attached and 4 other buildings)
2. Build @ waypoints - psy towers at 4 waypoints where the 4 buildings were, and a yuri war factory where the beacon was at the waypoint there.
DOESNT work either
I'm Stumped!!!