ZDoom Wiki Thread

We sure do have a lot of rules and guidelines threads - find them all here, and please make sure you've read them! Also, community-wide announcements (that aren't major ZDoom News) go here as well.
Gez
 
 
Posts: 17924
Joined: Fri Jul 06, 2007 3:22 pm

Re: ZDoom Wiki Thread

Post by Gez »

bool useammo, if true, uses ammo. Seemed kinda straightforward, but I copied the notice from [wiki]A_FireBullet[/wiki] anyway.


Someone needs to update [wiki]A_RailAttack[/wiki], though.
User avatar
DoomRater
Posts: 8265
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ

Re: ZDoom Wiki Thread

Post by DoomRater »

Yeah, but A_CustomPunch doesn't seem to use ammo when it doesn't HIT anything anymore. I recall being able to use a certain setting to make it do that, like 2 or something.
Gez
 
 
Posts: 17924
Joined: Fri Jul 06, 2007 3:22 pm

Re: ZDoom Wiki Thread

Post by Gez »

If that option ever existed, it no longer does -- it's a boolean, so there's only two behaviors possible.

If you really need to take ammo every time, you can simply use a "take from inventory" function instead, and have the attack itself not use ammo.
User avatar
DoomRater
Posts: 8265
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ

Re: ZDoom Wiki Thread

Post by DoomRater »

UGH. That makes it no longer work properly with the Infinite ammo cheat.
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA

Re: ZDoom Wiki Thread

Post by Project Shadowcat »

DoomRater wrote:UGH. That makes it no longer work properly with the Infinite ammo cheat.
One should not need to work around cheats to make things work...
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Re: ZDoom Wiki Thread

Post by TheDarkArchon »

DoomRater wrote:UGH. That makes it no longer work properly with the Infinite ammo cheat.
Why not use a short range bullet attack instead with a dummy punch attack so the view change is handled properly?
User avatar
DoomRater
Posts: 8265
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ

Re: ZDoom Wiki Thread

Post by DoomRater »

Well, I kinda like being able to specify the damage range I want, but with FireBullets (as much as I love that function) I am forced to use the d3 rule instead of a damage range that want to use like 15-30. As close as 10d3 is... it may be worth it for this function.
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Re: ZDoom Wiki Thread

Post by TheDarkArchon »

DoomRater wrote:Well, I kinda like being able to specify the damage range I want, but with FireBullets (as much as I love that function) I am forced to use the d3 rule instead of a damage range that want to use like 15-30.
In that case, swap the dummy around: Make a dummy projectile that serves the purpose of ammo depletion and use a no ammo punch
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA

Re: ZDoom Wiki Thread

Post by Project Shadowcat »

I thought hitscans could set their damage any way they please...?
User avatar
Rachael
Posts: 13732
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: ZDoom Wiki Thread

Post by Rachael »

Hitscans are damage you specify * random(1,3).
User avatar
DoomRater
Posts: 8265
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ

Re: ZDoom Wiki Thread

Post by DoomRater »

TheDarkArchon wrote:In that case, swap the dummy around: Make a dummy projectile that serves the purpose of ammo depletion and use a no ammo punch
Yeah, that or I'll scrap the altfire attack and just make it a healer ability. It's for the Wolverine class if you were curious.
User avatar
InsanityBringer
Posts: 3390
Joined: Thu Jul 05, 2007 4:53 pm
Location: opening the forbidden box

Re: ZDoom Wiki Thread

Post by InsanityBringer »

A while ago Graf added a feature to $limit to allow the limit range to be changed, but it still isn't documented in the wiki. I'm just wondering if someone could verify this

Code: Select all

$limit soundname <amount> [distance] 
Specifies that at most <amount> instances can be played at once. A value of 0 means no limit at all. Limit only limits sounds that are played in a certain range of each other. By default this is 256(is this right?), but this can be optionally overridden by the distance paramater. 
User avatar
Xim
Posts: 2088
Joined: Fri Feb 20, 2009 2:46 pm
Location: somewhere with trees

Re: ZDoom Wiki Thread

Post by Xim »

Gez
 
 
Posts: 17924
Joined: Fri Jul 06, 2007 3:22 pm

Re: ZDoom Wiki Thread

Post by Gez »

The [wiki]MAPINFO[/wiki] page is horrible and severely needs an overhaul to be made readable again. I'm thinking for a start, each subpart (gameinfo, map, skill, episode+cluster) could go on a subpage.
User avatar
Xaser
 
 
Posts: 10773
Joined: Sun Jul 20, 2003 12:15 pm

Re: ZDoom Wiki Thread

Post by Xaser »

I am not liking the idea of having the page fragmented into so many sub-pages. That will force readers to save/view five pages instead of just one.

Not only that, but it looks like an obscene amount of properties have been removed from the MAPINFO page altogether and can only be viewed by looking at the sub-pages, presenting not only the problems mentioned above but also requires double-maintenance. In case something needs to be changed, it'll have to be done on both pages. Not a good idea -- we don't want any wiki de-syncing.

Personally, I thought it was fine the way it was. Long, yes, but complete.

Return to “Rules and Forum Announcements”