ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Dehacked Per ammo property with new ammo types

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests
View previous topic :: View next topic  
Author Message
Body-Guard
Unstoppable!


Joined: 08 Jan 2006
Location: Hungary

PostPosted: Fri Jul 01, 2022 7:42 am    Post subject: Dehacked Per ammo property with new ammo types Reply with quote

Dehacked has the ability to override pickup amount for each ammo type. This works for doom ammo types, but does not work with ZDaemon's additional ammo types as defined here:

https://www.zdaemon.org/?CMD=info&NAME=deh_zdspecificproperties

It is clear that the 'Per ammo' keyword is halfway working, because picking up a weapon that uses the modified ammo type gives a base amount of ammo as per defined with 'Per ammo'. However, spawning the ammo item itself still gives the hardcoded amount instead of the one defined in dehacked.

Demo wad:
http://destiny-server.no-ip.org/stuff/ammo_testwad.zip

Clip has 'Per ammo' defined as 1, so picking up a clip gives 1 ammo for the pistol. This is the expected behavior and works with doom ammo types.

Other weapons are remapped to use heretic ammo:

-shotgun (gold wand ammo)
-chaingun (crossbow ammo)
-rocket launcher (blaster ammo)
-plasma rifle (skull rod ammo)
-bfg (phoenix rod ammo)
-ssg (mace ammo)

Picking up ammo of these types will ignore 'Per ammo' definition. Use summon console command to spawn the ammo for testing.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
AF-Domains.net
Dark Messenger of IRC


Joined: 01 Jun 2002
Location: United Kingdom

PostPosted: Fri Jul 01, 2022 12:17 pm    Post subject: Reply with quote

Moving to confirmed.
Back to top
View user's profile Send private message Visit poster's website
AF-Domains.net
Dark Messenger of IRC


Joined: 01 Jun 2002
Location: United Kingdom

PostPosted: Tue Sep 20, 2022 7:32 pm    Post subject: Reply with quote

This has now been accounted for in the next release.

However, 'Per ammo' remains unchanged. It has always just been for the Doom weapons, since dehacked was never for anything outside of that in the past.

There will be two new properties to avoid other legacy headaches:
'Per ammo ZD' - similar to the original but accounts for all Heretic and Hexen ammo types as well; however it no longer has any effect on the big ammo packs.
'Big ammo ZD' - This allows you to adjust how much a big ammo pack for the ammo type in question will grant.

The 'Per ammo ZD' property will take priority over 'Per ammo'.

The 'Big ammo ZD' property can only be used in-conjunction with 'Per ammo ZD', it will otherwise be ignored.

As a result of the above, this was never a bug; consequently this has been moved to the "Implemented Requests" area.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Implemented Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group