17-09-11, 11:03 | #1 |
Member
Joined: Jul 2009
Posts: 4,742
|
Enter "Walking" mode?
Hello there
As Im in need for this of my own project I wanted to ask how I can force Lara to enter the walking mode like in AoD. So if I press Shift a small icon on the right bottom appears and Lara enters walking mode. If I press shift again to make the icon dissappear and exit walking mode. So I basically thought to register a variable value for the first time when shift is pressed and with a GT that the variable is X the Walking key would be forced by the engine. But I fear that this would end up in a loop and the variable would be activated the whole time again and again. Maybe someone can help me in this matter? |
17-09-11, 11:57 | #2 |
Member
Joined: Nov 2007
Posts: 1,689
|
Why donīt you do simply a GT, which displays the wished image on pressing the shift-key?
|
17-09-11, 12:08 | #3 | |
Member
Joined: Jul 2009
Posts: 4,742
|
Quote:
I mean it like that: If you press the "Walk" button once, Lara will enter walk mode and will walk if you simply press the direction keys ( in classic TR you need to HOLD the "walk" key) and she can't run without you pressing "walk" again ( where she exits "walk" mode) I hope I expressed myself right |
|
17-09-11, 12:35 | #4 |
Member
Joined: Nov 2007
Posts: 1,689
|
No,didnīt play AoD.
So simply keep the Walk-button pressed via GT. Whatīs the problem? Why use a variable? Just experiment and see. Probieren geht über studieren! |
17-09-11, 13:41 | #5 | |
Member
Joined: Jul 2009
Posts: 4,742
|
Quote:
But how can I exit from the "walking mode" then, so Lara can run again? If I force the walk button with a GT Lara wont be able to run at all |
|
17-09-11, 13:54 | #6 |
Member
Joined: Jun 2010
Posts: 1,503
|
Maybe you could disable the "press walk key to enable walking mode" GT once she is in the walking mode and enable the "press walk key to enable running mode" GT
|
17-09-11, 14:08 | #7 |
Member
Joined: Nov 2007
Posts: 1,689
|
You need two GT then and yes,you have to work with a variable.
The first GT forces the walking, sets the bit in a choosen variable and shows the pic under the conditions, that the variable bit is clear and the walk-key pressed. The second GT releases the walk-key, removes the pic and clears the bit under the conditions, that the bit is set and the walk-key pressed. edit: wait, you have to choose another key to end the walking. To use the walk-key again wouldnīt work, I think. Last edited by Raymond; 17-09-11 at 14:12. |
17-09-11, 14:29 | #8 |
Member
Joined: Jul 2009
Posts: 4,742
|
hmm
I tried it with a few GTs and TGs and an Organizer but it wouldnt work properly: Code:
GlobalTrigger=1,FGT_SINGLE_SHOT_RESUMED,GT_GAME_KEY1_COMMAND,KEY1_WALK,IGNORE,1,IGNORE TriggerGroup=1,$2000,109,$100, $2000,109,$201, $2000,127,$1 ; disables GT1/ enables GT2 / start Organizer 1 TriggerGroup=3,$2000, 53, $1407 ; simulates pressing of walk button 35 seconds Organizer=1,FO_TICK_TIME,FO_LOOP,1,3 GlobalTrigger=2,FGT_SINGLE_SHOT_RESUMED+FGT_DISABLED,GT_GAME_KEY1_COMMAND,KEY1_WALK,IGNORE,2,IGNORE TriggerGroup=2,$2000, 128, $1,$2000, 109, $200,$2000, 109, $101 ; stops Organizer 1 / disables GT2 / enables GT1 Last edited by Laras Boyfr.; 17-09-11 at 15:01. |
17-09-11, 14:45 | #9 | |
Moderator
Joined: Jul 2003
Posts: 33,359
|
Quote:
|
|
17-09-11, 15:00 | #10 |
Member
Joined: Jul 2009
Posts: 4,742
|
|
Thread Tools | |
|
|