BDLite [V1.1 RELEASED - 2019-02-15]

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby vitriolicv » Wed Jul 24, 2019 2:02 pm

Thanks to some help from the fine folks on ZDoom Discord, particularly Jekyll and Nash, we've found that the problem is in the "Fly" states of the chunks of meat that inherit from BdGib. They use an infinite loop that is spawning BdFlyingBloodTrail (the pain elementals do at least, and they were the most noticeable performance hit) every 2 tics, and those flying pieces just take a long time to hit the wall when water is involved.

This was a suggested rewrite to the BdGibPainPiece1 actor's fly state:

Fly:
CAGI FFFFFFFFFFFFFFFF 2 {
A_SpawnProjectile("BdFlyingBloodTrail", 0, 0, random (0, 360), 2, random (0, 360));
A_SetRoll(roll + user_rotationspeed);
}
goto Death


This will make it so that the spawn of BdFlyingBloodTrail only happens 16 times (the number of F's there), but still every 2 tics. This makes some sense, as there shouldn't be infinite blood within a piece of meat; it should run out some time! This also uses an anonymous function, which apparently lets you skip invisible frames like TNT1, and just attach multiple actions to any given frame, so that's cool.

So, probably a bunch of things will need a similar rewrite. I'll be experimenting a little.

Oh, and minor issue, if this works, you'll have to consider that this will not work in Zandronum -- doesn't support anonymous functions. My personal opinion? Fuck Zandro.
User avatar
vitriolicv
 
Joined: 08 Apr 2018

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby vitriolicv » Thu Jul 25, 2019 1:30 am

So I took out all the loops in BDGibs and made them fixed length, and it made a difference, but did not completely solve the problem. Now I'm gonna try messing with BDBlood.
User avatar
vitriolicv
 
Joined: 08 Apr 2018

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby Kinsie » Thu Jul 25, 2019 1:45 am

You can check the waterlevel variable to see if an actor is submerged and adjust behavior accordingly. It's been a great many drinks since then, but I recall ReDoom's gibs checking if they were underwater and ThrustThingZ-ing downwards regularly to ensure they didn't bounce around for too long.
User avatar
Kinsie
A Concept Utterly Obsolete
 
Joined: 22 Oct 2004
Location: MAP33
Discord: Find Me...
Twitch ID: thekinsie

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby vitriolicv » Thu Jul 25, 2019 2:16 am

Things just ended up getting kinda weird. I don't think this was the right approach. Maybe something with waterlevel checking that decreases friction, increases gravity, or drastically increases frame durations in loops so that they aren't spawning new actors as often (which might also benefit from stopping rotation early so that it doesn't look like ass rotating at slideshow speed)? I'll have to figure out how that's done maybe.

This is what I was posting before Kinsie posted. Thanks Kinsie! Can I perhaps talk to you on Discord about how that's implemented?
User avatar
vitriolicv
 
Joined: 08 Apr 2018

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby TDRR » Sun Jul 28, 2019 1:24 pm

vitriolicv wrote:Oh, and minor issue, if this works, you'll have to consider that this will not work in Zandronum -- doesn't support anonymous functions. My personal opinion? Fuck Zandro.


Don't worry, i'm the guy who's doing the Zandronum version so DavidN doesn't have to do anything about that. And yes that can work on Zandronum which is what i'm going to do.

Also, thanks for the investigating, finally no more slowdowns when gibbing monsters!
User avatar
TDRR
iDeas from the deep (pit of hacks)
 
Joined: 11 Mar 2018
Location: Venezuela
Operating System: Windows Vista/7 64-bit
Graphics Processor: Intel (Modern GZDoom)

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby vitriolicv » Mon Jul 29, 2019 7:35 pm

Well, thanks for appreciating the work, but I didn't make significant headway. I did put in (in my local copy anyway, I won't distribute anything without permission) some checks for water that will kill their x/y velocity so they don't fly around underwater, and will skip them to their death state so they'll stop spawning trails and stuff, but that didn't work. I mean, it behaved like I told it to, but it didn't solve the slowdown in water. I'm at a loss.
User avatar
vitriolicv
 
Joined: 08 Apr 2018

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby DavidN » Tue Jul 30, 2019 7:36 pm

Feel free to submit a pull request to the Github! Or send your copy over, I’d love to incorporate any fixes.
User avatar
DavidN
Spotlight Team
 
Joined: 28 Dec 2015

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby Tango » Wed Jul 31, 2019 7:44 pm

I meant to post at some point earlier in this thread, around the time you first released this, but this is really fantastic work. I think I'm equally impressed by the work on the mod itself as I am with all your effort in tooling and documentation - it's all top quality. this mod is quickly becoming an auto-load for me in most situations. judging by all the documentation, it looks like you're very much encouraging folks to build on top of BDLite - but is it also permitted to use some of the code in BDLite in other projects? some of the monster DECORATE I'd really love to pull into my own personal gameplay mod, because the physics of the death animations just feels *too good* to not want to replicate it myself
User avatar
Tango
heh!
 
Joined: 31 Jul 2006

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby DavidN » Wed Jul 31, 2019 9:47 pm

Thanks, Tango - it’s fantastic to know people appreciate it! I’ve meant to rework some of the tools I made alongside this with a proper front end some time. Definitely feel free to use anything from BDLite in other projects, though bear in mind that I’m not 100% sure where a lot of it came from originally - the DetailedCredits.txt file still remains for things still in there from Brutal 19, but I think a lot of the other animations might be from early versions of Beautiful Doom or elsewhere.
User avatar
DavidN
Spotlight Team
 
Joined: 28 Dec 2015

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby Tango » Thu Aug 01, 2019 1:57 am

for sure, no worries! I'll make sure to have a look through the credits and carry em over accordingly for anything I use. cheers mate, thanks so much :D
User avatar
Tango
heh!
 
Joined: 31 Jul 2006

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby Thorogrimm » Fri Oct 11, 2019 11:10 am

Will this by any chance be updated to Brutal Doom v21's assets?
Thorogrimm
 
Joined: 07 Jun 2019
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby GRUARRR » Tue Oct 15, 2019 5:20 am

Thank you for making this mod, it runs very smooth and it has a faster gameplay than original BD. I like it a lot.

Congratulations for your good work and I hope you continue working on this!

Some suggestion if you want: Making a only monsters version of this, because the gameplay is veeeery smooth and would be great to use other weapon mods with this.

Thank you again for making this mod.
User avatar
GRUARRR
 
Joined: 08 Jan 2016
Location: Valencia, Spain.

Re: BDLite [V1.1 RELEASED - 2019-02-15]

Postby CyborgParrot » Tue Nov 19, 2019 10:20 pm

Would it possible to make Total Conversion Mods using this as base?

Also, would this work with 3D Models?
Because I'm planning on making a TC/Standalone Mod that fully utilizes 3D Models (If you're curious what it is, it's a full remake of Carnivores: Cityscape).
User avatar
CyborgParrot
 
Joined: 07 Feb 2015

Previous

Return to Gameplay Mods

Who is online

Users browsing this forum: Caligari87, Klavito and 17 guests