New Horizon on 19/9/2005 at 01:48
I think this is the best I can do to get them working.
Here's how they work ingame. It takes two trigger scripts.
Both are put on the pick that you add to inventory. :)
1.
Condition:
When I am used in any way from the inventory.
Action:
Set player can lockpick to true...yadda yadda.
Reset Scripts
2.
Condition:
Fire This condtion every 10 seconds. (should I make it longer?)
Action:
Set player can lockpick to false yiddi yiddi yah.
Reset scripts.
Basicaly, you cycle to the lockpicks in your inventory. Hit the use key. You then have 10 seconds...or more if anyone thinks it should be a longer timeout...to initiate lockpicking. The timeout can probably be rationalized since we would hardly want Garrett to stand around with both hands occupied in a busy castle. He needs to be ready at a moments notice. ;)
At any rate, it works. I'll have to try and create a hud icon that has boths picks displayed..instead of the single pick currently displayed.
jolynsbass on 19/9/2005 at 01:51
Fantastic news!
Is there any chance of this working in the OM's ? Part of the Minimalist?
Or will it only work with FM's?
Congrats on getting something to work! I know it can be a bear with T3ed...
ascottk on 19/9/2005 at 01:57
Easy solution! I thought there was a combined lockpick icon in there somewhere. I can't seem to find it though :erg:
New Horizon on 19/9/2005 at 02:07
Only issue I have left...and this may be the hardest part since I can't seem to find the answer in the trigger scripts. Everytime you do this, the "New Upgrade Acquired" text message and sound plays. Anyone know how to disable this on lockpicking?
For some reason, I thought it was a trigger script that made the sound and message play. Hmmm.
As for it working in Minimalist, it definately would but since keys have to remain automatic in Minimalist, I don't think it's worth the effort to bother. Best to keep making improvements with this deluxe version of T3Ed and get some FM's out of it. :) We're going to have some fun folks.
ascottk on 19/9/2005 at 02:19
There's a flag:
HelpTextClimbingGlovesDone
So a script would go:
ACTIONS:
Set flag [HelpTextClimbingGlovesDone] to [TRUE] . . . .
New Horizon on 19/9/2005 at 02:25
Quote Posted by ascottk
There's a flag:
HelpTextClimbingGlovesDone
So a script would go:
ACTIONS:
Set flag [HelpTextClimbingGlovesDone] to [TRUE] . . . .
Doesn't have anything for Lockpicks though. ;) I wonder if the upgrade message chime and popup message are hard coded somewhere?
ascottk on 19/9/2005 at 02:29
Quote Posted by New Horizon
Doesn't have anything for Lockpicks though. ;)
Duh . . . I've been in T3Ed for too long :bored:
Make a flag for lockpicks and see if that'll work . . . climbing gloves . . . sheesh
HelpTextLockpicksDone
New Horizon on 19/9/2005 at 02:31
Quote Posted by ascottk
Duh . . . I've been in T3Ed for too long :bored:
Make a flag for lockpicks and see if that'll work . . . climbing gloves . . . sheesh
HelpTextLockpicksDone
:D I'll give that a try and see what happens. :)
rujuro on 19/9/2005 at 02:40
Small suggestion on the lockpick script, it seems you could do that with just one script (unless I am missing something):
Conditions:
When I am used in any way from the inventory
Actions:
Set Player can lockpick to True
Wait 10 games seconds
Set Player can lockpick to false
Reset scripts and conditions
New Horizon on 19/9/2005 at 03:18
Quote Posted by rujuro
Small suggestion on the lockpick script, it seems you could do that with just one script (unless I am missing something):
Conditions:
When I am used in any way from the inventory
Actions:
Set Player can lockpick to True
Wait 10 games seconds
Set Player can lockpick to false
Reset scripts and conditions
Damn, you're probably right. :) I'll try that.
Didn't want to work with both settings in one script for some reason. I'm trying something else though.
When I am used in a way from the inventory.
Action:
Send Trigger Message {playerhaspicks}
Set player can pick to true.
Second script.
Received Trigger Message.
Action:
Delay 10 game seconds.
Set picks to false.
This is much better than my original scripts that fired every ten seconds. :) Works like a charm too.
Ascottk, I tried your suggestion in regards to getting rid of the upgrades message and sound indicator but it doesn't affect it. I think that flag would only affect a help popup.
I'm hoping that this stuff isn't hard coded somewhere as it will be really annoying if we have to put up with 'upgrade' nonsense everytime we use the picks.