![]() |
Virtual Welding
Hey, I am trying to re-create my favourite hobby, ARC Welding.
I am wondering how I could create the "sparks" that fly off though. Here is the basics of my script so far. PHP Code:
|
ya use the particle system
|
Use a light particle, zoom it down and when you execute your welding action, make them fly off at random speeds in random directions.
|
I thought this thread was titled virtual wedding. Got my hopes up...
|
Quote:
Lol. Strange. |
Quote:
edit: uh I mean accidental -rep |
Quote:
|
Quote:
I pm'd you some compensation for your loss. |
Does anyone happen to know how to make an image fly off at a random direction?
maybe something like this? PHP Code:
|
Quote:
|
Quote:
|
@cbk1994 I can't test it because I am at work.
@Emera Thanks for the link il be sure to check It out. |
Quote:
|
I have now made the particle effect but how can I make it emit and stop emitting on command?
I have tried a few things but can't seem to get it to work. Here is how it's set up. PHP Code:
|
You can control the emitter's behavior by setting emitter.emitautomatically to true or false.
|
It was set to true by default, but changing emitter.stuff doesn't do anything O_o
|
Just hide the image if you don't want it to emit.
|
Hiding the image isn't realistic.
I have found out to make an emitter emit it has to be within the findimg, so it now works. Next up on the agenda is a way of hiding images when you're holding down the right mouse button and above them. |
If anyone's interested in the finished script, here it is.
I may add a blue particle effect in the centre for the realism, at a later date. PHP Code:
|
Quote:
|
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
That car wasn't stolen, I scripted it from scratch.
The image was made from photoshop. I was simply stating the functionality of it is very simmilar. And what do you mean by why not steal more stuff from Era? Are you implying that this welding idea was suposibly stolen from Era aswell? |
Quote:
Is that my staff panel in the top-right corner or just one mimicking it? I've seen that used on like 20 different UC servers (without exaggerating). I don't even recall it being that great (but if it is mine, feel free to keep using it). |
@cbk1994
I'm really not sure, Death put the script on Ghetto. Hoo-ray for twitter quotes! |
| All times are GMT +2. The time now is 12:57 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.