Attaching particles to a missile?

正在查看此主题的用户

DeepRedCee

Recruit
Hi there,

I'm trying to create a flare gun (crossbow) which fires a flare (bolt). I need to add a particle and light entity to a missile item, usually I'd use WSE to use ti_on_init_missile which this: http://mbmodwiki.ollclan.eu/Fire_arrow_kit tutorial says to do.

However WSE is incompatible with the latest steam version of M&B WB.

How can I add a particle system and point_light to my flareammo item once it is fired from the flare gun?

Cheers.
 
I realise I can make it so when the missile (flare) hits an agent it can set them on fire etc. However I'm at a loss thinking of how to attach a particle_system or point_light to the actual missle after being fired from the crossbow (flaregun) without using WSE since its outdated. (Yes this is a shameless bump)
 
I believe modders of yore have usually written their code calculating the path of the shot as best they can because you can't attach particles to missiles. So you'd have to do some maths concerning velocity and all that jazz.
 
you could either make use of wse, like this:
http://forums.taleworlds.com/index.php/topic,200331.msg4816968.html#msg4816968
or you could make some incredible motherofgod supreme extra hardcore code like this, without WSE:
http://forums.taleworlds.com/index.php/topic,44408.msg1154704.html#msg1154704
 
后退
顶部 底部