Lingering Projectiles

Post » Wed Dec 01, 2010 4:19 pm

Yare yare, just question after question today it seems. My last one I just didn't think through properly, but this one is giving me a royal pain of a time.

You know how when you throw a throwing knife the knife sticks into whatever it hits instead of just clipping through and disappearing? Well, I'm trying to figure out how to do that with projectiles that normally don't do so.

I got it working in principle for a short while using a projectile I modified myself, but after I tweaked it a bit it promptly stopped working as I'd hoped. In addition, it didn't preform exactly as expected either.

The projectiles certainly stuck into surfaces, but only at the angle they were thrown at which was more often than not a flat plane. The throwing knife seems to adapt it's position to the surface of whatever it hits. If it hits the ground it'll be vertical, if it hits a wall it'll be horizontal.

I've been tweaking this for a few hours now and I just can't find a solution. I assume it's possible without any special models or textures as I did get it to work in part for a short while, but I just can't figure out how to get it 100% up and running.

Any help would be greatly appreciated.
User avatar
Steven Hardman
 
Posts: 3323
Joined: Sun Jun 10, 2007 5:12 pm

Post » Thu Dec 02, 2010 8:16 am

Alrighty, I figured out more or less how to do this with some projectile variables, but now the problem is that unlike, say, a spear that sticks half way out of the ground, the models for this projectile go so deep that there's barely anything left visible unless it's thrown at a rock face.

Any idea how I could make it so that more of the projectile itself is visibly sticking out of the ground?
User avatar
Steve Fallon
 
Posts: 3503
Joined: Thu Aug 23, 2007 12:29 am

Post » Wed Dec 01, 2010 6:31 pm

Move the collision in the nif forward/the projectile in the nif backward, essentially.
User avatar
Pawel Platek
 
Posts: 3489
Joined: Sat May 26, 2007 2:08 pm

Post » Thu Dec 02, 2010 12:31 am

Oh, so you just have to open it up in Nifscope, alter the positioning of the object/collision box and then save it under a new file name? (To prevent incompatibility with other objects using the same .nif.) That seems simple enough.
User avatar
vanuza
 
Posts: 3522
Joined: Fri Sep 22, 2006 11:14 pm


Return to Fallout: New Vegas