UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Adding jump pads?

broken avatar :(
Created 8 years ago
by Megadeth9811
0 Members and 1 Guest are viewing this topic.
1,664 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 23 February 2014
Last active: 5 years ago
Posts
143
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
-Mega \m/
Signature
Trve Kvlt Black Metal
×
Megadeth9811's Groups
Megadeth9811's Contact & Social LinksMegadeth9811Megadeth9811Megadeth9811
In the stock scripts, I found a file called_zm_jump_pad.gsc.

Has anyone tried making jump pads with this script? If so, how can I get one working in my map?
broken avatar :(
×
broken avatar :(
Location: nlNederland
Date Registered: 28 September 2014
Last active: 4 years ago
Posts
12
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
×
joost0174's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
joost0174's Contact & Social Links
I had a jumppad in COD4. You can still use the same code.

Code Snippet
Plaintext
function jump()
{
jumpx = getent ("jump","targetname");
air1 = getent ("air1","targetname");
air2 = getent ("air2","targetname");
air3 = getent ("air3","targetname");
air4 = getent ("air4","targetname");

time = 1;
for(;;)
{
jumpx waittill ("trigger",user);
if (user istouching(jumpx))
{
//throw = user.origin + (100, 100, 0);
air = spawn ("script_model",(0,0,0));
air.origin = user.origin;
air.angles = user.angles;
user linkto (air);
air moveto (air1.origin, time);
air3 playsound ("zmb_hellhound_bolt");
wait 1;
air moveto (air2.origin, time);
wait .5;
air moveto (air3.origin, time);
air3 playsound ("zmb_hellhound_bolt");
wait .5;
air moveto (air4.origin, time);
wait 1;
user unlink();
wait 1;
}
}
}

 
Loading ...