Hi I have a suggestion for a further control over the projectile :
I was fiddling with the handling of Hit and found that using a extra variable for a projectile
ie
obj/sd_px_projectile/Bullet
passThrough = 2
Now on Hit(atom/A) i had some small code like :
if(A.density == 1)
if(src.passThrough >= 1)
elsesrc.passThrough -= 1
del(src)
what this will do is when it enters a dense object it will deduct from passThrough, if passThrough is 0 then it deletes the projectile..
this allows projectiles to pass through dense objects X times. and a value of 0.5 for passThrough will allow only entry into a dense object, but not exit.
-end-
Anyway, I have one small suggestion (that I've implemented in to my own game): owner's direction!
It's not the most elegant; I'm sure something done with the directional bit flags would be a million times better, but I'm still not comfortable using them yet.
The "dir[owner.dir]" bit is so that the proc recognises it as text.
~Ease~