Please ask your basic (newbie) questions in here. - by scumble
bobrpggamer on 30/1/2007 at 08:54
I have been working on an fm for about 2 months, I am only half done but wanted to try and get it working in the standard theif 3 game through garretloader, to make sure i am not wasting time.
I can get all the way in the game to where the player starts. However there is this crazy thing with the video, where it will not redraw the screen an make a ghost like trail all over the screen! It works fine in the editor t3.exe no problems at all. I know it is my fm only, because I tried others with garret loader and had no problems.
I tried all kinds of ways to fix it but nothing works.
Another thing is that when i create the ibt, i get a ridiculous amount of errors in the t3main.log, like 5 pages of them.
please let me know if this has happened to anyone else and if they have a cure.
thanks guys.
STiFU on 30/1/2007 at 09:30
Don't worry. I think this is a known bug and it has something to do with including the shaders. At least that's what I remember. The others will be able to help you for sure...
bobrpggamer on 30/1/2007 at 20:23
thanks STiFU.
You made my day.
Seems the shaders do in fact need to be there, now i can finish my FM.
Tiens on 31/1/2007 at 15:55
Could someone help me, please?
My idea is to make five teleports from five books. To teleport to five new rooms (other maps of this level) Garret will take five things (as a hammer, a bird ect.) and activate every book taching by its simbol - a hammer book with a hammer and ect.
I`ve made this mesh as a key in inventory... made books fly... but the best I can do is to open a DOOR (not a book and teleport) by a hammer... I do not know what to do else...:confused:
Is it possible? And how to do it?
P.S. Sorry for my bad English - I`m from Russia.
Ziemanskye on 31/1/2007 at 21:47
This is probably beyond the basic (newbie) questions thread, but yes, it is possible.
You do it with teleport Volumes, which are inactive: when the item is used on the book that should set off a script which activates the teleport volume. The volume script may need it's own "When this Volume is breached by [Category_Player]... type script.
Woosh and you're in the new location. Just remember to turn the volume off at the far end (otherwise *I think* you might end up teleporting everytime you go near the book, because the volume is still active)
I'm not sure if you can have the book show up while this is happening, but I don't see why not. I don't know how you force the book screens open though - I think Glaswolf knew though, so there's hope at least someone else around here can help with that if it's needed.
Tiens on 1/2/2007 at 11:28
Thank you for your answer! Great idea, I`m trying to make it work at the moment. It`s my first teleport but "the hope dies after the wold":D
Trully I did not think that the book will open before the player will teleport. But NOW I think that the active mesh "Closed book" can be replaced with active mesh "Opened book" by hammer`s touch and only after that that book can teleport by player`s touch. I`m studing The Shalebrige Cradle for this effect.
I`ll gladly open a new topic if I`ll find out how to do it... I`m first time at a forum, sorry...
Ziemanskye on 1/2/2007 at 13:30
We're a friendly group, on the whole, and we will help if we can - this thread just got a bit full of higher-level questions like this one that can be searched quicker if they're seperated. (There's a New Thread button, top right, or somewhere failry obvious if you look around for it and need it)
I am fully confident this hasn't come up before though: I only ended up messing with Teleporters when playing with the Matinee stuff (since Garrett's head comes off his body, but the body stays where it was when the camera moves, I was using scripts to teleport G from one of the camera path to the other)
You are going to end up with a lot of scripts on this effect, but it sounds like it's going to be unusual and cool, so it'll be worth it.
Tiens on 2/2/2007 at 00:54
To Ziemanskye:
Thanks! Now I see this "Tread" button - I was wrong translating its name.
As for teleport book: everything works by itself but not together!
I made a teleport (it works), than I locked it, than I gave to opened book script "Push button" and to teleport volume scripts "Togle Locked", "Open Door", "Close Door" - everything as for a button and a secret door. It does not works even when I`m trying to change "Frob" to book and volume. Does it need anything else?
Please help!
Ziemanskye on 2/2/2007 at 10:15
This could be hard to do across the language differences, since I use English natively and you don't - meaning in this case I'm not sure what you have working and have tried.
So, as I understand it:
Components - Teleport Volume and Target, Closed Book (as a door) and Item to use on it
Desired Actions - Use the Item on the Books > opens the books, activates the teleport (possibly consumes the Item)
Rough Scripts I'd Use (there will be other ways to do this) -
Code:
If (player uses the Item on the Book)
Set a Flag (TeleportBook01) = True
Trigger Door at end of Link (*To open the book, though in truth I'd likely have the ClosedBook and OpenBook as seperate StaticMeshes, one bOutOfWorld either way and just swap them)
ChangeProperty (IsActive) on Volume (Link) to TRUE
(*Do NOT reset script, we only want this to work once, I think)
Code:
(When Volume (Myself) is Breached by Player) && Flag (TeleportBook01)
Teleport player to (TeleportDestination)
Set Flag (TeleportBook01) = False
ChangeProperty (IsActive) on Volume (Myself) to False
Now it's been a while since I've played with the scripting, but I think that should do it, once you work out how to translate the fragments into whatever we actually have as Conditions and Actions.
The volume is a volume, not a door, so the locked, Open Door and Closed Door scripts won't work with it. Depending on how the book is set up they might with that, but I'm not sure if you can lock doors open. The Volume just needs it's own VolumeActive property or whatever it is called turned to True when you want it to work: if the player is inside it when it activates it *should* just teleport the player instantly.
If you only want the player to teleport when they frob the book a second time (first time opens it) then the book sets the VolumeActive, waits a second or two then turns it off again: the volume itself doesn't really do anything in that case apart from set the TeleportDestination and flicker into life. I think - as I say it's been a while: you may still need the "When Breached By Player > Teleport To ____" script on the volume.
Tiens on 2/2/2007 at 23:46
IT WORKS!!! Yes! Thank You! Thank You! If it was not TOO personal, I would say "I love you":joke: ...
I'll tell a litle about it if you do not mind.
First of all I could not find how to "Set a Flag (TeleportBook01) = True", sorry. Could you explain what is it and why it is necessary?
Second, I decided to "Lock" the volume like a door because under Actor Links the Editor showed "Attach IsLocked script". Well, I belived to a lie:joke:
Now about scripts:
Player takes a hammer from his inventory, uses it on a book and - mama mia! - he is in new room.
Script "InvHammer_OnBook":
Conditions:
1) Recieved trigger message [Hammer1];
2) Query if linked objects [PLAYER] are within [128] unreal units from linked objects [MYSELF]
Actions:
1) Send trigger message [TeleportBook01]
2) Set the 'Enabled' flag to [TRUE] for a volume poited by trigger link [TeleportBook01]
Script "InvHammer_OnVolume":
Conditions:
1) Recieved trigger message [TeleportBook01]
(By the way! Everything works withought "When linked volume [MYSELF] is breached by the player"!!! I do not know why... Could this condition be "automatic" or "bild in"???:confused: )
Actions:
1) Teleport the object at end of [PLAYER] to Destination Teleport = [HHYard1]
And then I created a Triger Link from Book to Volume with name "TeleportBook01".
That's all.
In any case there is a bug:
player has to come into the volum AFTER using the book. If (when he is using the book) he is ALREADY inside the volume, he has to come OUT of it and then again come INTO volume. :confused:
Any suggestions are welcome!
Best regards!