Posted: Fri Dec 05, 2003 11:57 pm
works a treat!
Now have all axis spawning inside a plane. When they jump out they parachute to the ground
Now have all axis spawning inside a plane. When they jump out they parachute to the ground
MoHAA Mapping
http://map.moh-central.net/forum/
Code: Select all
Main
... usual main stuff
waitthread CreateAxisSpawnPoints
level waittill prespawn
... rest of usual main stuff
end
CreateAxisSpawnPoints:
println "***************************************"
println "Creating Axis Spawns"
println "***************************************"
waitthread CreateSpawn "axis" 2286 683 -350 0
waitthread CreateSpawn "axis" 2970 773 -350 0
waitthread CreateSpawn "axis" 2267 -682 -220 0
waitthread CreateSpawn "axis" 2287 -404 -190 0
waitthread CreateSpawn "axis" 3153 -758 -340 90
waitthread CreateSpawn "axis" 3800 -513 -290 90
waitthread CreateSpawn "axis" 4477 -168 -340 90
waitthread CreateSpawn "axis" 4010 571 -290 270
waitthread CreateSpawn "axis" 3264 360 -330 0
waitthread CreateSpawn "axis" 1420 210 -290 0
waitthread CreateSpawn "axis" 950 200 -300 0
waitthread CreateSpawn "axis" 1563 -365 -270 0
waitthread CreateSpawn "axis" 3356 1225 -40 270
waitthread CreateSpawn "axis" 2940 366 -330 90
waitthread CreateSpawn "axis" 2770 -1706 -370 90
waitthread CreateSpawn "axis" 3212 -1631 -340 90
end
CreateSpawn local.side local.x local.y local.z local.angle:
if (local.side == "axis")
local.SpawnPoint = spawn info_player_axis
else
local.SpawnPoint = spawn info_player_allied
local.SpawnOrigin = local.SpawnPoint.origin
local.SpawnOrigin[0] = local.x
local.SpawnOrigin[1] = local.y
local.SpawnOrigin[2] = local.z
local.SpawnPoint.origin = local.SpawnOrigin
local.SpawnPoint.angle = local.angle
end
If you just want to add new spawn points then you only need a similar script to the one posted above. It is only if you wish to remove existing spawn points that you need to hex out. I used Hex Workshop when I did it.[JPC] Heli-man wrote:Read this forum from start to finish and one question for you what hex software are you using.
i want to add some spawn points to an existing map can i use hexing to do it?