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

Delay Round 1 Start Till Partiular Door Opened

broken avatar :(
Created 10 years ago
by CraftDAnimations
0 Members and 1 Guest are viewing this topic.
2,411 views
broken avatar :(
×
broken avatar :(
Location: gbUnited Kingdom
Date Registered: 28 December 2014
Last active: 6 years ago
Posts
45
Respect
Forum Rank
Legless Crawler
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Signature
Be sure to follow me on Twitter:
https://twitter.com/CraftDAnimation
×
CraftDAnimations's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
I am in the process of creating a map and was wondering if / how I could get it so Round 1 would not start till I opened a certain door.
broken avatar :(
×
broken avatar :(
The King of Zombies
Location: usLouisiana
Date Registered: 24 June 2013
Last active: 6 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 Linksdust103194MrZ0mbiesFanaticMrZ0mbiesFanatic
Open up _zombiemode.gsc and find

Code Snippet
Plaintext
round_start()
{

underneath the { paste

Code Snippet
Plaintext
level waittill("start_round");

now open up your mapname.gsc under
Code Snippet
Plaintext
maps\_zombiemode::main();

paste
Code Snippet
Plaintext
thread round_door();

at the bottom paste this.

Code Snippet
Plaintext
round_door()
{
round_door = getent("CHANGE THIS TO NAME OF MODEL","targetname");
round_door_trig = getent("CHANGE THIS TO NAME OF TRIG","targetname");
round_door_trig SetCursorHint("HINT_NOICON");
round_door_trig SetHintString("Press &&1 to Start Round 1");
round_door_trig waittill("trigger");
round_door delete();
round_door_trig delete();
level notify("start_round");
}

in Radiant. Add a model(door or whatever) and make sure it is a script_model. Where you see "Change this to name of model" in script. Change that to whatever you want the model to be called. Make sure it matches up in Radiant.

Do the same thing for the trigger use

This is the basics of it. If you want it to make a sound or cost points. then let me know and I will edit it
broken avatar :(
×
broken avatar :(
Location: gbUnited Kingdom
Date Registered: 28 December 2014
Last active: 6 years ago
Posts
45
Respect
Forum Rank
Legless Crawler
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
×
CraftDAnimations's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
Will give it a shot now.  I dont think a cost is needed as in theory they would only have their starting points and I was thinking of setting that to ZERO anyway.  Big thanks for the help.
broken avatar :(
×
broken avatar :(
The King of Zombies
Location: usLouisiana
Date Registered: 24 June 2013
Last active: 6 years ago
Posts
2,148
Respect
Forum Rank
King of the Zombies
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
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 Linksdust103194MrZ0mbiesFanaticMrZ0mbiesFanatic
Will give it a shot now.  I dont think a cost is needed as in theory they would only have their starting points and I was thinking of setting that to ZERO anyway.  Big thanks for the help.

oh. Lol, didnt even think of that.

 
Loading ...