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

[Script] treminaor's bank system version 2.0

broken avatar :(
Created 13 years ago
by treminaor
0 Members and 1 Guest are viewing this topic.
28,399 views
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 8 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
I'm proud to announce the release of version 2 of my bank system! It has been completely rewritten from the ground up, and a few new features have been added. More importantly, while the old trem_bank was 500 lines long and poorly coded, this new version is only 144 lines long!


Menu Styles:
Mouse (left) and Keyboard (right)



Treminaor's Bank, version 2.0 README

Credits: [UGX] treminaor, http://ugx-mods.com
Contact:
   Xfire: treminaor
   Email: [email protected]
   YouTube: treminaor

VIDEO TUTORIAL:  http://www.youtube.com/watch?v=7XnS1ByYM-Y&hd=1

INSTALLATION INSTRUCTIONS:
   1) Copy these files to the following locations:
      trem_bank_2.gsc       -> C:\Program Files (x86)\Activision\Call of Duty - World at War\mods\MAPNAME\maps
      trem_bank_mouse.menu       -> C:\Program Files (x86)\Activision\Call of Duty - World at War\raw\ui\scriptmenus
      trem_bank_keyboard       -> C:\Program Files (x86)\Activision\Call of Duty - World at War\raw\ui\scriptmenus
      images/trem_bank_bg.iwi      -> C:\Program Files (x86)\Activision\Call of Duty - World at War\mods\MAPNAME\images
      materials/trem_bank_bg      -> C:\Program Files (x86)\Activision\Call of Duty - World at War\raw\materials\

   2) Open C:\Program Files (x86)\Activision\Call of Duty - World at War\raw\maps\nazi_zombie_MAPNAME.gsc
      Find this text:
         
Code Snippet
cpp
maps\_zombiemode::main();
         
      then add this right below it on the next line:
         
Code Snippet
cpp
level thread maps\trem_bank_2::bank();
         
      And finally, add these two lines right above maps\_zombiemode::main():
         
Code Snippet
cpp
precacheMenu("trem_bank_mouse");
precacheMenu("trem_bank_keyboard");
         
      When you are finished, it should look like:
         
Code Snippet
cpp
precacheMenu("trem_bank_mouse");
precacheMenu("trem_bank_keyboard");
maps\_zombiemode::main();
level thread maps\trem_bank_2::bank();

      
   3) Open C:\Program Files (x86)\Activision\Call of Duty - World at War\zone_source\nazi_zombie_MAPNAME.csv
         Add these lines to the TOP of the file:
            
Code Snippet
Plaintext
menufile,ui/scriptmenus/trem_bank_mouse.menu
menufile,ui/scriptmenus/trem_bank_keyboard.menu
material,trem_bank_bg

   4) Open your map in Radiant.
      a) Draw a brush box. With it still selected, right click it and go to "use -> trigger_use". With it still selected, press N on your keyboard. Give it the targetname of "trem_bank_trig" (without quotes). You can have more than one bank location. so make as many as you like.
   5) Final Step: Open Launcher.
      a) Compile your Map
      b) (If you have one, compile your mapname_patch - otherwise ignore this step)
      c) Go to the Mod Builder tab and select your mapname from the dropdown list. In the box on the right, scroll through it and make sure the following files have the boxes next to them CHECKMARKED:
         images/trem_bank_bg.iwi
         maps/trem_bank_2.gsc
         materials/trem_bank_bg
      d) Now check the "Build mod.ff Fastfile" and "Build IWD File" boxes, then press the "Build MOD" button.
      
      You're done!

Last Edit: July 18, 2011, 03:06:12 am by treminaor
broken avatar :(
×
broken avatar :(
Location: au
Date Registered: 21 February 2013
Last active: 3 years ago
Posts
26
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
flukey.lukey's Groups
flukey.lukey's Contact & Social Links
Hi,
When launching the map after launching the mod. My cod crashes and it says

"ERROR: image 'images/trem_bank_bg.iwi' is missing


Couldn't load image 'trem_bank_bg'"
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.
is that image checked in your IWD list?
broken avatar :(
×
broken avatar :(
Location: au
Date Registered: 21 February 2013
Last active: 3 years ago
Posts
26
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
flukey.lukey's Groups
flukey.lukey's Contact & Social Links
YES!!!
I finally fixed it!!
After looking at the iwd in my root/mods/mod_name folder and comparing it to the one in users/user/activision/codwaw/mods folder I noticed that the iwd was an old version.

It had not been replaced due to it being open in an instance of codwaw. DERP!!
Last Edit: February 23, 2013, 02:53:02 am by flukey.lukey
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 8 months ago
Posts
5,551
Respect
6,691Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
It had not been replaced due to it being open in an instance of codwaw. DERP!!
Yeah that drove me crazy before I figured out why it happened lol... usually it was because CoDWaW hadn't exited properly.

 
Loading ...