Nazi Zombie Portable
Please log in or register. If you're not logged in you cannot download maps.

Nazi Zombies Portable Official Community


You are not connected. Please login or register

Modifying Ammo Cost

View previous topic View next topic Go down  Message [Page 1 of 1]

1NZP Demo Modifying Ammo Cost on Sat May 16, 2015 6:16 pm

Naievil

avatar
Staff
Staff
Hi guys,

I've noticed that, unlike in the older nzp.fgd, there is no direct way to change the price of ammo.

Where can I find this value?

Thanks!

View user profile http://Naievil.tk

2NZP Demo Re: Modifying Ammo Cost on Sat May 16, 2015 7:39 pm

@Naievil wrote:Hi guys,

I've noticed that, unlike in the older nzp.fgd, there is no direct way to change the price of ammo.

Where can I find this value?

Thanks!

I said it to you in your topic it's the cost 2 in the gun properties Smilez


____________________________________________________________________________________________________
Be cool and subscribe to my Youtube channel! I'm putting in it hacks and mods and glitches maybe gameplays too VeryHappy ! :

https://www.youtube.com/channel/UCm8OWWMWYCHa7X6DGCWu4Xg
View user profile

3NZP Demo Re: Modifying Ammo Cost on Sat May 16, 2015 8:36 pm

Naievil

avatar
Staff
Staff
@anass-nzp125 wrote:I said it to you in your topic it's the cost 2 in the gun properties Smilez

Thanks for the reply!



I don't actually have that property. I understand that you replied (which I was thankful for) the "cost 2" but I do not have that property in my trigger.

If you could point me in the right direction, I'd be grateful.

Thanks!

View user profile http://Naievil.tk

4NZP Demo Re: Modifying Ammo Cost on Sat May 16, 2015 8:41 pm

FRiiZY_DuDE

avatar
Administrator
Administrator


EDIT: Sorry, saw Ammo Cost, let me take a look at the source code to see if I can change it through there, I don't think it can be done through the Map Editor.

I believe the game is coded so that the Ammo cost is half the Weapon Cost.

View user profile

5NZP Demo Re: Modifying Ammo Cost on Sat May 16, 2015 9:01 pm

Naievil

avatar
Staff
Staff
@FRiiZY_DuDE wrote:I believe the game is coded so that the Ammo cost is half the Weapon Cost.

I had thought so too, yet my custom map's ammo cost is 0 (see the Facility map in the Custom Maps section). Any further help would be appreciated.

I could also try to compile via Jackhammer and see if that changes anything (not likely). Right now I use Valve Hammer.

Thanks!

View user profile http://Naievil.tk

6NZP Demo Re: Modifying Ammo Cost on Sun May 17, 2015 7:40 am

Here is a picture taked by me ,it isn't well done taked but you can see :



As u can see there is cost 2 which is ammo,you can get it by clicking SmartEdit ,if it's not there you can add it Smilez


____________________________________________________________________________________________________
Be cool and subscribe to my Youtube channel! I'm putting in it hacks and mods and glitches maybe gameplays too VeryHappy ! :

https://www.youtube.com/channel/UCm8OWWMWYCHa7X6DGCWu4Xg
View user profile

7NZP Demo Re: Modifying Ammo Cost on Sun May 17, 2015 9:36 am

FRiiZY_DuDE

avatar
Administrator
Administrator
Ok I tried what @anass-nzp125 and it seems to work, you need to manually add the KVP "cost2" and enter in the value entry the cost of ammo.

View user profile

8NZP Demo Re: Modifying Ammo Cost on Sun May 17, 2015 7:00 pm

Naievil

avatar
Staff
Staff
Perfect. Adding the new value solved it.
Thanks!

View user profile http://Naievil.tk

9NZP Demo Re: Modifying Ammo Cost on Mon May 18, 2015 7:35 am

No problem dude VeryHappy


____________________________________________________________________________________________________
Be cool and subscribe to my Youtube channel! I'm putting in it hacks and mods and glitches maybe gameplays too VeryHappy ! :

https://www.youtube.com/channel/UCm8OWWMWYCHa7X6DGCWu4Xg
View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum