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

How to add custom weapons to your map?

broken avatar :(
Created 10 years ago
by Promnigy
0 Members and 1 Guest are viewing this topic.
8,977 views
broken avatar :(
×
broken avatar :(
Location: usYour Closet
Date Registered: 3 December 2015
Last active: 8 years ago
Posts
19
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Personal Quote
[Insert Personal Text]
Signature
Don't look in your Closet because ... I might be in there ...
×
Promnigy's Groups
Promnigy's Contact & Social Links
I have my weapons and their files, but how do I get them to be in my map? Do I have to dump them in raw? Or do I have to make a file in my mod for them all? I have no clue. When ever I try to add them as a wall weapon or to be in the box they don't work so that's why I'm asking.
Marked as best answer by Promnigy 10 years ago
broken avatar :(
×
broken avatar :(
Location: usTexas
Date Registered: 12 September 2013
Last active: 1 month ago
Posts
304
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
I make maps for fun, they are mostly crap.
Signature
Maps:
Unterwegs
Hello Kitty Remastered
Firing Range
×
oshawat750's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
oshawat750's Contact & Social LinksOshaPooOshawat750Oshawat750
I have my weapons and their files, but how do I get them to be in my map? Do I have to dump them in raw? Or do I have to make a file in my mod for them all? I have no clue. When ever I try to add them as a wall weapon or to be in the box they don't work so that's why I'm asking.
1. First, drag images, materials, material_properties, xmodel, xmodelparts, xmodelsurfs, sound, and soundaliases (FX too if you have it) into raw. Put weapons and images inside your mod's folder.
2. Open up _zombiemode_weapons.gsc inside your mods/MAPNAME/maps. Scroll down (Or find "Full Auto" if you have the WaW weapons in there) until you find the list with the rest of the weapons. Copy and paste a line in there, and put your weapons name, from the weapons/sp folder, where the weapon name is. Example image:

3. Open up dlc_code.gsc in your mods/MAPNAME/maps. Search full auto again, or scroll down til you find the weapon names again. Copy and paste a line and change the weapon name with your weapon name.

4. Usually weapon packs have a, "Add To mod.csv", file, so if you have that, add whatever it says to your mod.csv, or add weapon,sp/WEAPON_NAME to the mod.csv if it didn't come with that file.

5. To see if it works in-game, type in console, "devmap MAPNAME", and once in-game, type in console: "give WEAPON_NAME". If it gives you it, it works, if it dosen't, the weapon prob dosen't work.

Hopefully that helps, I might record a video on this soon, so I might post it here if you still don't understand.  :D
broken avatar :(
×
broken avatar :(
Location: usYour Closet
Date Registered: 3 December 2015
Last active: 8 years ago
Posts
19
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Personal Quote
[Insert Personal Text]
×
Promnigy's Groups
Promnigy's Contact & Social Links
Thanks, now I can use my weapons against those flesh-eaters!  :D
Another problem if you don't mind...
My guns make no sound in-game and all sound in-game has a 1 Second delay now...  :-\
broken avatar :(
×
broken avatar :(
Location: usTexas
Date Registered: 12 September 2013
Last active: 1 month ago
Posts
304
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
I make maps for fun, they are mostly crap.
×
oshawat750's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
oshawat750's Contact & Social LinksOshaPooOshawat750Oshawat750
Thanks, now I can use my weapons against those flesh-eaters!  :D
Another problem if you don't mind...
My guns make no sound in-game and all sound in-game has a 1 Second delay now...  :-\
Did you check everything in the iwd list? If you did, that means the sounds are broken. Try different weapons.
broken avatar :(
×
broken avatar :(
Location: usYour Closet
Date Registered: 3 December 2015
Last active: 8 years ago
Posts
19
Respect
Forum Rank
Legless Crawler
Primary Group
Member
Personal Quote
[Insert Personal Text]
×
Promnigy's Groups
Promnigy's Contact & Social Links
Nah I found out what was going on. I had to add sound,WEAPON,,all_sp  for each weapon,
And had to add the weapon's sounds into my sound folder in my mod file.

But ever since I added these new weapons when ever I go to use the mystery box it doesn't replace weapons I have when I take from the box so I can just keep getting infinite weapons...  ???
Last Edit: July 06, 2016, 08:18:21 pm by HitmanVere
broken avatar :(
×
broken avatar :(
Location: usTexas
Date Registered: 12 September 2013
Last active: 1 month ago
Posts
304
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
I make maps for fun, they are mostly crap.
×
oshawat750's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
oshawat750's Contact & Social LinksOshaPooOshawat750Oshawat750
Nah I found out what was going on. I had to add sound,WEAPON,,all_sp  for each weapon,
And had to add the weapon's sounds into my sound folder in my mod file.

But ever since I added these new weapons when ever I go to use the mystery box it doesn't replace weapons I have when I take from the box so I can just keep getting infinite weapons...  ???
You are either giving yourself a weapon, or something is wrong with one of your scripts. I'm not sure about this one.

 
Loading ...