Author Topic: Idea how to upgrade CMs and Flaks  (Read 4834 times)

0 Members and 2 Guests are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Idea how to upgrade CMs and Flaks
I've been trying to get this working with the mediaVPs, but I'm having a bit of trouble. Mainly that the projectile doesn't seem to appear at all. I've tried moving the yellow_glow.tga file to Media_VPs/data/effects, but no show. (It's also in mv_effects.vp/data/textures/yellow_glow.tga)

I'm just using the TBM from the first post; am I missing something?
-C

  

Offline taylor

  • Super SCP/Linux Guru
  • 212
    • http://www.icculus.org/~taylor
Re: Idea how to upgrade CMs and Flaks
I'm just using the TBM from the first post; am I missing something?
Not sure, what you did is all I did to use it.  I just put the tbm in data/tables and copied yellow_glow.dds (I converted mine to have mipmaps) to data/effects/ and it showed up fine.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Idea how to upgrade CMs and Flaks
It might also be that the way i managed to build the effect is not a good one. If you check the .tbm you can see that the particle spews duration is set to be very short (1/80 of a second) so i was afraid that there might be problems with low FPS values. However i did see the effect even with FPS dropping to something about 30 so i was back then confident that it wouldn't be a problem. You could try:

i) changing the name of the effect into something else, i hope it is this one

ii) try to prolong the effect, if it is this one then i think the whole idea has to scrapped as then there would be problems with different FPS rates (some would see single blobs, some would see nothing at all and others would see multiple blobs) unless an override to draw only a single frame particle spews is available. IMHO too much effort to upgrade a single effect.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Grug

  • 211
  • From the ashes...
Re: Idea how to upgrade CMs and Flaks
Looks good. :yes:
Might use a similar technique in TAP. :D

I like the idea of the glowing countermeasures. The old ones I never saw, so it would make sense to see some flares shooting off the ships etc when you hit the button or am chasing an AI in a dogfight. Would be cool if they moved faster and had trails. :)

Nice worksies. :D :yes:

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Idea how to upgrade CMs and Flaks
Countermeasures can have trails.

Remember that weapons/countermeasures have been merged, so fields you can do with a weapon you can do with a countermeasure. That should include trails, esp. since the countermeasures already use the POF renderer like missiles.
-C

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Idea how to upgrade CMs and Flaks
you need to make it where you can have any kind of rendering options, on any kind of weapon, regaurdless of type. that means laser code on secondaries, and the ability to use flak with effects other than pspew.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Idea how to upgrade CMs and Flaks
That would be great as pspews behaviour is limiting the editing badly.
Do not meddle in the affairs of coders for they are soggy and hard to light