drivable jeep multiplayer
Moderator: Moderators
These two line spawn the driveable vehicles into the map
exec global/playervehicle.scr ( 2944.99 -1716.46 67.43 ) 177.8 1
exec global/playervehicle.scr ( 595.98 -1297.28 29.23 ) 177.8 2
The jeep is a custom jeep it changes the jeep to make it drivable by changeing it's classname from driveable vehicle to vehicle tank . The tank is a normal tank . In the map you will need to hold down the use key beside the tank or jeep for a few secs to get in .
exec global/playervehicle.scr ( 2944.99 -1716.46 67.43 ) 177.8 1
exec global/playervehicle.scr ( 595.98 -1297.28 29.23 ) 177.8 2
The jeep is a custom jeep it changes the jeep to make it drivable by changeing it's classname from driveable vehicle to vehicle tank . The tank is a normal tank . In the map you will need to hold down the use key beside the tank or jeep for a few secs to get in .
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
ok you meant i write this on my script :
exec global/playervehicle.scr ( 2944.99 -1716.46 67.43 ) 177.8 1
exec global/playervehicle.scr ( 595.98 -1297.28 29.23 ) 177.8 2
then i ll got a jeep drivable ????? do i got to put one on my map too.........any targetname ????
i dont well understand???? plz can you explian me bodger or i got email if you want agentmad007@hotmail.com TY
i m noob lol hehe
exec global/playervehicle.scr ( 2944.99 -1716.46 67.43 ) 177.8 1
exec global/playervehicle.scr ( 595.98 -1297.28 29.23 ) 177.8 2
then i ll got a jeep drivable ????? do i got to put one on my map too.........any targetname ????
i dont well understand???? plz can you explian me bodger or i got email if you want agentmad007@hotmail.com TY
i m noob lol hehe
Here is an example with 1 Tank and one Jeep.
Note: Use rightclick save target as
http://members.lycos.co.uk/userver/DOWN ... p_test.zip
The things u need to do to get a JEEP into your map is,
1. Copy the content in the GLOBAL and the MODELS/VEHICLES-folder into your pk3.
2. Start your map and run like the wind to the place where u want the jeep or tank to be spawned, then type coord in the console and write down the coordinates.
3. Open your map-script and put this code (with your cordinates ofcourse) after level waittill spawn
exec global/playervehicle.scr ( -135.00 586.00 -7.87 ) -60 2
exec global/playervehiclesound.scr
Note: Use rightclick save target as
http://members.lycos.co.uk/userver/DOWN ... p_test.zip
The things u need to do to get a JEEP into your map is,
1. Copy the content in the GLOBAL and the MODELS/VEHICLES-folder into your pk3.
2. Start your map and run like the wind to the place where u want the jeep or tank to be spawned, then type coord in the console and write down the coordinates.
3. Open your map-script and put this code (with your cordinates ofcourse) after level waittill spawn
exec global/playervehicle.scr ( -135.00 586.00 -7.87 ) -60 2
exec global/playervehiclesound.scr
Last edited by Ric-hard on Wed Mar 10, 2004 4:17 pm, edited 1 time in total.
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
it work for mohaa and not for moh breakthrough strange
and you said
exec global/playervehicle.scr ( -135.00 586.00 -7.87 ) -60 2
i typed coord and i get
location:464.41 -111.93 -7.87
angle 5.66 164.15 0.00
axis -0.96 0.27 -0.10
so for my example it will
exec global/playervehicle.scr ( 464.41 -111.93 -7.87 ) 5.66 164.15
isnt it ?????
plz correct me and tell me why for moh breakthrough it dont work i cant see either the jeep neither the tank and for mohaa i drive it cooool
and more over i searched in pak of mohaa and maintt and i dont found the playervehicle.scr is it a custom that bjarne made ????
sorry for all question
TY
and you said
exec global/playervehicle.scr ( -135.00 586.00 -7.87 ) -60 2
i typed coord and i get
location:464.41 -111.93 -7.87
angle 5.66 164.15 0.00
axis -0.96 0.27 -0.10
so for my example it will
exec global/playervehicle.scr ( 464.41 -111.93 -7.87 ) 5.66 164.15
isnt it ?????
plz correct me and tell me why for moh breakthrough it dont work i cant see either the jeep neither the tank and for mohaa i drive it cooool
and more over i searched in pak of mohaa and maintt and i dont found the playervehicle.scr is it a custom that bjarne made ????
sorry for all question
TY
The syntax for the line is
exec global/playervehicle.scr <origin> <angle> <type>
so if you type coord and get
location:464.41 -111.93 -7.87
angle 5.66 164.15 0.00
axis -0.96 0.27 -0.10
then origin is 464.41 -111.93 -7.87
angle is 164.15 which is the yaw or y angle same as useing angle in the editor
you don't need the axis so RIC-HARD is right .
exec global/playervehiclesound.scr is in the global/playervehicle.scr so you don't need to put it in your level.script it uses the script master sound fix for mohaa but for screarhead there is a playervehiclesound.scr in the ubersound directory that should autoload when you start a spearhead map . I know I put exec global/playervehiclesound.scr in the level script but after looking again at the map I see I did not have to .
exec global/playervehicle.scr <origin> <angle> <type>
so if you type coord and get
location:464.41 -111.93 -7.87
angle 5.66 164.15 0.00
axis -0.96 0.27 -0.10
then origin is 464.41 -111.93 -7.87
angle is 164.15 which is the yaw or y angle same as useing angle in the editor
you don't need the axis so RIC-HARD is right .
exec global/playervehiclesound.scr is in the global/playervehicle.scr so you don't need to put it in your level.script it uses the script master sound fix for mohaa but for screarhead there is a playervehiclesound.scr in the ubersound directory that should autoload when you start a spearhead map . I know I put exec global/playervehiclesound.scr in the level script but after looking again at the map I see I did not have to .
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
i tried like this
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "tank_and_jeep_test"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waitTill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/ambient.scr mohdm6
level.script = maps/dm/tank_and_jeep_test.scr
level waittill spawn
exec global/playervehicle.scr ( 464.41 -111.93 -7.87 ) 164.15 1
exec global/playervehicle.scr ( 464.41 -111.93 -7.87 ) 164.15 2
exec global/playervehiclesound.scr
level waitTill prespawn
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
and like this too
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "tank_and_jeep_test"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waitTill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/ambient.scr mohdm6
level.script = maps/dm/tank_and_jeep_test.scr
level waittill spawn
exec global/playervehicle.scr ( 464.41 -111.93 -7.87 ) 164.15 2
exec global/playervehiclesound.scr
level waitTill prespawn
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
this is your script i dont modif it !!!! your pk3 work on mohaa but dont work on moh breakthrough !!!!!
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "tank_and_jeep_test"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waitTill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/ambient.scr mohdm6
level.script = maps/dm/tank_and_jeep_test.scr
level waittill spawn
exec global/playervehicle.scr ( 464.41 -111.93 -7.87 ) 164.15 1
exec global/playervehicle.scr ( 464.41 -111.93 -7.87 ) 164.15 2
exec global/playervehiclesound.scr
level waitTill prespawn
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
and like this too
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "tank_and_jeep_test"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waitTill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/ambient.scr mohdm6
level.script = maps/dm/tank_and_jeep_test.scr
level waittill spawn
exec global/playervehicle.scr ( 464.41 -111.93 -7.87 ) 164.15 2
exec global/playervehiclesound.scr
level waitTill prespawn
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
this is your script i dont modif it !!!! your pk3 work on mohaa but dont work on moh breakthrough !!!!!
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "tank_and_jeep_test"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waitTill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/ambient.scr mohdm6
level.script = maps/dm/tank_and_jeep_test.scr
level waittill spawn
exec global/playervehicle.scr ( 464.41 -111.93 -7.87 ) 164.15 1
exec global/playervehicle.scr ( 1507.66 -1651.61 -7.87 ) 94.15 2
exec global/playervehiclesound.scr
level waitTill prespawn
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
DONT WORK ALSO
// set scoreboard messages
setcvar "g_obj_alliedtext1" "tank_and_jeep_test"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waitTill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/ambient.scr mohdm6
level.script = maps/dm/tank_and_jeep_test.scr
level waittill spawn
exec global/playervehicle.scr ( 464.41 -111.93 -7.87 ) 164.15 1
exec global/playervehicle.scr ( 1507.66 -1651.61 -7.87 ) 94.15 2
exec global/playervehiclesound.scr
level waitTill prespawn
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
DONT WORK ALSO
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
maybe i got to notice that in my maintt( main of breakthrough) i dont got the jeep.tik like in main , but i got the kingtank.tik
it seems that your global/models/jeep.tik of your pk3 refer to the global/models/jeep.tik of the main folder.....it add some modif thats it ?
but in my maintt if i dont got this file is it a problem ???
it seems that your global/models/jeep.tik of your pk3 refer to the global/models/jeep.tik of the main folder.....it add some modif thats it ?
but in my maintt if i dont got this file is it a problem ???

