prustage on 21/7/2008 at 00:13
Hi,
I am sure that this has been asked before and there may be an answer in the Wiki - but the Wiki hasnt been available for some time and I have waited nearly two weeks for this forum to come back online - so forgive me for covering old ground.
I want to have a piston that moves up and down continuously but I am not very adept at scripts. This is what I have done so far:
Created a sliding door
Made it frobable
Changed the mesh to a piston
Changed the axis of movement
I now have a piston that when frobbed will move up and on second frobbing will move down. What I want is that when frobbed it will continue to move up and down continuously.
I deleted the scripts that the object used and replaced them with my own single script that was based on the ones I deleted. The actions run like this:
ACTIONS
Open any doors on linked objects MYSELF
Close any doors on linked objects MYSELF
Start over, looping indefinitely until my owner is destroyed
I also set the "inherit" property to FALSE just in case any archetype scripts may confuse the issue.
I reckoned this would do the trick - but it doesnt. The piston still works in exactly the same way as it did before. Any ideas on what I should do to get a nice regular pumping action?
(incidentally there is a lot I am trying to learn about T3ED and the recent absence of this site and continued unavailabilty of the Wiki is really frustrating - does anyone have any links to any tutorials (other than Komags - which I have used and is excellent) that I can download?)
prustage
prustage on 21/7/2008 at 01:21
Whilst waiting for a response I tried an experiment.
I deliberately messed up my script by removing the Open/close door actions and added a load of extra stupid actions to see what happened, saved/ built / saved and ran. It made no difference at all - it still behaved like a sliding door. I then "emptied" all the scripts so (since "bEnableinherit" was set to false) there should have been no scripts associated with this object - ran again - no effect, the object still behaved like a sliding door.
Clearly, the problem isnt that there is something wrong with my script but that my script is having no effect at all!
I must be doing something fundamentally wrong in the way I am attaching a script to an object. Any ideas?
This is what I am doing:
* Select the object in 2D view, right click and select the properties for that object
* When the browser opens, go to the very bottom Properties section of the tree (presumably "this instance" rather than the archetype) and open it then find the "Scripts" branch.
* Expand "Scripts" and set "bEnableinherit" to "False"
* Under "TriggerScripts" click on "Empty" to remove all existing scripts.
* (If I then save, build and run I would expect the object not to respond in any way at all - but it does - it works like a sliding door)
* Click on "Add", open the Trigger scripts browser, select my own script, go back to the object browser and click " Use" - the name of my script appears in the previously empty "Scripts" field.
* Click "Done" on the object browser, build, save and run.
* RESULT : It still behaves like a sliding door...
HELP!!!!
prustage
massimilianogoi on 21/7/2008 at 06:25
To do this, I should have not get this way. Maybe is better the elevator function, which, with an appropriate script, should be loopable. I've already seen things like this.
Try searching in the forum for the something with "elevator". I hope to be useful. :)
Flux on 21/7/2008 at 10:17
That and a pagan will-o-wisp would work too. The will-o-wisp wiki entry is easy and I just tried it with piston mesh and it works. You can disable its emitter or change the color to something that would work with a piston.
prustage on 21/7/2008 at 10:40
Thanks guys - unfortunately the Wiki is still unreachable (internal server error) so I cant look up elevators or willos.
Could it be I am following the wrong link?
massimilianogoi on 21/7/2008 at 11:06
mumble... if I remember well, the tutorial on the elevator is not on the wiki, but here... try searching, and make me know
prustage on 21/7/2008 at 11:42
Basically - if I knew how to build elevators then I could sort this out but...
* I have searched for elevators and willos on this forum. Most of them keep referring to tutorials that have dead links and it is hard to work out what they are talking about without being able to see the tutorial in question.
* I have tried following Unreal tutorials but they keep referring to the "mover" button and "mover" menu which on T3ED seem to be disabled.
The remaining options I have are:
* Find a DROMED tutorial and "convert" it to T3ED - I think Komag has one on his site - but I suspect I will get into difficulty because of the differences.
* Try and find someone who has either a T3ED elevator or Will-o-the-wisp tutorial and could mail it to me?
* Wait until the T3ED Wiki is back - but how long??
* Abandon making a T3 fan mission and just do it in DromED instead for which there is a lot more info around.
Any suggestions?
prustage on 21/7/2008 at 11:54
Managed to find a thread on Willo-the Wisp with the tutorial pasted into a post! Dont know how I managed to miss this last time. I'll have a go at that and see.
Thanks for your help so far...
massimilianogoi on 21/7/2008 at 11:56
Now I have to lunch, in the next hours, or maximum tomorrow, I will help more detailing. Sorry, now I'm busy :(
prustage on 21/7/2008 at 12:34
My pistons are pumping at full strength - I am so pleased this forum is back online!
Thanks to all.:D
prustage