UGX-Mods

Call of Duty 5: World at War => Help Desk => Topic started by: OwenC on January 10, 2018, 10:09:09 am

Title: Custom weapons not showing in the box (Solved)
Post by: OwenC on January 10, 2018, 10:09:09 am
Anyone know what im doing wrong?

when i add a custom weapon it doesn't show up in the box

ive added this to _zombiemode_weapons.gsc
// Custom Weapons
add_zombie_weapon( "csgo_awp", &"ZOMBIE_WEAPON_COLT_50", 50, "vox_crappy", 8 );

and this to dlc3_code.gsc
// Custom Weapons
include_weapon( "csgo_awp" );
include_weapon( "csgo_awp_upgraded", false );

Ive also added all the needed files to my mod folder
Images, sounds, and the weapons.

Title: Re: Custom weapons not showing in the box
Post by: KhelMho on January 10, 2018, 10:19:39 am
everything is good. are you talking about the worldmodel?
make sure the weaponfile is correct in your mod.csv

// Custom Weapon
weapon,sp/csgo_awp
Title: Re: Custom weapons not showing in the box
Post by: OwenC on January 10, 2018, 10:21:37 am
its just not showing in the box for some reason, i can give my self it via the console :/

its doing this with all the weapons i add i have no idea why
Title: Re: Custom weapons not showing in the box
Post by: KhelMho on January 10, 2018, 10:26:18 am
when you build the mod, is there some error?
Title: Re: Custom weapons not showing in the box
Post by: OwenC on January 10, 2018, 10:26:43 am
No its all fine
Title: Re: Custom weapons not showing in the box
Post by: KhelMho on January 10, 2018, 10:28:43 am
strange  :poker:
Title: Re: Custom weapons not showing in the box
Post by: OwenC on January 10, 2018, 10:29:11 am
IKR
Title: Re: Custom weapons not showing in the box
Post by: HitmanVere on January 11, 2018, 11:24:27 pm
Try adding true in dlc3_code.gsc for non-upgraded, I somewhat remember that being issue at least for me back in WaW when I made maps there. Like this:
include_weapon( "xr2", true );
Title: Re: Custom weapons not showing in the box
Post by: DeletedUser on January 11, 2018, 11:55:41 pm
Sounds really stupid but, do you added the dlc3_code.gsc and _zombiemode_weapons.gsc to your mod and also selected them? To add a weapon you have to go to init_weapons and include_weapons in _zombiemode_weapons.gsc and dlc3_code.gsc respectively. Now if you have already did that, and the weapon doesn't show in game, maybe in the weapon file the viewmodel it is not asigned, even maybe the viewmodel does not exist. The folder where the weapons are installed is weapons/sp, also ensure that you have your weapon in the mod.csv. Also maybe you have to remove some weapons to make that weapon appear into the box.
Title: Re: Custom weapons not showing in the box
Post by: OwenC on January 12, 2018, 05:35:43 am
I fixed the issue. I was using UGX 2.0.1 beta script placer but i tried script placer z and it fixed all the issues i had.