PDA

View Full Version : Searching for a mod



Ni3ls
22nd May 2013, 10:26
YO folks,

im searching for a mod where there is a command "jeepme ID" and there will spawn a rideable jeep infront of you. Its an expansion of the zzz_bope.iwd I cant find it anywhere

Ni3ls
24th May 2013, 15:41
Nobody? :(

kung foo man
24th May 2013, 15:47
I dont know about that little extension, but it seems pretty easy to make (a bit vector math + jeep mod understanding).

Ni3ls
24th May 2013, 16:36
I thought it was an expansion. But the command was jeepme ID, about that im 100% sure

kung foo man
24th May 2013, 17:09
Hm, do you have already the jeep mod or do you need a jeep mod + the little extension? If you dont have the jeep mod also, there is a United Noobs Vehicle Mod (CTF, Tanks, Jeeps, Planes etc.)

Ni3ls
24th May 2013, 17:15
I have the jeep mod, where the jeeps need to be placed in the maps. But i want to let them spawn in front of you and make them rideable

Mitch
26th May 2013, 10:33
In _jeeps_v1 you have got the function 'spawn_jeep( team )'.
This function takes care of the spawning of the jeeps. To make it spawn right in front of you it needs a few modifications.

Current code


origin = getRandomSpawn( team,80, 700 );

jeep = spawn("script_model", origin );

jeep setModel( game["jeep" + team] );
jeep show();


You probably need to do more than this


forward = anglesToForward( self getPlayerAngles() );
temp = vector_scale( forward, 50);
trace = bulletTrace( self getOrigin(), self getOrigin() + temp, false, self );
jeep = spawn("script_model", trace["position"] );
jeep setModel( game["jeep" + team] );
jeep show();

serthy
26th May 2013, 13:43
or write your own vehicle logic, its pretty easy

>>>LOOK HERE<<< (http://killtube.org/showthread.php?1158-Creating-new-mod-for-Call-of-Duty-2-race&p=4004#post4004)

Ni3ls
26th May 2013, 16:49
Serthy thats too hard for me. And the checkCollission( trace ) is missing in your script. I managed to let the jeep spawn in front of me. I used this script as basic. http://codepad.org/r7wlT3D1

But now the jeep spawns, moves a little bit automatically and explodes after 2 secs :/ I spawn the jeep above the ground.

Mitch
26th May 2013, 22:13
Serthy thats too hard for me. And the checkCollission( trace ) is missing in your script. I managed to let the jeep spawn in front of me. I used this script as basic. http://codepad.org/r7wlT3D1

But now the jeep spawns, moves a little bit automatically and explodes after 2 secs :/ I spawn the jeep above the ground.

I think it would be easier to use the jeep script that some maps use to spawn jeeps. Because this script is made to run without all the other scripts in the vehicle mod.