Members | Sign In
All Forums > Mission Scripting
avatar

GM command to kill all power in the engineering console

posted Apr 30, 2013 05:42:51 by anwoke8204
hi, I am looking for a way to implement a GM command where the GM presses a key and all power to all systems gets cut/turned off? is there any way to do this? where the GM can overide the engineering console?
[Last edited Apr 30, 2013 05:43:03]
page   1
9 replies
avatar
lucas99801 said Apr 30, 2013 08:47:55
i don't believe there is a way to adjust the amount of power to each system. You could however, force energy to 0, or damage all systems.

But if you did that you'd want to also store the original values so that you could bring them back.
Hosting a Mumble (Murmur) server @ tsnfenrir.no-ip.org
Having trouble connecting to the TeamSpeak channel: http://tsnfenrir.no-ip.org/ts3
Helm Script for Numerical heading input: https://dl.dropbox.com/u/10193809/ArtemisHelmFSW.zip
Twitter: @lucas99801
Facebook: /lucastarnold
avatar
anwoke8204 said Apr 30, 2013 08:49:21
ok, how would I force energy to 0?
avatar
lucas99801 said Apr 30, 2013 08:52:48
set property energy of artemis to 0

easy to find if you're in the mission editor.

if you're doing straight xml i can get it written up for you
Hosting a Mumble (Murmur) server @ tsnfenrir.no-ip.org
Having trouble connecting to the TeamSpeak channel: http://tsnfenrir.no-ip.org/ts3
Helm Script for Numerical heading input: https://dl.dropbox.com/u/10193809/ArtemisHelmFSW.zip
Twitter: @lucas99801
Facebook: /lucastarnold
avatar
anwoke8204 said Apr 30, 2013 08:53:37
we need it as an option where the GM presses a key and it drops it to O
avatar
lucas99801 said Apr 30, 2013 08:54:03
one sec.
Hosting a Mumble (Murmur) server @ tsnfenrir.no-ip.org
Having trouble connecting to the TeamSpeak channel: http://tsnfenrir.no-ip.org/ts3
Helm Script for Numerical heading input: https://dl.dropbox.com/u/10193809/ArtemisHelmFSW.zip
Twitter: @lucas99801
Facebook: /lucastarnold
avatar
lucas99801 said Apr 30, 2013 08:55:32
What key do you want it to be?
Hosting a Mumble (Murmur) server @ tsnfenrir.no-ip.org
Having trouble connecting to the TeamSpeak channel: http://tsnfenrir.no-ip.org/ts3
Helm Script for Numerical heading input: https://dl.dropbox.com/u/10193809/ArtemisHelmFSW.zip
Twitter: @lucas99801
Facebook: /lucastarnold
avatar
lucas99801 said Apr 30, 2013 09:01:30
<event name_arme="Event 2" id_arme="dc4ddd36-4703-4f4e-b551-5f8e1f5d22a2">
<if_gm_key keyText="O" />
<set_object_property property="energy" value="0.0" name="Artemis" />
</event>

There's the XML to set energy to zero. Place it before the </mission data> in the .xml using notepad and it will be the last event next time you open it in mission editor. Used O key.
Hosting a Mumble (Murmur) server @ tsnfenrir.no-ip.org
Having trouble connecting to the TeamSpeak channel: http://tsnfenrir.no-ip.org/ts3
Helm Script for Numerical heading input: https://dl.dropbox.com/u/10193809/ArtemisHelmFSW.zip
Twitter: @lucas99801
Facebook: /lucastarnold
avatar
Mike_Substelny said Apr 30, 2013 14:58:00
Crafty players might convert homing torpedoes to energy. You can also have a script command to destroy all torpedoes in storage, but a mission script cannot destroy torpedoes in the tubes.
"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
anwoke8204 said May 02, 2013 08:00:36
we need it to also store the origional Value so we can "undo" it
Login below to reply: