[DIY] A_CheckLOF New Flag

Moderator: GZDoom Developers

A_CheckLOF New Flag

Postby Logan MTM » Sat May 22, 2021 9:56 pm

The Flag CLOFF_JUMP_ON_MISS: "Hitting a wall, floor, or ceiling is a success if they are within range."
Any chance to make a new flag?
"Hitting a wall with Special, fail the Jump"!
Thank you all!
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil

Re: A_CheckLOF New Flag

Postby Graf Zahl » Sun May 23, 2021 12:42 am

DIY with ZScript.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: A_CheckLOF New Flag

Postby Logan MTM » Sun May 23, 2021 5:56 am

You being you!
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil

Re: A_CheckLOF New Flag

Postby Nash » Sun May 23, 2021 8:22 am

Modders are given full access to very powerful scripting tools with ZScript. Anyone refusing to delve into it only has themselves to blame.

You can write ZScript functions and use them from DECORATE (surprise surprise: those standard Doom monsters you are modifying through DECORATE are written in ZScript).
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: A_CheckLOF New Flag

Postby Rachael » Sun May 23, 2021 8:26 am

Using the scripting forum is a great way to get help with implementing things like this. There are times when you may get suggested to create a new feature request - this is usually in response to the solution to a problem either being not possible, or only possible through hacky and convoluted methods that should generally be discouraged, or if the solution may in fact fully work but is inefficient or causes a lot of code bloat.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: A_CheckLOF New Flag

Postby Logan MTM » Sun May 23, 2021 10:04 am

There is the thing!
I've been working on the same project for more than a decade.
I'm just a litle mappers with a bit of willpower.
I just can't stop and learn a full undocumented language that seams to be made just for hight programmers undestand that!
I just wondering to ask if, with a bit of good will, that kind of Flag could be done. I know It is, but not by me.

"DIY with ZScript."

Jesus!
I really can make an ACS function that Don't play "UseSound" in linedefs with Specials BUT this requires to set this function in EVERY SINGLE line with Actions over more than 10 HUGE Maps!

This Flag could be usefull for everyone!

I humbly apologize for the inconvenience.
User avatar
Logan MTM
I can see you...
 
Joined: 16 Jan 2006
Location: Rio de Janeiro - Brazil

Re: A_CheckLOF New Flag

Postby Nash » Sun May 23, 2021 10:56 am

As Rachael has explained, when a suggestion is closed as "DIY", it's not that programmers hate you or anything like that. GZDoom is a very large engine that has a lot of code built-in to support all sorts of situations, and hacks that have been used throughout the years. Adding more code to satisfy a use case not used by many people, will just make the engine slower (we already get enough complaints from ignorant users accusing "GZDoom is unoptimized"). So there is that angle to consider, please understand.
User avatar
Nash
Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest