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

[User Tutorial] How to set up a Pandora's Box system in a 1.4 map

broken avatar :(
Created 13 years ago
by Rampage_619
0 Members and 1 Guest are viewing this topic.
9,291 views
broken avatar :(
×
broken avatar :(
Date Registered: 15 August 2011
Last active: 8 years ago
Posts
6
Respect
Forum Rank
Legless Crawler
Primary Group
Community Scripter
My Groups
More
×
Rampage_619's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Rampage_619's Contact & Social Links
I was looking for a tut found couple didnt work for me so i made one that wokred for me.

the following steps worked for me you can try it if your box isn't moving and keep re-spawning in the same spot

Lets get started

Radiant Setup

Open up radiant and place the chests as according from start_chest being the starting box and so on untill chest 6,
 you will notice chest 5 is missing, dont worry about the chest 5
YOU CAN DOWNLOAD THE PREFABS FROM THE END OF THIS POST

[info]Make sure you add all the Chests[/info]

Scripting

for most people the gsc is not fixed to make the box move.

open your MAP_Name_HERE.gsc and find the box code which looks like this

Code Snippet
Plaintext
// Magic Boxes -- The Script_Noteworthy Value Names On Purchase Trigger In Radiant
boxArray = [];
boxArray[ boxArray.size ] = "start_chest";
boxArray[ boxArray.size ] = "chest1";
boxArray[ boxArray.size ] = "chest2";
boxArray[ boxArray.size ] = "chest3";
boxArray[ boxArray.size ] = "chest4";
level.DLC3.PandoraBoxes = boxArray;

add this line to the code
Code Snippet
Plaintext
BoxArray[ boxArray.size] = "chest5";

so the code will look like this
Code Snippet
Plaintext
// Magic Boxes -- The Script_Noteworthy Value Names On Purchase Trigger In Radiant
boxArray = [];
boxArray[ boxArray.size ] = "start_chest";
boxArray[ boxArray.size ] = "chest1";
boxArray[ boxArray.size ] = "chest2";
boxArray[ boxArray.size ] = "chest3";
boxArray[ boxArray.size ] = "chest4";
boxArray[ boxArray.size ] = "chest5";
level.DLC3.PandoraBoxes = boxArray;

now you are all setup save the file and save your map.
[okay]Run around looking for the box before you run out of ammo![/okay]

Credits:
Rampage_619

broken avatar :(
×
broken avatar :(
Location: gbmiddlesbrough
Date Registered: 6 September 2013
Last active: 10 years ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
scripting looks fun
Signature
-
×
zombieboss's Groups
zombieboss's Contact & Social Linkshussainy1hussainy1www.youtube.com/user/incryoutube
hi, i havent seen pandora box before so please could you post a picture of it so know what it exactly looks like
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 5 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
Signature

(Click to enter portfolio)
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
hi, i havent seen pandora box before so please could you post a picture of it so know what it exactly looks like
It's the mystery box.
broken avatar :(
×
broken avatar :(
Location: gbmiddlesbrough
Date Registered: 6 September 2013
Last active: 10 years ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
scripting looks fun
×
zombieboss's Groups
zombieboss's Contact & Social Linkshussainy1hussainy1www.youtube.com/user/incryoutube
Does it look exactly same as mystery box ?
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 5 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Does it look exactly same as mystery box ?
IT IS the mystery box.
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
Does it look exactly same as mystery box ?

Pandoras box is the exact look and feel as the regular box, the only thing thats different is the pandoras box has multiple box locations
broken avatar :(
×
broken avatar :(
The Voice in your Eyes
Location: deBavaria
Date Registered: 26 June 2013
Last active: 2 years ago
Posts
830
Respect
Forum Rank
The Decider
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Breton boys do what Breton boys do.
×
Alerion's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
I used the one included in the Sniperbolt tutorial prefabs and it worked just fine even though I didn't add all of them.

 
Loading ...