Jump to content

Home

Projectiles and shaders


SimonKTemplar

Recommended Posts

My question is this: is it possible to assign environment maps (like cm_baremetal or similar ones) to weapon projectiles? I don't know if projectiles are models or simply sprites, but what I'm trying to do is make the sonic weapon projectiles use the cloaking device shader (the transparent thingy you see on a player when you activate a stealth field generator). I want to make the sonic projectiles look more like the projectiles fired by Geonosian sonic blasters in AOTC.

Link to comment
Share on other sites

Thanks for the info! Unfortunately, after some time looking into this, I've found that all the blaster bolts/ammunition/projectile models use different models, but apparently the same texture, and that assigning that shader to any of the textures would end up making all the blaster bolts fired in the game translucent.

 

Oh well, back to the drawing board

Link to comment
Share on other sites

It might be in items.bif. That's where all the weapon models are, anyway.

 

DAMN. Never saw it in a million years, looked like 3 times across the whole list in that bif and couldn't see it. Maybe I was trying too hard and it gave me the slip.

 

Okay, from what I can see here, the w_laserfire_s is just a model with no texture, no transparency, and completely white. Problem.

What I'll have to do now is take the texture for the 'power blast' projectile and edit it so it vaguely resembles some type of sonic distortion in the air. Then I'll try applying the environment map used by the stealth field (dunno what envmap that is, a little help here?). After that, I'll let you know what happens.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...