A Netcode Discussion [Actor Collision Exclusion split]

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
D2JK
Posts: 545
Joined: Sat Aug 30, 2014 8:21 am

Re: [ZScript] Actor Collision Exclusion

Post by D2JK »

I would be also interested in a functionality equivalent to this:
Spoiler:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ZScript] Actor Collision Exclusion

Post by Graf Zahl »

Ok, seriously people. My post was not 100% serious but we are talking about adding more checks to one of the most frequently called and most performance critical functions in the entire engine - one that already causes performance issues on maps like NUTS. I am very hesistant to add more here that isn't absolutely necessary.
User avatar
Major Cooke
Posts: 8208
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: [ZScript] Actor Collision Exclusion

Post by Major Cooke »

D2JK wrote:I would be also interested in a functionality equivalent to this:
Spoiler:
Note the tag [ZScript], not DECORATE. Decorate is about to become deprecated so I say no to that.
Graf Zahl wrote:Ok, seriously people. My post was not 100% serious but we are talking about adding more checks to one of the most frequently called and most performance critical functions in the entire engine - one that already causes performance issues on maps like NUTS. I am very hesistant to add more here that isn't absolutely necessary.
Agreed, specifics are a lot better. If it can be dynamic then we can just continuously update the name of the actor list to pass through like the tracer pointers as needed.

So what do you propose, just my original suggestion without anything else? If THRUACTORS is specified it can serve as an inverted version, given a boolean to allow that to happen.

Code: Select all

if (thruactors)
{
	if (useinversethrulist)
	{
		CheckListInvert
	}
	else return true;
}
D2JK
Posts: 545
Joined: Sat Aug 30, 2014 8:21 am

Re: [ZScript] Actor Collision Exclusion

Post by D2JK »

Note the tag [ZScript], not DECORATE.
:roll: I did say "a functionality equivalent to".
User avatar
ibm5155
Posts: 1268
Joined: Wed Jul 20, 2011 4:24 pm
Contact:

Re: [ZScript] Actor Collision Exclusion

Post by ibm5155 »

Major Cooke wrote:Note the tag [ZScript], not DECORATE. Decorate is about to become deprecated so I say no to that.
This will take a long time since there are still alot of source ports that uses decorate, using zscript will for now just limit your mod to G/Zdoom
User avatar
Major Cooke
Posts: 8208
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: [ZScript] Actor Collision Exclusion

Post by Major Cooke »

Like I care? I'm pretty much a (G)ZDoom die hard. I use no other source ports.
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: [ZScript] Actor Collision Exclusion

Post by Arctangent »

I'm baffled at what ports he's even talking about. Zandronum? A single port is not what I'd consider "a lot." Or "alot," as it happens.
User avatar
Major Cooke
Posts: 8208
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: [ZScript] Actor Collision Exclusion

Post by Major Cooke »

Yeah. I don't play multiplayer mods. I just do single player, and for that, ZDoom is my go-to for it.
Gez
 
 
Posts: 17938
Joined: Fri Jul 06, 2007 3:22 pm

Re: [ZScript] Actor Collision Exclusion

Post by Gez »

Ports that use DECORATE:
ZDoom
GZDoom
QZDoom, GZDoom-GPL, GLOOME and so on.
Skulltag
Zandronum
Vavoom

Basically either you get stuff that stays in sync with ZDoom within the week usually (like GZDoom) or you get stuff that is long-dead (like Skulltag). The only choice that is in-between these extremes is Zandronum.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [ZScript] Actor Collision Exclusion

Post by Edward-san »

Major Cooke wrote:Yeah. I don't play multiplayer mods. I just do single player, and for that, ZDoom is my go-to for it.
Considering ZDoom can run multiplayer (it's simple, really), modding to only single player is, well, bad and old. :twisted:
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm
Contact:

Re: [ZScript] Actor Collision Exclusion

Post by Arctangent »

Is this a sign that the Edwards are becoming one once more!?
User avatar
Major Cooke
Posts: 8208
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

A Netcode Discussion [Actor Collision Exclusion split]

Post by Major Cooke »

Edward-san wrote:Considering ZDoom can run multiplayer (it's simple, really), modding to only single player is, well, bad and old. :twisted:
Then you probably won't enjoy D4D. It's single player only. :mrgreen:

Also the netcode, according to Blzut3, is broken in ZDoom currently it appears.
User avatar
Rachael
Posts: 13921
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [ZScript] Actor Collision Exclusion

Post by Rachael »

Considering the amount of rewrites that have happened in the past year, I am not surprised.

But I don't think it's that broken. Since Demos use netcode logic and they run just fine for me, I'd say for the most part it's working pretty good. If there are problems I doubt they'd be that hard to fix.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [ZScript] Actor Collision Exclusion

Post by Edward-san »

Major Cooke wrote:Then you probably won't enjoy D4D. It's single player only. :mrgreen:
Say, why? :|
User avatar
Major Cooke
Posts: 8208
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: [ZScript] Actor Collision Exclusion

Post by Major Cooke »

Just look at the CVARINFO. LOTS of user customizability stuffs. Effects controls, gore amount, configurable monster behavior/spawning, etc. Those have to be server side only.
Post Reply

Return to “General”