Page 1 of 1

Adding Scripts to maps that don't have them.

Posted: Tue Aug 05, 2008 7:13 pm
by DemonicSandwich
Adding Scripts via Entity
This tutorial will show how to add a Scripts reflexive to a map whom does not have one using Entity.

Download the Video
ScriptTools.rar
The Scripting app.
(185.71 KiB) Downloaded 560 times
Foundation Scripts.serenity
The map used in the tutorial.
(917.97 KiB) Downloaded 510 times
scripts.txt
The Drunken Monkey script and repair script.
(229 Bytes) Downloaded 470 times
Credits:
Soldier of Lite: Script Tools
snakejknight: Drunken Monkey script

Re: Adding Scripts to maps that don't have them.

Posted: Tue Aug 05, 2008 7:56 pm
by Click16
nice, i will look into this as soon as possible. Sound interesting

Re: Adding Scripts to maps that don't have them.

Posted: Tue Aug 05, 2008 8:24 pm
by DemonicSandwich
Just a note. That "Drunken Monkey script is more like "Monkey on LSD". :lol:

Re: Adding Scripts to maps that don't have them.

Posted: Tue Aug 05, 2008 8:33 pm
by neodos
Very nice, thank you :)

Re: Adding Scripts to maps that don't have them.

Posted: Wed Aug 06, 2008 2:00 am
by xxpenguinxx
DemonicSandwich wrote:Just a note. That "Drunken Monkey script is more like "Monkey on LSD". :lol:
Thats all you needed to say for me to try this :shock:

Re: Adding Scripts to maps that don't have them.

Posted: Sun Aug 30, 2009 9:03 am
by CaptainPoopface
The video link is broken. Can you re-upload or explain in text?

Re: Adding Scripts to maps that don't have them.

Posted: Sun Aug 30, 2009 5:08 pm
by DemonicSandwich

Re: Adding Scripts to maps that don't have them.

Posted: Mon Oct 05, 2009 10:48 pm
by Aumaan Anubis
Moved to Tutorials.

Re: Adding Scripts to maps that don't have them.

Posted: Tue Oct 06, 2009 1:35 am
by CaptainPoopface
Yeah, this worked for me.

To sum up the video in text, you copy the scripts reflexive in the scnr from a map that has one, and add it to the scnr of the map where you want scripts. When you open the transferred scripts in Script Tools, they will be corrupted. Replace them with the stub script included in the readme for Script Tools, and then compile those stub scripts. Then decompile them and replace them with the actual scripts you want to use, and compile. If you check your compiled scripts, they may be missing a few letters. Just decompile, paste them again, and recompile, and that should fix it.

This was not in the video, but I figured it out: If your scripts refer to script objects such as a ctrl for switching or activating something, you must build those reflexives into the map and copy the corresponding reflexives into the scnr, or your scripts will not compile.