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

How to make Jump Scare

broken avatar :(
Created 8 years ago
by Ed- Canal D9
0 Members and 1 Guest are viewing this topic.
4,812 views
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 4 July 2016
Last active: 7 years ago
Posts
45
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Mapper
I spent hours looking for how to make and did not find anything in the forum, so I decided to put the scripts used by "ZOMB1E-KLLR" so all credit goes to him

here the scripts

Create a .gsc file delete all and put this

Code Snippet
Plaintext
#include maps\_anim;
#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;

main()
{
 PrecacheShader("jumpscare1");
 
 thread jump_scare1();
}

jump_scare1()
{
 flag_wait("all_players_connected");
 jump1 = getEnt("scare_him_now", "targetname");
 
 jump1 waittill ("trigger", scare_him);
 scare_him thread make_jump_scare("jumpscare1");
 scare_him playsound ("jump1");
}

make_jump_scare(the_scare)
{
 jump_scare = the_scare;
 jump = create_simple_hud( self );
 jump.sort = 1;
 jump.foreground = true;
 jump.hidewheninmenu = false;
 jump.alignX = "center";
 jump.y = jump.y;
 jump.x = jump.x;
 jump.alignY = "center";
 jump.horzAlign = "center";
 jump.vertAlign = "center";
 jump.alpha = 1;
 wait .4;
 jump SetShader( jump_scare, 1000, 600 );
 
 wait .3;
 jump destroy_hud();
}

now go to your mapname.gsc and put this in FUNCTION CALLS - PRE _Load under the level thread DLC3_threadCalls();

Code Snippet
Plaintext
maps\_jump_scare::main();

now get a .csv soundaliases file delete all and put this
Code Snippet
Plaintext
name,file,platform,sequence,vol_min,vol_max,dist_min,dist_max,limit_count,limit_type,entity_limit_count,entity_limit_type,bus,volume_min_falloff_curve,volumefalloffcurve,reverb_send,dist_reverb_max,reverb_min_falloff_curve,reverb_falloff_curve,pitch_min,pitch_max,randomize_type,spatialized,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,chainaliasname,startdelay,speakermap,lfe percentage,center percentage,envelop_min,envelop_max,envelop percentage,occlusion_level,occlusion_wet_dry,real_delay,distance_lpf,move_type,move_time,min_priority,max_priority,min_priority_threshold,max_priority_threshold,,isbig
jump1,jump_scares\jump1.wav,,,1,1,,,,,,,music,,,0,,,,,,,2d,streamed,,,master,,,,,,,music_all,,,,,,,,,,,,100,100,0.25,1,,


Ok here's the codes for a jump scare script, now to learn how to put in your mod enter on video tutorial of ZOMB1E-KLLR

Last Edit: September 22, 2016, 02:01:25 am by Dust
broken avatar :(
×
broken avatar :(
The King of Zombies
Location: usLouisiana
Date Registered: 24 June 2013
Last active: 4 years ago
Posts
2,148
Respect
Forum Rank
King of the Zombies
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Signature
Donate to me if you enjoy my work. https://www.paypal.me/thezombiekilla6
×
Dust's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Dust's Contact & Social LinksMrZ0mbiesFanaticdust103194MrZ0mbiesFanatic
When you make tutorials make sure to put any code inside code boxes. The icon looks like this .

I did it for you this time, but just remember for next time
Last Edit: September 22, 2016, 02:03:39 am by Dust
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 4 July 2016
Last active: 7 years ago
Posts
45
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Mapper
When you make tutorials make sure to put any code inside code boxes. The icon looks like this (Image removed from quote.).

I did it for you this time, but just remember for next time
thanks :D
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 18 May 2023
Last active: 10 months ago
Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
MrNoLegs's Groups
MrNoLegs's Contact & Social Links
Question, does this work for Black Ops 3? If it does then what do I do on the second step? Because my mapname gsc does not have FUNCTION CALLS - PRE _Load under the level thread DLC3_threadCalls();

 
Loading ...