View Single Post
Old 10-16-2003, 05:54 AM   #1 (permalink)
ravage
Senior Member
 
Join Date: Dec 2002
Location: Nod base
Posts: 172
Default [GEN/ZH] Classic C&C engineers return to Generals!

it's simple.first,copy the code of GLAInfantryHijacker,and edit it like this:

Behavior = ConvertToHijackedVehicleCrateCollide ModuleTag_xx
RequiredKindOf = STRUCTURE
End

then,add the code to the buildings we want can be captured by this way:

Behavior = AIUpdateInterface ModuleTag_xx
End

now the new "Hijacker" can capture enemy buildings like the engineers in classic c&c!

but the problem is,it can't capture civilian buildings like oilderrick,etc.can someone fix it?
ravage is offline   Reply With Quote