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 guarantee certain randomized perk machine locations in mod?

broken avatar :(
Created 11 months ago
by bob456823
0 Members and 1 Guest are viewing this topic.
610 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 23 May 2023
Last active: 10 months ago
Posts
2
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
bob456823's Groups
bob456823's Contact & Social Links
How do you guarantee certain randomized perk machine locations using a mod?
 
e.g.
- On The Giant, Stamin-Up is always under snow pile instead of Deadshot
- On Moon, Juggernog always spawns first in Area 51 instead of Speed-Cola
- On Shi No Numa, Mule Kick always spawns in the Fishing Hut
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 5 December 2016
Last active: 4 days ago
Posts
59
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
×
John_Banana's Groups
John_Banana's Contact & Social LinksJohn_BananaYouTube Channel
Step 1: Find the 3 script files that complete each of these actions. At least in waw you had nazi_zombie_sumpf_perks for Shi No Numa
Step 2: There is probably a variable that is being set to = the name of the perk. Just hard code it to always equal the perk you want. For Shi No Numa, do something like (if name_of_hut_variable == "fishing_hut_whateverthenameis") perk == "mule_kick"
 
I don't know the names of any of these variables so if you can get the scripts that complete these actions then I can help further
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 23 May 2023
Last active: 10 months ago
Posts
2
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
bob456823's Groups
bob456823's Contact & Social Links
Thanks for the reply!
 
There are no "sumpf" files that are script files, but the only other files I found that might be relevent are '_zm_perk_random.gsc' and '_zm_perks.gsc'. The former seems to exclusively deals with the Wunderfizz, but the latter seems to deal with perk machine locations and randomized spawns.
 
I've been trying to print contents of things to find out what to change, but it seems to always throw an error or just not print, since I don't really know the structure of the objects whose content I'm trying to print.
 
So I'm pretty confused and stuck. I might just give up soon unless someone would know exactly what to change for this.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 5 December 2016
Last active: 4 days ago
Posts
59
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
×
John_Banana's Groups
John_Banana's Contact & Social LinksJohn_BananaYouTube Channel
Join the discord it will be easier and you can send the scripts you have. Perk random sounds like it will be it at least for Der Riese. There wont be shi no numa scripts in the mod tools because the bozos only give you The Giant assets if I remember correctly

 
Loading ...