Jump to content

making particles appear in especific part


Gouveia

Recommended Posts

Hey again guys. Now the thing I was thinking to do is like this:

 

IFButtons 1 and 2(to be defined)are  pressedTHENcreate explosion in front of car

 

 

Or this

 

 

IFbuttons 1 and 2 are pressedTHENset car speed to very highcreate particles on boot

 

can this be done?

Link to comment
Share on other sites

Yes.

Ha, you can count on random to be the most helpful of all people. tounge.gif

Why the sarcasm? He answered all of his questions!

 

 

--

Seriously though. At least after knowing its possible, he should do such easy research on his own, like searching known opcode sources for "particle". You don't have to go that extra few meters like you have. tounge.gif

Link to comment
Share on other sites

i think he was talking about creating emitter at specific component of ingame vehicle, which is impossible neither on SA engine. creating static fxsystem will not satisfy his needs in this case either. finally these "atached" to ingame objects are not atached they just get new coordinates for emiter from i.e. vehicle position, what means: at speeds i.e. above 10m/s the effect will be terrible as the particles will travel at speed assigned from the definition file not a vehicle.

thru opcodes you are unable to attach particles in the way the game engine does that (giving them correct velocities of vehicle) and spawning them at vehicle components.

Link to comment
Share on other sites

Well, this isn't quite 'placing on a certain component' really, as he just wants the boot - basically simply the end of the car, which is fairly possible to achieve I'd say, without hardcoding offsets/coords.

Link to comment
Share on other sites

hmmm, ok... How can I make it make an explosion in the front of the car, like a bazooka or make it shoot? I know I might be asking too much... biggrin.gif

Link to comment
Share on other sites

are we talking about visual effects now or about enviromental effects like explosion (visible plus physical)?

get vehicle coordinates XYZ with offset, then create explosion or fxsystem at coordinates you have.

if you want to make vehicle shot non guided missiles you just create apropriate missile/object and then make it move-most probably in loop.

Edited by PLPynton
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.