GayleSaver on 20/4/2002 at 15:19
A radiant tip from
Jocke:
Quote:
If you want auto-frob signs, like in Calendras Cistern, all you need is one object. The sign itself.
First create your sign and add the scripts StdBook, TrigWorldFocus and TrapStim.
Add Engine Features>FrobInfo and set world to Script and FocusScript.
Add the Book>Text.
Add a ControlDevice link from the sign to itself.
Add a receptron for ScriptStim, Intensity 1, action: Frob object; Me.
There you go, auto-read signs without any extra objects...
Danventry on 20/4/2002 at 17:05
Um, please excuse my newbie/amaeteur stupidity, but what is autofrob?
Z on 20/4/2002 at 17:18
" Auto - Frob " signs are signs and plaques which are read merely by looking at them, you don't have to actually click on them. It may not seem a particularly wonderful innovation, but it really is pretty cool, giving the impression that your just glancing at the sign to check what it says.
Well done Jocke and Gaylesaver.
Z
Jocke on 20/4/2002 at 18:10
Another tip:
If you have a locker or similar and having problems with being able to pick up objects through the door, do this:
Add S>Scripts to the door. Fill out the first empty field with TrigDoorOpen and check the Don't Inherit box.
Create a marker and add S>Scripts. Set the first field to TrapMetaProp.
Add a few links from the marker:
* Flavor: ScriptParams, From: the marker, To: FrobInert, Data: S1
* Flavor: ScriptParams, From: the marker, To: the object in the locker, Data: R@1
[/list=1]
Add a link from the door:
Flavor: ControlDevice, From: the door, To: the marker,
And there you go...
Ps. GayleSaver, change the name of this thread to something like Tips on custom scripts, or something, edit your scriptlist post and link to this. We can use this as a dumping ground for new ideas. It's easier to see when there's something new in this...
[edit]Right, you can't do that...:( Then start a new thread, and let this fall into the abyss![/edit]
gumdrop on 24/4/2002 at 17:10
Quote:
If you want auto-frob signs, like in Calendras Cistern, all you need is one object. The sign itself.
First create your sign and add the scripts StdBook, TrigWorldFocus and TrapStim.
Add Engine Features>FrobInfo and set world to Script and FocusScript.
Add the Book>Text.
Add a ControlDevice link from the sign to itself.
Add a receptron for ScriptStim, Intensity 1, action: Frob object; Me.
There you go, auto-read signs without any extra objects...
This sounds like a really cool little trick, but I don't get the
'add a receptron for ScriptStim' bit. I have found Frob Object in the effect list, set min & max intensity to 1, but no ScritpStim under the Stimulus pull down list. Can you clarify please?
GayleSaver on 24/4/2002 at 17:58
You need to add it yourself, save your gamesys, and reload your level.
gumdrop on 24/4/2002 at 18:33
Is there a tutorial somewhere on how to do this? I already have a custom .gam file due to sounds and T1 AI, but I wouldn't know where to start when it comes to creating custom Stims (?) or whatever.
Jocke on 24/4/2002 at 20:09
Open the object hiearchy.
In the drop down menu at the top, click on Act/React Stimuli.
Click once on Stimulus.
Click add.
Type ScriptStim in the box.
Save gamesys, reload level.
gumdrop on 25/4/2002 at 00:19
Beautiful. :thumb:
Anderl2 on 12/7/2003 at 17:54
howdy Jocke,
since days I am trying to put your interesting script-sample into a level, but the sign shows its text only with manual frobbing.
Is this 'TrigWorldFocus' a GayleSaver script, or does come with the normal gen.osm?
confusing