UGX-Mods

Call of Duty 5: World at War => Work-In-Progress => Custom Maps, Mods & Tools => Mods => Topic started by: aster-99 on April 23, 2014, 07:38:53 pm

Title: help with tom-bmx melee weapons!
Post by: aster-99 on April 23, 2014, 07:38:53 pm
i can't install them, they didn't work. can someone help me ???? :'(
Title: Re: help with tom-bmx melee weapons!
Post by: pashan on April 23, 2014, 08:32:57 pm
You have to add the weapons in dlc3_code and _zombiemode_weapons

also this post is in the wrong section
Title: Re: help with tom-bmx melee weapons!
Post by: aster-99 on April 23, 2014, 09:02:02 pm
sorry, but i've never used a lot forums  :P. however i've added them, but it doesn't work.  i think the dlc3_code won't be used by the mod, because it have scripted the non-ugx weapons.
also, pardon my bad english... i'm italian and i can't speak it very well

Title: Re: help with tom-bmx melee weapons!
Post by: xJimmy33 on April 23, 2014, 10:34:54 pm
more infos would be helpful..

do you include the weapon in mapname.csv or mod.csv?
Code Snippet
Plaintext
weapon,sp/weapon-file-name

also put the weapon-file in modname/weapons/sp?
if you have a DLC3_Weapons.iwd, you must put the weapon-file in this. (open with 7zip or winrar or something like this)

Title: Re: help with tom-bmx melee weapons!
Post by: aster-99 on April 24, 2014, 08:15:53 am
today i'll retry to install them. by the way, i haven't use the dlc3_weapons.iwd but i've included the weapons in the csv. but i've a question: in the dlc3_code.gsc are included the non-ugx weapons. so it isn't used by the ugx because in the mod i haven't the standard weapons. are you sure to use that file???
i used a non-ugx tutorial for install them:
1 goto root/mods/mapname/map/zombiemode_weapons.gsc and i added the weapons in the init_weapons() bit
this is mine
// toms
                                           
   
         add_zombie_weapon( "tom_axe",                      &"tom_axe_1200",             1200,   "vox_crappy",      9 );
          add_zombie_weapon( "tom_katana",                      &"tom_katana_1200",             1200,   "vox_crappy",      9 );
          add_zombie_weapon( "tom_shovel",                      &"tom_shovel_1200",             1200,   "vox_crappy",      9 );
             
2 goto root\mods\mapname\map\dlc3_code.gsc and i added them here in the include_weapons() bit
this is mine
// toms
   include_weapon( "tom_axe", true );
        include_weapon( "tom_katana", true );
        include_weapon( "tom_shovel", true );
3 put the weapon files in the weapon folder into root/mods/mapname/weapons/sp
4 put the images in the images folder in root/mods/mapname/images
5 open radiant goto mod builder and tick the files in the iwi list
6 still in mod builder goto fast file mod.csv and put this in
weapon,sp\tom_axe
weapon,sp\tom_shovel
weapon,sp\tom_katana
7 open map and make a normal trigger for buying a gun give it these kvps
targetname                                         weapon_upgrade
zombie_weapon_upgrade                   tom_axe
classname                                          trigger_use
8 build mod and complie as normal
they will now be in the mystery box and can be brought where you put the trigger

Post Merge: April 24, 2014, 09:18:29 am
ok, now using the command give tom_axe i can get the weapons, but i don't find them in the mistery box... but in the _zombiemode_weapons i've allowed them!

Post Merge: April 24, 2014, 12:56:21 pm
woops! my bad, i've written in wrong section of _zombiemode_weapon.
but there is still a problem. if i use electric cherry with them, shockcharges will spread continuosly. can someone tell me how to fix it??