Jump to content


How to code TS Disruptor firing FX?


6 replies to this topic

#1 Madin

    Amateur

  • Member
  • 138 posts

Posted 10 September 2011 - 10:22

So... I have a Disruptor and I was wondering how possible it would be to get a firing EX similar to the TS FMV.
How would I go about achieving such an effect?

I am also interested in how feasible it would be to have the weapon act similar to TS Disruptor's damaging units in a line.

Thanks for any help!

#2 Sgt. Rho

    Kerbal Rocket Scientist

  • Project Leader
  • 6870 posts
  • Projects: Scaring Jebediah.

Posted 10 September 2011 - 11:11

As for damaging units in a line: LinearDamageUpdate or so, look in the Sonic Emitter's code. Note that it seems to be impossible to have it damage friendlies in the Line of fire.

#3 Madin

    Amateur

  • Member
  • 138 posts

Posted 10 September 2011 - 11:33

Right, I'll have a look at that code, thanks.

#4 Zocom7

    Visitor

  • Member
  • 29 posts

Posted 10 September 2011 - 20:28

Have you tried asking Carnius for clues? He created his own Disruptor model and managed to fire its weapon almost exactly as the one in Tiberian Sun.

#5 Madin

    Amateur

  • Member
  • 138 posts

Posted 10 September 2011 - 20:49

View PostZocom7, on 10 September 2011 - 20:28, said:

Have you tried asking Carnius for clues? He created his own Disruptor model and managed to fire its weapon almost exactly as the one in Tiberian Sun.

I can't remember that being the case, I'll fire it up and check it out soon.

#6 Madin

    Amateur

  • Member
  • 138 posts

Posted 10 September 2011 - 21:46

It's nothing like the Tiberian Sun Disruptors firing style.

#7 Madin

    Amateur

  • Member
  • 138 posts

Posted 13 September 2011 - 23:45

View PostSgt. Rho, on 10 September 2011 - 11:11, said:

As for damaging units in a line: LinearDamageUpdate or so, look in the Sonic Emitter's code. Note that it seems to be impossible to have it damage friendlies in the Line of fire.

I have a solution, if you have not already got it from your Thundermods friends.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users