vfig on 18/12/2022 at 07:03
here is a script and sample .mis for an antigravity shaft, which—unlike a System Shock 2 style gravshaft—you can control how you move up and down it just by looking up and down:
Downloads:* (
https://github.com/vfig/t2tests/raw/master/test_autogravshaft/sq_scripts/test_autogravshaft.nut) script (put it in your mission's sq_scripts subdirectory)
* (
https://github.com/vfig/t2tests/raw/master/test_autogravshaft/test_autogravshaft.mis) .mis
* ((
https://github.com/vfig/t2tests/tree/master/test_autogravshaft) github)
Demo:[video=youtube;RKERNDUVlyg]https://www.youtube.com/watch?v=RKERNDUVlyg[/video]
Instructions:* Create a Room Archetype, called e.g. "AutoGravshaft". Give it the AutoGravShaft script.
* If you want particles in the gravshaft, create a particle object, and add a ScriptParams link from the room archetype to the particle object, with the data set to Particles. The particle object should have the StdParticleGroup script.
* If you want the grav shaft to be turned off initially, add AutoGravShaftOn=0; to Editor>Design Note.
The gravshaft will turn on and off in response to TurnOn and TurnOff messages send to the room archetype.
Note: due to the way room objects work, you will need a new Room Archetype, set up as above, for each individual gravshaft.
Bonus content:the whole stream of me learning about gravshafts and creating this script is also (
https://www.youtube.com/watch?v=IuNa_R-_hKw) on youtube.
(this isnt new, but i guess i didnt post it yet? also on request i just updated it so it supports being turned on or off)
Hit Deity on 18/12/2022 at 14:30
I had forgotten these were even possible until I was playing Rowena's Curse recently. Nice little "magical" touch, or possible "sci-fi" gadget..
I'm kinda torn 50:50 on them, but I do think they have their niche sometimes.
Thanks for taking the time to do a how-to on it, I will check it out..