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

gun problem on the wall

broken avatar :(
Created 7 years ago
by lmg60
0 Members and 1 Guest are viewing this topic.
3,843 views
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 27 September 2016
Last active: 7 years ago
Posts
23
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
lmg60's Groups
lmg60's Contact & Social Links
hi everybody, here I put a gun to the wall (Usp45) following a tutorial of silver wolf but when I'm in front of the weapon for purchase I pay 0 for the weapon while I put his price 600
and also when I am in front of the weapon I have no message saying buy the gun or buy ammunition.
Can you help me ?
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 7 May 2015
Last active: 1 month ago
Posts
312
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Signature
×
EmpGeneral's Groups
EmpGeneral's Contact & Social LinksldraweEletricStorm
Can you post you _zombiemode_weapons script here?There's a high chance to the problem be there
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 27 September 2016
Last active: 7 years ago
Posts
23
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
lmg60's Groups
lmg60's Contact & Social Links
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 7 May 2015
Last active: 1 month ago
Posts
312
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
EmpGeneral's Groups
EmpGeneral's Contact & Social LinksldraweEletricStorm
Ok.In init_weapons(),change the weapon line with this one:


Code Snippet
Plaintext
add_zombie_weapon( "weaponname", 		"Press and Hold &&1 To Buy weaponname", 			750, 	"vox_crappy",	8 );

Align the"Press and Hold &&1 To Buy weaponname", in every line.And change the "750" to your weapon price



PS:just a question,how do you have the razorback?I saw this weapon in some other maps but I never found it to download
Last Edit: November 15, 2016, 08:58:33 pm by EmpGeneral
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 27 September 2016
Last active: 7 years ago
Posts
23
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
lmg60's Groups
lmg60's Contact & Social Links
Thank you I will test the razorback you will find it on the site cfg factory in download then cod waw then custo weapons.par cons I can not get a sound in the game for the razorback but for all other souls I have the Sons.can be from a se that it is a bo3 weapon

Double Post Merge: November 15, 2016, 10:01:01 pm
I just tried what you told me to do, I still have no message and the weapon is always a 0 in price.
I want to remember that it is a cod4 weapon to add is not a weapon of waw.
I followed a tutorial to put a custom weapon on the wall with chalk.
Last Edit: November 15, 2016, 10:01:01 pm by lmg60
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 7 May 2015
Last active: 1 month ago
Posts
312
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
EmpGeneral's Groups
EmpGeneral's Contact & Social LinksldraweEletricStorm
Thank you I will test the razorback you will find it on the site cfg factory in download then cod waw then custo weapons.par cons I can not get a sound in the game for the razorback but for all other souls I have the Sons.can be from a se that it is a bo3 weapon

Double Post Merge: November 15, 2016, 10:01:01 pm
I just tried what you told me to do, I still have no message and the weapon is always a 0 in price.
I want to remember that it is a cod4 weapon to add is not a weapon of waw.
I followed a tutorial to put a custom weapon on the wall with chalk.

Ok so the problem is in your trigger.Follow this tutorial and your problem will be gone:https://www.youtube.com/watch?v=Q8gOlRcTkvA

Something ago I had the same problem.I followed it and my problem was solved

PS:I didn't find the razorback in cfgfactory,could you please send me the link?I would love to add it in my map
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 27 September 2016
Last active: 7 years ago
Posts
23
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
lmg60's Groups
lmg60's Contact & Social Links
I have not found it on cfg factory here the package it includes asm1, bal-27, kn44, m8a1, m16a4, mp11, razorback and svu-as

http://www.partage-fichiers.com/upload/fefbtn73

If you happen to have the sound of the razorback in play keep me informed

Double Post Merge: November 16, 2016, 01:47:17 am

Well I followed the tutorial is I managed to have the gun on the mu by cons I am still no text to display the screen and the weapon is always a 0.
I try the line of code you give me I have no message and I try it:

Code Snippet
Plaintext
Add_zombie_weapon ( "model1887", "Press and Hold && 1 To Buy model1887", & "ZOMBIE_WEAPON_model1887_1000", 1000, "vox_shotgun", 6);

But still no message.
I would like to succeed in having the message that tells me pay so much to buy the weapon and also for ammunition

I am French I speak not at all English the tuto I am in video but otherwise I do not understand what he says in his video
Last Edit: November 18, 2016, 07:22:09 pm by MZslayer11
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 7 May 2015
Last active: 1 month ago
Posts
312
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
EmpGeneral's Groups
EmpGeneral's Contact & Social LinksldraweEletricStorm
Code Snippet
Plaintext
Add_zombie_weapon ( "model1887", "Press and Hold && 1 To Buy model1887", & "ZOMBIE_WEAPON_model1887_1000", 1000, "vox_shotgun", 6);

Man you have to delete the & "ZOMBIE_WEAPON_model1887_1000", because this line is a localized string,that means that the weapon is already defined in the basic script of WaW,and not only you don't have the weapon in the script as also the line is duplicated.BluntStuffy explains better here: http://ugx-mods.com/forum/index.php/topic,13659.0.html

Ps:My bad,think that you don't the "Press and" text in that line

Double Post Merge: November 16, 2016, 03:12:49 pm


Double Post Merge: November 16, 2016, 07:07:30 pm
I have not found it on cfg factory here the package it includes asm1, bal-27, kn44, m8a1, m16a4, mp11, razorback and svu-as

http://www.partage-fichiers.com/upload/fefbtn73

If you happen to have the sound of the razorback in play keep me informed

Double Post Merge: November 16, 2016, 01:47:17 am

Well I followed the tutorial is I managed to have the gun on the mu by cons I am still no text to display the screen and the weapon is always a 0.
I try the line of code you give me I have no message and I try it:

Add_zombie_weapon ( "model1887", "Press and Hold && 1 To Buy model1887", & "ZOMBIE_WEAPON_model1887_1000", 1000, "vox_shotgun", 6);

But still no message.
I would like to succeed in having the message that tells me pay so much to buy the weapon and also for ammunition

I am French I speak not at all English the tuto I am in video but otherwise I do not understand what he says in his video

Thanks for sharing the weapons with me man!!Just one more thing:Do you have the mod.csv text for it?Because it isn't in the download
Last Edit: November 18, 2016, 07:23:39 pm by MZslayer11
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 27 September 2016
Last active: 7 years ago
Posts
23
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
lmg60's Groups
lmg60's Contact & Social Links
I is not the mod.csv files it is for his other way that I am not his amon weapon in full play but I think the solution is simple based on the mod.csv of the other weapon We can find the solution.
If you find tell me

Double Post Merge: November 17, 2016, 12:23:38 am
Did you manage to do what I want to do? If yes can you do it with the model1887 of mw3 and make me screenshots of all the lines of codes of each file?
Last Edit: November 17, 2016, 12:23:38 am by lmg60
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 7 May 2015
Last active: 1 month ago
Posts
312
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
EmpGeneral's Groups
EmpGeneral's Contact & Social LinksldraweEletricStorm
How come there's no mod.csv text?I mean,every custom weapon needs it to be in the game and to have sounds.And sorry,I don't have the model1887,but I have the commando from BO1 if you want,just change the names to the model

_zombiemode_weapons:
Code Snippet
Plaintext
add_zombie_weapon( "bo1_commando", 		"Hold &&1 To Buy Commando", 			1200, 	"vox_crappy",	8 );

dlc3_code:
Code Snippet
Plaintext
include_weapon( "bo1_commando" );

mod.csv:     
Code Snippet
Plaintext
sound,commando,,all_sp
                   weapon,sp\bo1_commando

NOTE:You have to change the bo1_commando to your weapon name,which is located in modname/weapons/sp/weaponname
Last Edit: November 18, 2016, 07:27:26 pm by MZslayer11
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 27 September 2016
Last active: 7 years ago
Posts
23
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
lmg60's Groups
lmg60's Contact & Social Links
I have all the weapons of cod4, mw3 and bo1
Can you try what I want to do as on the link of the video you share but with the model 1887 and see if you have the price of the weapon and the purchase text + ammunition in play?
The model1887 you find it on ugx in the pack of mw3

And if you test tien me aware and of course if you succeed I want you to send me screenshot of t lines of codes

After the one that you tells me I do it because I put full of weapon on a map of test but when I them but on a wall like on the video that you to share to me I is not of message And the price is a 0 that is problem the one that I absolutely want to regulate
broken avatar :(
×
broken avatar :(
Location: usEarth
Date Registered: 30 July 2015
Last active: 3 years ago
Posts
118
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Current project: Afterlife
Signature
"The only time you should look back, is to see how far you've come."
I'm just going to go back to the OP:

In your _zombiemode_weapons make sure your usp line is:
Code Snippet
Plaintext
add_zombie_weapon( "usp", "Press & Hold &&1 to Buy USP [Cost: 600]", 600, "" );

and in your dlc3_code:
Code Snippet
Plaintext
include_weapon( "usp" );

And your in-game trigger for the wall weapon should have:
Key: zombie_cost
Value: 600

Also make sure you double check the rest of your kvps are correct / necessary if you have any and fully compile.
And If the weapon file is named something other than "usp" (i.e. bo1_usp), then change the above names to the correct name.
broken avatar :(
×
broken avatar :(
Location: br
Date Registered: 7 May 2015
Last active: 1 month ago
Posts
312
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
×
EmpGeneral's Groups
EmpGeneral's Contact & Social LinksldraweEletricStorm
I have not found it on cfg factory here the package it includes asm1, bal-27, kn44, m8a1, m16a4, mp11, razorback and svu-as

http://www.partage-fichiers.com/upload/fefbtn73

If you happen to have the sound of the razorback in play keep me informed

Double Post Merge: November 16, 2016, 01:47:17 am

Well I followed the tutorial is I managed to have the gun on the mu by cons I am still no text to display the screen and the weapon is always a 0.
I try the line of code you give me I have no message and I try it:

Code Snippet
Plaintext
Add_zombie_weapon ( "model1887", "Press and Hold && 1 To Buy model1887", & "ZOMBIE_WEAPON_model1887_1000", 1000, "vox_shotgun", 6);

But still no message.
I would like to succeed in having the message that tells me pay so much to buy the weapon and also for ammunition

I am French I speak not at all English the tuto I am in video but otherwise I do not understand what he says in his video

I managed to get sounds on the razorback,just add this to your mod.csv:

Code Snippet
Plaintext
weapon,sp\razorback
weapon,sp\razorback_upgraded
sound,razorback,,all_sp

 
Loading ...