Project

General

Profile

Feature #1459

Updated by skyjake about 11 years ago

More an extension rather than a brand new feature request.

Heretic has a shootable object that isn't auto aimmed at, if you have auto aim on, in the form of it's Puff Pods (MT_POD).

A rumage through the part of the Dday src that handles auto aimming (p_map.c in common) reveals this is handled by an exception in which Dday simply checks wheter any of the shootable things in the players view have an ID of "POD".

<pre> --------------------------
// shoot a thing
th = in->d.thing;
if(th == shootthing)
return true; // can't shoot self

if(!(th->flags & MF_SHOOTABLE))
return true; // corpse or something

#if __JHERETIC__
if(th->type == MT_POD)
return true; // Can't auto-aim at pods
#endif
</pre> --------------------------

If this could be done with a new flag instead of checking for the specific thing ID, it would allow a bit more creativity for mod makers at the cost of very little work to code in (I think it's even within my ability :p).

And before you ask, yes I have already got ideas for such a flag if it was implemented.

*Labels:* Map Editing

Back