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

Unknown item "weaponname"

broken avatar :(
Created 2 months ago
by JEmerald174
0 Members and 1 Guest are viewing this topic.
322 views
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 31 December 2018
Last active: 1 month ago
Posts
30
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
JEmerald174's Groups
JEmerald174's Contact & Social LinksWebsite
Sorry for the spam but does anyone know do i fix : Unknown item 'galil'
 
Everything i could possibly think of it's already written down in my csv, dlc3_code and _zombiemode_weapons.gsc for example:
 
weapon,sp\galil
weapon,sp\galil_upgraded
sound,ndu_galil,ndu_galil
 
add_zombie_weapon( "galil",                    &"GALIL",                         10,        "",    5 );
add_zombie_weapon( "galil_upgraded",                    &"GALIL",                         10,        "",    5 );
 
include_weapon( "galil" );
include_weapon( "galil_upgraded", false );
 
all the xmodel and everything exist in my root folder, this was literally just working a second ago and this error came up and i swear i never touch it, the only reason why this error would come up if you add a weapon with no weapon file, xmodel file etc. Can anybody help me?
 
and the weapon file are in where they supposed to be for example: root/raw/weapons/sp/weaponname
 
and mods/nazi_zombie_mapname/weapons/sp/weaponname
Last Edit: February 07, 2025, 07:56:01 pm by JEmerald174
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 4 weeks ago
Posts
669
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
Signature
My published cod maps:

Subzero
Djinncaves
Enclosed (a.k.a baconcube)
Bayern
Snowblind
Furtrelock

Black Ops Perks: https://www.ugx-mods.com/forum/scripts/55/call-of-duty-world-at-war-black-ops-perks/22180/
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksTeffrieGympie5#5971TheRevenantSkullTeffrie
The only thing I can think of is that your weapon file is not in the weapons folder in 'mods/MAPNAME/weapons/sp'?
broken avatar :(
×
broken avatar :(
Location: usUnited States
Date Registered: 31 December 2018
Last active: 1 month ago
Posts
30
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
JEmerald174's Groups
JEmerald174's Contact & Social LinksWebsite
Yea, the weapon file are in both the mods folder and the raw folder.📂
 
 
 
Edit: I fixed it just by getting rid of any code with "galil" in it
Last Edit: February 08, 2025, 02:41:10 am by JEmerald174
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 4 weeks ago
Posts
669
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
No code is bug free
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksTeffrieGympie5#5971TheRevenantSkullTeffrie
hmmm?
 
To add weapons to a mod these are the steps you need to do:
  • Is the weapon added to _zombiemode_weapons.gsc
  • Is the weapon added to _dlc3_code.gsc
  • Is the weapon added to the Call of Duty World at War\mods\MODNAME\weapons\sp folder
  • Is the weapon added to the modbuilder or mod.csv file?
  • Is everything related to this checked in the modbuilder?


 
Loading ...