Members | Sign In
All Forums > Mission Scripting
avatar

Scripted Special Effects

posted Jan 26, 2012 23:44:03 by Vorus
I was wondering how possible it would be to add scripted special effects? For instance, there have been a couple of times when I have wanted to destroy an object, but it would be so much cooler if I could add in an explosion. Or have a derelict ship that is smoking, or has engine trails as it tumbles around. They could even be used to make it look like neutrals were shooting each other, if we had enough control.

Like I said, I have no idea how possible this is, but it can't hurt to ask.
-----------
Khomerex nal Khesterex

The unofficial Artemis Wiki, your best source for Artemis Information
page   1
7 replies
avatar
Eric said Jan 27, 2012 02:33:04
Could you do some of that with the generic mesh?
avatar
Vorus said Jan 29, 2012 00:06:09
Ehhh, sort of. If I could get genericMeshes to fly toward other genericMeshes, I guess you could make a missile that would appear to shoot from one ship to the other, but I don't know if it's possible to direct one genericMesh to another yet.

I tried making an "explosion" genericMesh that was just an asteroid with an explosion texture would appear for a half-second, but it wouldn't work right, I think it was a client-server communication issue.
-----------
Khomerex nal Khesterex

The unofficial Artemis Wiki, your best source for Artemis Information
avatar
Mike_Substelny said Jan 29, 2012 10:04:49
I have used generic meshes for special effects, but I don't know enough about 3-D modeling to make an explosion, smoke trail, etc. from a mesh.

I think it's only a client/server communication issue when you see something on the forward viewscreen that looks different on one or more consoles.
"Damn the torpedoes! Four bells, Captain Drayton!"

(Likely actual words of Admiral David Farragut, USN, at the battle of Mobile Bay. Four bells was the signal for the engine room to make full steam ahead).
avatar
Vorus said Jan 31, 2012 14:40:16
My problem was that I could get it to flash into and right back out of existence just fine if I did it at the beginning of the mission, but if I tried to trigger it when I actually wanted it, it would either appear in the far upper right corner for a half second, and then be gone, or I could increase the timer, and have it appear where I wanted. I could never get it to be both short-lived and correctly located. I figured it must have just been too short a time limit to create tho object, put it in the right place, and give it the spin I wanted, and do that across all clients.

It didn't look that good anyway, so I just gave up. I just think it'd be easier and look better if there was a way to trigger the already existing effects. Imagine how cool it'd leek if you could trigger a minefield to explode in a wave pattern, or have a comet with an engine trail, or something like that.
-----------
Khomerex nal Khesterex

The unofficial Artemis Wiki, your best source for Artemis Information
avatar
Mike_Substelny said Jan 31, 2012 14:54:25
I don't know if you can direct one mesh to another yet. I believe that Thom intends to give generic meshes access to the new AI stack but it is not there yet.

I also believe that Thom said in another forum that the upcoming Game Master Console is requiring him to re-write the code for client-server communication. That means a future version of Artemis may allow your existing code to work right and look exactly the way you hoped.

Also, the new method of ship creation is pretty powerful. If you don't mind editing vesselData.xml file you might experiment with using a ship as your missile. You could bring it to the target with the ATTACK block.

Finally, for a long time I've wanted a generic mesh that was skinned on the inside instead of the outside but I've been too lazy to learn to build it myself. But imagine a sphere that was painted bright white on the inside. If you put Artemis inside that sphere for a split second the crew would see a blinding flash on the main viewer.
"Damn the torpedoes! Four bells, Captain Drayton!"

(Likely actual words of Admiral David Farragut, USN, at the battle of Mobile Bay. Four bells was the signal for the engine room to make full steam ahead).
avatar
Charlie said Feb 02, 2012 03:39:34
if you could trigger a minefield to explode in a wave pattern, or have a comet

inside that sphere for a split second the crew would see a blinding flash


Nice ideas
avatar
Vorus said Feb 03, 2012 00:27:34
Oooh, good idea, it shouldn't be too hard to make an inside-out sphere. I'll check it out.
-----------
Khomerex nal Khesterex

The unofficial Artemis Wiki, your best source for Artemis Information
Login below to reply: