SimonKTemplar Posted November 19, 2012 Share Posted November 19, 2012 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 More sharing options...
Marius Fett Posted November 19, 2012 Share Posted November 19, 2012 I've not actually played around with ammunition types myself for a long time, but if memory serves, they are indeed models. This thread here should help you. Link to comment Share on other sites More sharing options...
SimonKTemplar Posted November 20, 2012 Author Share Posted November 20, 2012 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 More sharing options...
Marius Fett Posted November 20, 2012 Share Posted November 20, 2012 Why not just apply a different texture to the model? Link to comment Share on other sites More sharing options...
SimonKTemplar Posted November 21, 2012 Author Share Posted November 21, 2012 Why not just apply a different texture to the model? I can't find the model... in the K1 models.bif, the model is absolutely nowhere to be found. looked in other bifs too, but no w_laserfire_ anywere! Otherwise I would've done it yesterday Link to comment Share on other sites More sharing options...
Fallen Guardian Posted November 21, 2012 Share Posted November 21, 2012 It might be in items.bif. That's where all the weapon models are, anyway. Link to comment Share on other sites More sharing options...
SimonKTemplar Posted November 21, 2012 Author Share Posted November 21, 2012 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.