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 does game modes in custom maps work?

broken avatar :(
Created 12 years ago
by Ege115
0 Members and 1 Guest are viewing this topic.
1,826 views
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 30 July 2013
Last active: 2 years ago
Posts
517
Respect
Forum Rank
Zombie Enslaver
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Ege115's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Ege115's Contact & Social LinksEge115
Alright so I was wondering how it actually works when you make game modes for custom maps. I know it involves waw menu scripting but I have a few questions.

How do I make so the game checks which game mode I choose? I mean doesn't it somehow have to detect which mode I am navigating to and changes the scripts I have for that game mode? How would I do that?

And which menu file in waw will I have to edit and how would I script a mode the way so the menu detects which mode I choose?

Thanks in advance.
broken avatar :(
  • n123q45
  • Deleted Member
×
broken avatar :(
n123q45
This user is deleted :(
the game mode can be done in a couple ways, the first way: make a level.variable for every game mode and then make a case/if statement to check if that variable is true/false ( you can also use 0/1 ).
way 2: just make the options ingame and have the game mode threaded to the script.
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 30 July 2013
Last active: 2 years ago
Posts
517
Respect
Forum Rank
Zombie Enslaver
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
×
Ege115's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Ege115's Contact & Social LinksEge115
the game mode can be done in a couple ways, the first way: make a level.variable for every game mode and then make a case/if statement to check if that variable is true/false ( you can also use 0/1 ).
way 2: just make the options ingame and have the game mode threaded to the script.
That is exactly what I also thought?^^

But I mean like, what exactly do I have to do in the menu file so you will be able to select game mode? The menu file has to be kinda linked to the .gsc that will check if the player is choosing the whatever game mode, right?
broken avatar :(
  • n123q45
  • Deleted Member
×
broken avatar :(
n123q45
This user is deleted :(
most people set the options in the menufile to set a dvar or something. thats how zombies works at least

 
Loading ...