PDA

View Full Version : TechLevel etc.


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!!!

FlyingZ
04-07-2007, 10:42 AM
[NAMISL] ;If it's MP turn on the superweapons
TechLevel=11
AIBuildThis=no
Capturable=yes


[CALAB]
ClickRepairable=yes
CanBeOccupied=no
MaxNumberOccupants=0
SuperWeapon=

[NAPSYB]
SuperWeapon=

Event: Entered by: This trigger is for single player maps.
If you want MP and house doesn’t matter, make a trigger for every side {Player@?} and link {attach} them together.

EDIT: oops change {Player@?} to {Americans} and the rest

nuker7735
04-07-2007, 07:34 PM
instad of entered by: use action 7(destroyed by aything) i found that this works even for capture/infltration as well as regular destruction.

desolater56
04-08-2007, 06:56 AM
Thanks!

What does the "SuperWeapon=" Do?

HelloDave
04-08-2007, 07:32 AM
Thanks!

What does the "SuperWeapon=" Do?
makes the building use a superweapon eg ChronoWarpSpecial , ParaDropSpecial.

nuker7735
04-08-2007, 11:43 AM
im not completely sure, but i think the sell action is for singleplayer only... i could never get it to work with MP. if u could PM me some time with a full list of the rules for the lab i could try to get it to work and ill PM u back when i get it working. if u do PM me with the list of rules also tell me exactly what u want it to do in ur map. when im done all u need to do is copy/paste over the origional rules.

SYY999
03-27-2008, 04:09 PM
[NAMISL]
TechLevel=11
AIBuildThis=no
Capturable=yes ; you miss a E Captureable=yes

[CALAB]
TechLevel=11
Capturable=yes ; you miss a E Captureable=yes

[NAPSYB]
TechLevel=11
Capturable=yes ; you miss a E Captureable=yes