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

[Script/TUT]Gun Game by Kills

broken avatar :(
Created 10 years ago
by DidUknowiPwn
0 Members and 1 Guest are viewing this topic.
3,784 views
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Here's a script/tutorial on how to make a modular gun game that counts by kills.
There are only 2 GSC's in the attachment and that's pretty much all you need. Everything is handled inside of them.
To initialize the gun game script we have to call the init from _zombiemode.gsc
Code Snippet
Plaintext
main(init_zombie_spawner_name)
{
----------
maps\_zombiemode_auto_turret::init();
//Load gametype here, can make it only work on a special condition using the if statement i.e. "scr_zom_gungame" or so.
maps\_zombiemode_gungame::init();
Also add level.zombies_spawn_this_round ->
Code Snippet
Plaintext
	level.zombies_spawn_this_round = max;
//
level.zombie_total = max;
to round_spawning()
That's all you need to start this gun game, everything is documented inside _zombiemode_gungame and well detailed. If there are any questions just ask.
Last Edit: September 18, 2014, 12:40:48 am by DidUknowiPwn
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
1 question, how would i create a menu like on ugx mod so the players can choose classic or gun game? Ive never tried to edit the menu or anything so not sure how to go about it
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
1 question, how would i create a menu like on ugx mod so the players can choose classic or gun game? Ive never tried to edit the menu or anything so not sure how to go about it
Easy, so wherever you want to set the option you'd use menu function: CHOICE_DVARYESNO_VIS().
So something like main.menu
Code Snippet
Plaintext
CHOICE_DVARYESNO_VIS(INTEGER FOR LINE NUM, "Gun Game: ", scr_zom_gun_game, ;, when( !dvarBool(ui_multiplayer) ); )
and inside the zombiemode call do if( getDvarInt("scr_zom_gun_game") == 1 )
Make sure to also define the var somewhere inside a config (preferably that's executed somewhere in main) and include that in the IWD.
Last Edit: September 17, 2014, 07:53:24 pm by DidUknowiPwn
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
×
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
Alright thanks! I will try that
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
awesome, I was only gonna add the current UGX mod due to this feature, now I know that is unnecesary youve saved me a headache ;)

 
Loading ...