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

Box Won't Move

broken avatar :(
Created 8 years ago
by Sounder1995
0 Members and 1 Guest are viewing this topic.
4,680 views
broken avatar :(
×
broken avatar :(
Location: usPennyslvania, United States
Date Registered: 25 October 2015
Last active: 7 years ago
Posts
63
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Just a gamer and modding novice...
Signature
"All life's a Transformers movie; no one knows what's going on. " - Sounder 2015
A few months ago, I tested whether my mystery box moved properly, and it did. Now it no longer does. I get the teddy bear. Samantha laughs. The box temporarily disappears. It then reappears at its original location, thus not moving at all.

Unfortunately, I did not notice this error until now, so I do not really know where the bug is. I have already replaced _zombiemode_weapons.gsc, my_nazi_zombie_map_name.gsc, and dlc3.gsc each individually with the stock files from raw/maps. None of them did anything. If this is at all helpful and/or relevant information, I am using Harry Bo21's perks (version 4.0.1) and SniperBolt's prefabs for the box.

If anyone knows where the bug may lie, please let me know. Otherwise, I will hopefully be releasing my map in beta soon, and maybe it'll easier then to find the bug?
broken avatar :(
×
broken avatar :(
Location: gbNewport
Date Registered: 2 November 2014
Last active: 2 years ago
Posts
1,265
Respect
Forum Rank
Zombie Colossus
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Embrace the Darkness
×
Tim Smith's Groups
Tim Smith's Contact & Social Linkstimsmith90THEREALBaDBoY17TimSmithMy clan Website
Are you putting other box prefabs ?

Double Post Merge: May 19, 2016, 05:17:02 am
Actually go to your mapname.gsc and search for
Code Snippet
Plaintext
level.DLC3.useChestMoves
and set it to true.
Last Edit: May 19, 2016, 05:17:02 am by Tim Smith
Marked as best answer by Sounder1995 8 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 8 January 2014
Last active: 6 years ago
Posts
840
Respect
Forum Rank
The Decider
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Embers are the new lens flares
×
chromastone10's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
chromastone10's Contact & Social Linkschromastone10chromastone1chromastone10
have this issue with every new map, its with zombiemode weapons, you gotta find any "nazi_zombie_factory" spots and copy that and add your mapname like "nazi_zombie_MAPNAME"

only add it in places that have the 2 lines like this "||"

heres an example from my code

Code Snippet
Plaintext
|| level.script == "nazi_zombie_factory" || level.script == "nazi_zombie_coalmine")
broken avatar :(
×
broken avatar :(
Location: gbNewport
Date Registered: 2 November 2014
Last active: 2 years ago
Posts
1,265
Respect
Forum Rank
Zombie Colossus
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Embrace the Darkness
×
Tim Smith's Groups
Tim Smith's Contact & Social Linkstimsmith90THEREALBaDBoY17TimSmithMy clan Website
No need chroma, the dvar that make the chest moveable is only called once in zombiemode_weapons.gsc.
Go to line 1416, change the nazi_zombie_prototype to your mapname. Build mod.
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
It's a variable not a dvar and chroma is right...
broken avatar :(
×
broken avatar :(
Location: gbNewport
Date Registered: 2 November 2014
Last active: 2 years ago
Posts
1,265
Respect
Forum Rank
Zombie Colossus
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Embrace the Darkness
×
Tim Smith's Groups
Tim Smith's Contact & Social Linkstimsmith90THEREALBaDBoY17TimSmithMy clan Website
I'm not a scripter but i'm pretty sure the script says : getdvar...
broken avatar :(
×
broken avatar :(
Location: esMadrid
Date Registered: 27 March 2015
Last active: 3 years ago
Posts
371
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
JIGGLYPUFF used SING! YOU fell asleep!
Signature
×
Soy-Yo's Groups
Soy-Yo's Contact & Social LinksSoy-yoElCerdoRey
No need chroma, the dvar that make the chest moveable is only called once in zombiemode_weapons.gsc.
Go to line 1416, change the nazi_zombie_prototype to your mapname. Build mod.
I'm not a scripter but i'm pretty sure the script says : getdvar...
That dvar has no use. It's set to "1" in zombiemode in case it was "", but it isn't used nor set anywhere else.
Also, if he does what you say, it will do just the opposite: he won't even get the teddy because that line checks if the map is not "nazi_zombie_prototype":
Code Snippet
Plaintext
if(level.script != "nazi_zombie_prototype" && getdvar("magic_chest_movable") == "1")

I had this problem some time ago, and what chroma says fixed it. And I redirected to my post some other people that had this same issue and it fixed for them too.
broken avatar :(
×
broken avatar :(
Location: usPennyslvania, United States
Date Registered: 25 October 2015
Last active: 7 years ago
Posts
63
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Just a gamer and modding novice...
have this issue with every new map, its with zombiemode weapons, you gotta find any "nazi_zombie_factory" spots and copy that and add your mapname like "nazi_zombie_MAPNAME"

only add it in places that have the 2 lines like this "||"

heres an example from my code

Code Snippet
Plaintext
|| level.script == "nazi_zombie_factory" || level.script == "nazi_zombie_coalmine")

Chroma, you are a genius. Thanks!

By the way, I remember the "Exo Zombies" custom zombies map that you made in 2014 (holy crap; time flies!) where you trolled Hypermole super hard. Let's just say that a feature from that map inspired me to add a (what I think is) very interesting addition to my upcoming map...  ;)
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 8 January 2014
Last active: 6 years ago
Posts
840
Respect
Forum Rank
The Decider
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Embers are the new lens flares
×
chromastone10's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
chromastone10's Contact & Social Linkschromastone10chromastone1chromastone10
no prob man, glad I could help

 
Loading ...