Nazi Zombies: Portable
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Nazi Zombies: Portable Official Community


You are not connected. Please login or register

Modifying Ammo Cost

3 posters

Go down  Message [Page 1 of 1]

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

Naievil

Naievil
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!

http://Naievil.tk

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

anass-nzp125

anass-nzp125
Mapper
Mapper

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

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

Naievil

Naievil
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!

Modifying Ammo Cost DloPumx

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!

http://Naievil.tk

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

FRiiZY_DuDE

FRiiZY_DuDE
Administrator
Administrator

Modifying Ammo Cost XsQRmFP

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.

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

Naievil

Naievil
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!

http://Naievil.tk

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

anass-nzp125

anass-nzp125
Mapper
Mapper

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

Modifying Ammo Cost Eazlpt7

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

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

FRiiZY_DuDE

FRiiZY_DuDE
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.

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

Naievil

Naievil
Staff
Staff

Perfect. Adding the new value solved it.
Thanks!

http://Naievil.tk

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

anass-nzp125

anass-nzp125
Mapper
Mapper

No problem dude VeryHappy

Sponsored content



Back to top  Message [Page 1 of 1]

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