IGNOREDBYAI flag

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: IGNOREDBYAI flag

Re: IGNOREDBYAI flag

by Onar4241 » Sun Dec 28, 2014 3:23 pm

Graf Zahl wrote:Sorry, you are completely misunderstanding what that flag actually does. For normal actors, movement requires very costly calculations for collision detection during movement.
NOINTERACTION skips all this - nothing else. It has no effect on AI and other things, it only simplifies movement calculations. As such, there's nothing to break out of it.

For non-moving actors the effects of NOINTERACTION are nearly negligible.
I did say "If I'm not mistaken" :)

Re: IGNOREDBYAI flag

by Graf Zahl » Sun Dec 28, 2014 2:34 pm

Sorry, you are completely misunderstanding what that flag actually does. For normal actors, movement requires very costly calculations for collision detection during movement.
NOINTERACTION skips all this - nothing else. It has no effect on AI and other things, it only simplifies movement calculations. As such, there's nothing to break out of it.

For non-moving actors the effects of NOINTERACTION are nearly negligible.

IGNOREDBYAI flag

by Onar4241 » Sun Dec 28, 2014 2:22 pm

Hello everyone,

So far in the mod I'm making (That has a lot of special effects) I'm facing many slowdown issues. I've used every single method I can think (A_CheckSight to remove special effects when you're not looking at it, using Indexed colored images instead of true color etc) but I recently read about this flag called NOINTERACTION, and according to the wiki, it says this:
The Wiki wrote:The actor is purely decorative. It will not interact with any other actor and will ignore all game physics (including solid walls and floors!), moving only according to its own momentum. (i.e. The actor will not be affected by gravity, but its movement can still be directly changed using ThrustThing.) All AI routines will ignore this actor's existence, speeding up processing time.
If I'm not mistaken, this means every single AI will ignore the actor, increasing the FPS. Is it possible to break the properties of this flag so we can add an "IGNOREDBYAI" flag which makes all AI routines to ignore a said actor? I seriously need this one, A LOT.

Thanks!

Top