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

Need help for adding weapons (and a tutorial for BO1 perks please)

broken avatar :(
Created 6 years ago
by Alphayt
0 Members and 1 Guest are viewing this topic.
2,376 views
broken avatar :(
×
broken avatar :(
Location: frLille
Date Registered: 14 August 2015
Last active: 6 years ago
Posts
11
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Alphayt's Groups
Alphayt's Contact & Social Links
Hello, i try to add weapons on my map but it never work...

This is how i proceed to add the AK47 of the pack called "MW1 GUNZ for all":


- Put images, sound and weapons folders in my map folder

- Put images, material_properties, materials, sound, xanim, xmodel, xmodelparts, xmodelsurfs folders in Raw folder

- Adding weapon,sp\ak47 and sound,mw1_guns,,all_mp to mod.csv (for exemple)

- Adding    add_zombie_weapon( "ak47",                &"Pres & Hold F to buy AK47",             1000,   "",            0 );       to the _zombiemode_weapons.gsc file



And it just doesn't work, i can't give myself the weapon and i don't see it in the mystery box...

Oh and btw, if someone know a simple tutorial to add BO1 Perks i would really appreciate, thanks.
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 5 months ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
Personal Quote
Payback
Signature
Tears Of The Fallen | Join the project https://discord.gg/8gDNQRj
×
fanmagic's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
Add the weaponfiles and sounds into your mod.csv.

Code Snippet
Plaintext
weapons,sp/weaponname
sound,soundalias,,all_sp

Btw you don't need to add the sounds into your mods folder. They will be automaticly added from your mod.csv.

And you can use Bam's Perks, if you would like an easy version of the BO perks. If you need help with them just ask :)
broken avatar :(
×
broken avatar :(
Location: frLille
Date Registered: 14 August 2015
Last active: 6 years ago
Posts
11
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Alphayt's Groups
Alphayt's Contact & Social Links
Add the weaponfiles and sounds into your mod.csv.

Code Snippet
Plaintext
weapons,sp/weaponname
sound,soundalias,,all_sp

Btw you don't need to add the sounds into your mods folder. They will be automaticly added from your mod.csv.

And you can use Bam's Perks, if you would like an easy version of the BO perks. If you need help with them just ask :)


Thanks for your help, sadly, its still not working, i don't see the AK47 in the mystery box and when i use "give all" command i don't have it :(

And thanks for the perks  ;)

Double Post Merge: March 31, 2018, 08:20:20 pm
Okay! So, i tried to use this custom weapon: http://cfgfactory.com/downloads/show/5a5fc0033c84b

And.. it worked! but i have another problem now..

I can only give myself the upgraded weapon, not the non-upgraded.
And ofc the weapon is not in the mystery box

Here is some screens of my files: https://imgur.com/a/1Qxsm

So if someone know how to fix this sh*t  :gusta:
Last Edit: March 31, 2018, 08:20:20 pm by Alphayt
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 5 months ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
Personal Quote
Payback
×
fanmagic's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
Do you get any errors while building your mod?
broken avatar :(
×
broken avatar :(
Location: frLille
Date Registered: 14 August 2015
Last active: 6 years ago
Posts
11
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Alphayt's Groups
Alphayt's Contact & Social Links
0 errors, and i get this: https://imgur.com/2AQHRWC
broken avatar :(
×
broken avatar :(
Location: frLille
Date Registered: 14 August 2015
Last active: 6 years ago
Posts
11
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Alphayt's Groups
Alphayt's Contact & Social Links
YES! It worked! This time i used XR2 weapon and it PERFECTLY work ! :D

Maybe the weapon was broken? idk, i'm so happy now i perfectly know how to add weapons ! :D

Thanks for helping me :)
Marked as best answer by Alphayt 6 years ago
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
in mod.csv, when you comment stuff out, remember to add a space, or the line after is ignored too

Code Snippet
Plaintext
// text

not

//text
broken avatar :(
×
broken avatar :(
Location: frLille
Date Registered: 14 August 2015
Last active: 6 years ago
Posts
11
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Alphayt's Groups
Alphayt's Contact & Social Links
in mod.csv, when you comment stuff out, remember to add a space, or the line after is ignored too

Code Snippet
Plaintext
// text

not

//text

So that explain everything :D Thanks  :)

 
Loading ...