UGX-Mods

Call of Duty 5: World at War => Downloadable Items for Mappers => Custom Maps, Mods & Tools => Scripts => Topic started by: scriptz on May 21, 2015, 12:28:44 am

Title: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: scriptz on May 21, 2015, 12:28:44 am
- BOBBY Z's BUILDABLES -
- Mystery Box -

VIDEO:

http://www.youtube.com/watch?v=rL9lenmwBeg (http://www.youtube.com/watch?v=rL9lenmwBeg)

DOWNLOAD:

www.mediafire.com

INSTRUCTIONS:

- First off go to the directory you extracted the files to (the files included in .rar download) 
  and open the mods folder then rename the folder "nazi_zombie_MAPNAME" to match your map name.

- Then go back to the directory containing your extracted files
  and copy all the folders then paste in your COD:WAW root folder.

- NOTE: When copying you will be asked to replace sniperbolts begin chest prefab , select yes.
        it has been adjusted for buildable.

- Then go to your maps folder (located in codwaw-root/mods/)
  and open the mod.csv and add the following at the bottom,
  then close & save :

material,buildable_mystery_box_bandr_shader
material,buildable_mystery_box_base_shader
material,buildable_mystery_box_lid_shader
sound,byzmodz_custom_sounds,,all_mp
sound,byzmodz_custom_vox,,all_mp

- NOTE: If you've already used another one of my buildables you will already have those 2 sound lines
        in your mod.csv, you dont need them in there twice ;)

- Now open the maps folder in your maps folder, and open "nazi_zombie_MAPNAME.gsc"
  (NOTE: Your maps name would be in place of MAPNAME lol) then find this :

   /*--------------------
    FUNCTION CALLS - PRE _Load
   ----------------------*/
   level thread DLC3_threadCalls();

- Now add this under it :

   maps\byzmodz_buildable_mystery_box::main();

- So it looks like this :

   /*--------------------
    FUNCTION CALLS - PRE _Load
   ----------------------*/
   level thread DLC3_threadCalls();
   maps\byzmodz_buildable_mystery_box::main();

- Then close & save.

- Now open your map in radiant and add prefabs, placement goes as follows :
-----------------------------------------------------------------------------------------------------------------------------
- buildable_mbox_base_part.map = This is the prefab of the mystery boxes base player picks up, place it where you want player to pick it up.

- buildable_mbox_lid_part.map = This is the prefab of the mystery boxes lid player picks up, place it where you want player to pick it up.

- buildable_mbox_bandr_part.map = This is the prefab of the mystery boxes bear and rubble player picks up, place it where you want player to pick it up.

- sniperbolt's begin chest prefab (customized) = This is the prefab of sniperbolts begin chest when you copied files, if you followed my instructions you replaced the old prefab with my updated prefab
                                                 which means if you have mystery box in your map already (which you should lol :P) it has already added to your map :D therefore it has already been placed where you want it

- buildable_mbox_work_bench_build_trigs.map = This is the prefab of the work bench & build triggers, where player builds parts, place it where you want player to build the parts.( I would recommend near built mystery box)
-----------------------------------------------------------------------------------------------------------------------------
- After you've added these prefabs close radiant saving your changes.

- Once back at Launcher select "Mod Builder" tab, then select your map, and then select newly added files in the list and build your mod, with "Build mod.ff Fastfile" & "Build IWD File" both selected.

- Then Finally select "Compile Level" tab, then select your map  and compile as you normally would.

Final Notes:

- Feel free to customize what ever you want if you want.

- Be sure to give me credit :P also be sure to give don goony credit for his knuckle crack and hack functions.
  as well credit to sniperbolt for his mystery boxes

- If you have any troubles with it, or even just need help customizing it, just add me to steam (bobby_z_begin)
  and ill be glad to help.
 (also if you add me i always share stuff early with people on my steam friends list for testing purposes etc)

BYZMODZ
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: Eternal_Fire on May 21, 2015, 03:14:00 am
Wow this is really impressive, definitely using in my map :D loving your scripts so far.
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: scriptz on May 23, 2015, 06:28:54 am
thank you :) enjoy :P satchel charge buildable with 4 randomized possible part locations , and after that ill be sharing my buildable script for adding songs to ugx jukebox along with 2 more of my perk machines (i have a total of 8 custom perk machines i made , paranormal potion is 1 of 8 i plan to release, one of my favorites is maipul-aid elixir :D it allows player to have double the amount of perks (amount can be adjusted to w.e i just chose double ) lol manipul-aid "Its Manipulation in a Bottle" :P) add me on steam to get stuff early


bobby_z_begin
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: Sidzzz on May 23, 2015, 03:11:31 pm
Thanks for the awesome script :) It works well and the sounds are awesome! But in the video, when you pickup a part, an icon on the HUD appears, but when I tried it, no icon appears...
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: josemassacre on May 23, 2015, 04:46:10 pm
Good job scriptz just one question with this build able will you only be able to have one box location? Or would it be able to move still?
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: fiveseven hd on May 23, 2015, 10:10:29 pm
whats your steam i typed (bobby_z_begin) and it didnt show anyones profile.
FiveSeven
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: josemassacre on May 24, 2015, 02:49:36 am
whats your steam i typed (bobby_z_begin) and it didnt show anyones profile.
FiveSeven
His name on Skype is
b0bby_z_b3g1n so you could try that on steam and see if it pops up then
Title: Re: (BYZMODZ) Bobby Z\'s Buildables - Mystery Box Buildable
Post by: scriptz on May 25, 2015, 06:54:45 pm
you can still have all locations , box still moves with fx and sounds n everything :D , i tried to show you in video it moving but i died b4 i could lol :P as for hud icon if its not coming up for you double check you've added it to mod.csv , if you still cant get it working add me to steam bobby_z_begin and ill guide you through the implementation process and get it working for ya

 

Double Post Merge: May 25, 2015, 06:55:32 pm
ignore brackets on name so just

bobby_z_begin


sorry i probably should of been more specific :D
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: Numan on August 04, 2015, 05:19:58 pm
http://prntscr.com/80siwq (http://prntscr.com/80siwq) when i try to launch my map. Any idea?
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: papabir on December 24, 2015, 05:52:05 pm
I got everything working fine but when the box is built and I hit it I dont see any weapons and cant get any weapons
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: Exofile on February 08, 2016, 07:59:38 am
I got everything working fine but when the box is built and I hit it I dont see any weapons and cant get any weapons

Are you using stock weaponry from WaW, or custom guns? Are your guns even loaded ingame?
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: LingerCustomMap on August 24, 2016, 02:19:35 am
Hello, i got an error after compiling the map: script runtime error undefined is not an object i just start creating custom map zombie and i was searching if possible to make a mystery box buildable and i found this tutorial i followed step by step and when i compile i got this error . "i'm new on this :( dont laugh"
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: microgamer10 on April 26, 2017, 09:11:07 pm
Please help! when I try to start the map, i get this error:
******* script runtime error *******
undefined is not an array, string, or vector: (file 'common_scripts/utility.gsc', line 463)
 while( !level.flag[ msg ] )

Does anyone know how to fix this?
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: minecraftexpert2 on September 24, 2017, 10:11:28 pm
this script isnt really the greatest it doesnt work....
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: osmightymanos on September 27, 2017, 06:48:14 pm
this script isnt really the greatest it doesnt work....
stfu it's perfect xx
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: yinxo 16 on February 10, 2021, 09:12:03 pm
im getting this error
******* script runtime error *******
undefined is not an array, string, or vector: (file 'common_scripts/utility.gsc', line 463)
 while( !level.flag )
               *
Error: called from:
(file 'maps/byzmodz_buildable_mystery_box.gsc', line 45)
 flag_wait("all_players_connected");
 *
Error: called from:
(file 'maps/byzmodz_buildable_mystery_box.gsc', line 38)
 thread lets_build();
        *
Error: called from:
(file 'maps/nazi_zombie_time.gsc', line 113)
 maps\byzmodz_buildable_mystery_box::main();
 *
Error: started from:
(file 'maps/nazi_zombie_time.gsc', line 10)
main()
*

how to fix it? (KVPs are fine)
Title: Re: (BYZMODZ) Bobby Z's Buildables - Mystery Box Buildable
Post by: mcoj5957 on August 10, 2021, 05:08:03 pm
im getting this error
******* script runtime error *******
undefined is not an array, string, or vector: (file 'common_scripts/utility.gsc', line 463)
 while( !level.flag )
               *
Error: called from:
(file 'maps/byzmodz_buildable_mystery_box.gsc', line 45)
 flag_wait("all_players_connected");
 *
Error: called from:
(file 'maps/byzmodz_buildable_mystery_box.gsc', line 38)
 thread lets_build();
        *
Error: called from:
(file 'maps/nazi_zombie_time.gsc', line 113)
 maps\byzmodz_buildable_mystery_box::main();
 *
Error: started from:
(file 'maps/nazi_zombie_time.gsc', line 10)
main()
*

how to fix it? (KVPs are fine)
I have the same problem when i add new options on my map can you help me please ?