Author Topic: Custom weapons not showing in the box (Solved)  (Read 267 times)

0 Members and 1 Guest are viewing this topic.

Offline OwenC

  • - Original Poster (OP) -
  • Legless Crawler
  • Posts: 48
  • Country: gb
  • Respect: 8
    • OwenCroft1337
    • OwenCroftxD
    • OwenCroft27's Twitch Channel
    • OwenCroft98' Twitter Feed
    • OwenCroft's YouTube Channel
    • View Profile
    • Demon Scriptz
  • CoD: WaW: Owencroft

Custom weapons not showing in the box (Solved)

« on: January 10, 2018, 01: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
Code: [Select]
// Custom Weapons
add_zombie_weapon( "csgo_awp", &"ZOMBIE_WEAPON_COLT_50", 50, "vox_crappy", 8 );

and this to dlc3_code.gsc
Code: [Select]
// 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.

« Last Edit: January 11, 2018, 08:37:15 pm by OwenC »
[You are not allowed to view external links. Register or Login to see them]

Offline KhelMho

  • Mr. Elemental
  • Posts: 206
  • Country: 00
  • Respect: 43
    • @KhelMho' Twitter Feed
    • channel/UCAXSOcc7LQF2A4LT's YouTube Channel
    • View Profile

Re: Custom weapons not showing in the box

« Reply #1 on: January 10, 2018, 01:19:39 am »
everything is good. are you talking about the worldmodel?
make sure the weaponfile is correct in your mod.csv

Code: [Select]
// Custom Weapon
weapon,sp/csgo_awp
« Last Edit: January 10, 2018, 01:23:59 am by KhelMho »

Offline OwenC

  • - Original Poster (OP) -
  • Legless Crawler
  • Posts: 48
  • Country: gb
  • Respect: 8
    • OwenCroft1337
    • OwenCroftxD
    • OwenCroft27's Twitch Channel
    • OwenCroft98' Twitter Feed
    • OwenCroft's YouTube Channel
    • View Profile
    • Demon Scriptz
  • CoD: WaW: Owencroft

Re: Custom weapons not showing in the box

« Reply #2 on: January 10, 2018, 01: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

Offline KhelMho

  • Mr. Elemental
  • Posts: 206
  • Country: 00
  • Respect: 43
    • @KhelMho' Twitter Feed
    • channel/UCAXSOcc7LQF2A4LT's YouTube Channel
    • View Profile

Re: Custom weapons not showing in the box

« Reply #3 on: January 10, 2018, 01:26:18 am »
when you build the mod, is there some error?

Offline OwenC

  • - Original Poster (OP) -
  • Legless Crawler
  • Posts: 48
  • Country: gb
  • Respect: 8
    • OwenCroft1337
    • OwenCroftxD
    • OwenCroft27's Twitch Channel
    • OwenCroft98' Twitter Feed
    • OwenCroft's YouTube Channel
    • View Profile
    • Demon Scriptz
  • CoD: WaW: Owencroft

Re: Custom weapons not showing in the box

« Reply #4 on: January 10, 2018, 01:26:43 am »
No its all fine

Offline KhelMho

  • Mr. Elemental
  • Posts: 206
  • Country: 00
  • Respect: 43
    • @KhelMho' Twitter Feed
    • channel/UCAXSOcc7LQF2A4LT's YouTube Channel
    • View Profile

Re: Custom weapons not showing in the box

« Reply #5 on: January 10, 2018, 01:28:43 am »
strange  :poker:

Offline OwenC

  • - Original Poster (OP) -
  • Legless Crawler
  • Posts: 48
  • Country: gb
  • Respect: 8
    • OwenCroft1337
    • OwenCroftxD
    • OwenCroft27's Twitch Channel
    • OwenCroft98' Twitter Feed
    • OwenCroft's YouTube Channel
    • View Profile
    • Demon Scriptz
  • CoD: WaW: Owencroft

Re: Custom weapons not showing in the box

« Reply #6 on: January 10, 2018, 01:29:11 am »
IKR

Offline HitmanVere

  • Eviscerator
  • UGX V.I.P.
  • Posts: 3,935
  • Country: fi
  • Respect: 863
    • View Profile

Re: Custom weapons not showing in the box

« Reply #7 on: January 11, 2018, 02: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:
Code: [Select]
include_weapon( "xr2", true );

Offline tumama

  • Legless Crawler
  • Posts: 41
  • Country: cl
  • Respect: 5
    • View Profile

Re: Custom weapons not showing in the box

« Reply #8 on: January 11, 2018, 02: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.
« Last Edit: January 11, 2018, 03:01:23 pm by tumama »

Offline OwenC

  • - Original Poster (OP) -
  • Legless Crawler
  • Posts: 48
  • Country: gb
  • Respect: 8
    • OwenCroft1337
    • OwenCroftxD
    • OwenCroft27's Twitch Channel
    • OwenCroft98' Twitter Feed
    • OwenCroft's YouTube Channel
    • View Profile
    • Demon Scriptz
  • CoD: WaW: Owencroft

Re: Custom weapons not showing in the box

« Reply #9 on: January 11, 2018, 08:35:43 pm »
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.