Page 1 of 1

How do I add barb wire and tanks to my existing MOHAA maps

Posted: Tue Jan 06, 2004 7:52 am
by sacredrage
I see a lot of standard maps with neat features in them - barb wire, boxes, tanks burning etc. added top existing standard maps. How is that done?

Posted: Wed Jan 07, 2004 5:16 am
by omniscient
its all scripting, u may want to try an d/l one of those mods that ur talking about. open it up and see how they did it.

Posted: Wed Jan 07, 2004 6:05 am
by bdbodger
local.ent = spawn vehicles/kingtank.tik "targetname" "Kingtiger"
local.ent.origin = local.origin
local.ent.angle = local.angle
local.ent.dmprojectile= "models/projectiles/tigercannonshell.tik" // mohaa only affects BT and can cause errors
local.ent.damagemdl= vehicles/kingtank_d.tik

something like this I have a whole script for spawning usable vehicles into a map but it can cause problems when a player quits while in a tank .