Driveable Tanks?
Moderator: Moderators
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
Driveable Tanks?
Ive seen a to of driveable tank tuts and they all say they are for spearhead! But how can that be if there is a driveable tank mission in MoH:AA? Why arent there any tutorials for a drivable tank in Allied Assault?!
-
Master-Of-Fungus-Foo-D
- Muffin Man
- Posts: 1544
- Joined: Tue Jan 27, 2004 12:33 am
- Location: cali, United States
I SHALL TRY!!!!!
hmm maybe i should decompile the map and look at targetnames and that stuff...
::EDIT::
Could.. this be the scripting i need
hmm maybe i should decompile the map and look at targetnames and that stuff...
::EDIT::
Could.. this be the scripting i need
Code: Select all
/////////////////////
level waitTill spawn
println "z: level waittill spawn marker"
/////////////////////
//*** telling the AI to not drop health
level.nodrophealth = 1
$player stufftext "tmstartloop sound/music/mus_TigerTank_01a.mp3"
//*** TEMP reset the Objectives portion of the HUD
// waitthread global/objectives.scr::reset_objectives
// waitthread global/objectives.scr::blank_objectives
waitthread global/objectives.scr::add_objectives 1 2 "Escape with the King Tiger tank." $level_end.origin
waitthread global/objectives.scr::current_objectives 1
thread start
end
speedup:
if (level.currently_fast == 1)
end
println "z: speeding up"
for (local.speed = level.slowspeed; local.speed <= level.fastspeed; local.speed += 1)
{
$playertank vehiclespeed local.speed
waitframe
}
println "z: done speeding up"
level.currently_fast = 1
end
slowdown:
if (level.currently_fast != 1)
end
println "z: slowing down"
for (local.speed = level.fastspeed; local.speed >= level.slowspeed; local.speed -= 1)
{
$playertank vehiclespeed local.speed
waitframe
}
println "z: done slowing down"
level.currently_fast = 0
end
////////////////
start:
wait 2
local.forward = getboundkey1 "+forward"
local.back = getboundkey1 "+back"
local.left = getboundkey1 "+moveleft"
local.right = getboundkey1 "+moveright"
local.jump = getboundkey1 "+moveup"
iprintlnbold_noloc (loc_convert_string "Move the tank with your Forward key ( ") local.forward (loc_convert_string " ) and Backward key. ( ") local.back (loc_convert_string " )")
wait 3
iprintlnbold_noloc (loc_convert_string "Press STRAFE LEFT ( ") local.left (loc_convert_string " ) to turn left and STRAFE RIGHT ( ") local.right (loc_convert_string " ) to turn right.")
wait 3
iprintlnbold "Turn the turret with the Mouse."
wait 3
iprintlnbold_noloc (loc_convert_string "Hold your Jump key ( ") local.jump (loc_convert_string " ) to align the base with the turret.")
end
