ShootersForever.com Forum Index

GoldenEye 007 Nintendo 64 Community, GoldenEye X, Nintendo 64 Games Discussion
GoldenEye Cheats, GoldenEye X Codes, Tips, Help, Nintendo 64 Gaming Community


Walk To Bond

 
Post new topic   Reply to topic    ShootersForever.com Forum Index -> Q-Lab Hacking Department
View previous topic :: View next topic  
Mips97
Agent
Agent


Joined: 19 Mar 2018
Posts: 5

 PostPosted: Mon Mar 19, 2018 10:51 am    Post subject: Walk To Bond Reply with quote Back to top

Hello everyone!

How do you get a guard to walk to Bond in an action block?

I am using this block:

2900 Walk To Bond, Return Loop When Reached Bond
0200 Resume If Return Value Loop Met
04 Terminator

I thought this would work because I thought it would keep executing 2900 until it was finished, then it would jump to 0200.

It does not work and the guard simply walks around in random circles.

How do I fix this?

Thanks!
 
View user's profile Send private message Send e-mail
pavarini
00 Agent
00 Agent


Joined: 07 May 2015
Posts: 479

 PostPosted: Mon Mar 19, 2018 11:15 am    Post subject: Reply with quote Back to top

Add a jump to infinite loop after 0200. Without it the entire block will loop repeatably.
 
View user's profile Send private message
Lazlo52
Secret Agent
Secret Agent


Joined: 18 Nov 2017
Posts: 331
Location: N.J.

 PostPosted: Mon Mar 19, 2018 12:43 pm    Post subject: Reply with quote Back to top

Oh, I see the issue here. The action doesn't Return "when reached Bond" at all. It actually Returns if the guard is able to walk to Bond and has successfully started walking. The block will keep executing while the guard walks, which is why you need to go into a different loop or just jump to 0001 to end the routine.
_________________
Quote:
22 not happening nerds. forget about it. 23 til the day i die.
 
View user's profile Send private message
Mips97
Agent
Agent


Joined: 19 Mar 2018
Posts: 5

 PostPosted: Mon Mar 19, 2018 1:34 pm    Post subject: Walk To Bond Reply with quote Back to top

pavarini wrote:
Add a jump to infinite loop after 0200. Without it the entire block will loop repeatably.


Thanks! It worked.

I'm trying to expand on this action block and I'm using a bunch of blocks jumping to and from each other. I'm trying to get the guard to first jog to Bond, then display text and start a timer. While the timer is under the value 250, if at anytime the guard sees that it is not inside the proximity of 1E around Bond, it will jog to Bond until it is in that proximity again. Once the timer passes the value 250, I want it to go into an infinite loop and do nothing.

When I use these action blocks, the guard jogs to Bond and shows the text but then does not jog to me if I run away from him.

Here are the action blocks:

ACTION BLOCK 403

0200 Resume If Return Value Loop Met
2803 Jog To Bond, Return Loop When Reached Bond
0203 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
4B001E05 Return Value Loop If Within Proximity Of Bond (001E)
2F04 When Guard Stops Moving, Return Value Loop
0103 Go To Beginning, Then Return Value Loop
0204 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
4B001E05 Return Value Loop If Within Proximity Of Bond (001E)
0100 Go To Beginning, Then Return Value Loop
0205 Resume If Return Value Loop Met
08 Guard Twitches
05010405 Jump To Function (Parka: Grey Snowsuit, Hooded) (JAL TO: 0405)

04 Terminator

ACTION BLOCK 405

C37C08 Display Text Preset Top Screen - Communications dish powered down.*

AE Reset Cycle Counter And Enable It
05010407 Jump To Function (Parka: Grey Snowsuit, Hooded) (JAL TO: 0407)

ACTION BLOCK 407


0200 Resume If Return Value Loop Met
B400025006 If Cycle Counter > Value, Return Value Loop (000250)
4B001E05 Return Value Loop If Within Proximity Of Bond (001E)
0201 Resume If Return Value Loop Met
05010406 Jump To Function (Parka: Grey Snowsuit, Hooded) (JAL TO: 0406)

0205 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
0100 Go To Beginning, Then Return Value Loop
0206 Resume If Return Value Loop Met
05010001 Jump To Function (Parka: Grey Snowsuit, Hooded) (JAL TO: 0001) End Routine (Loop forever)

ACTION BLOCK 406

0200 Resume If Return Value Loop Met
2803 Jog To Bond, Return Loop When Reached Bond
0203 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
4B001E05 Return Value Loop If Within Proximity Of Bond (001E)
2F04 When Guard Stops Moving, Return Value Loop
0103 Go To Beginning, Then Return Value Loop
0204 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
4B001E05 Return Value Loop If Within Proximity Of Bond (001E)
0100 Go To Beginning, Then Return Value Loop
0205 Resume If Return Value Loop Met
08 Guard Twitches
05010405 Jump To Function (Parka: Grey Snowsuit, Hooded) (JAL TO: 0407)

04 Terminator
 
View user's profile Send private message Send e-mail
pavarini
00 Agent
00 Agent


Joined: 07 May 2015
Posts: 479

 PostPosted: Mon Mar 19, 2018 2:10 pm    Post subject: Reply with quote Back to top

Try using this block, it worked for me.
Code:
0401:
0200 Resume If Return Value Loop Met
2801 Jog To Bond, Return Loop When Reached Bond
0201 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
4B001E03 Return Value Loop If Within Proximity Of Bond  (001E)
2F02 When Guard Stops Moving, Return Value Loop
0101 Go To Beginning, Then Return Value Loop
0202 Resume If Return Value Loop Met
0100 Go To Beginning, Then Return Value Loop
0203 Resume If Return Value Loop Met
AE Reset Cycle Counter And Enable It
170001000004 Guard Constantly Angles To Face, Return Value Loop  (Aim at Bond)
0204 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
4B002604 Return Value Loop If Within Proximity Of Bond  (0026)
B0 Disable Cycle Counter
2806 Jog To Bond, Return Loop When Reached Bond
0204 Resume If Return Value Loop Met
C37C08 Display Text Preset Top Screen  - Communications dish powered down.*
B40000FA05 If Cycle Counter > Value, Return Value Loop B4 (0000FA)
0104 Go To Beginning, Then Return Value Loop
0205 Resume If Return Value Loop Met
05FD0001 Jump To Function  (Guard [whatever called it]) (JAL TO: 0001) End Routine (Loop forever)
0206 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
4B001E07 Return Value Loop If Within Proximity Of Bond  (001E)
2F07 When Guard Stops Moving, Return Value Loop
0106 Go To Beginning, Then Return Value Loop
0207 Resume If Return Value Loop Met
170001000008 Guard Constantly Angles To Face, Return Value Loop  (Aim at Bond)
0208 Resume If Return Value Loop Met
B1 Enable Cycle Counter
0104 Go To Beginning, Then Return Value Loop
04 Terminator
 
View user's profile Send private message
Mips97
Agent
Agent


Joined: 19 Mar 2018
Posts: 5

 PostPosted: Mon Mar 19, 2018 7:41 pm    Post subject: Walk To Bond Reply with quote Back to top

Thank you guys! Smile
 
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    ShootersForever.com Forum Index -> Q-Lab Hacking Department All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Cobalt 2.0 BB theme/template by Jakob Persson.
Copyright © 2002-2004 Jakob Persson


Powered by BB © 01, 02 BB Group

 


Please Visit My Other Sites: GoldenEyeForever.com | GrandTheftAutoForever.com

Got kids? Check out my Dora The Explorer site with games and coloring pages!

Our forums feature Nintendo 64 games, GoldenEye 007 N64 New Maps and Missions, GoldenEye Cheats, N64 Emulator, Gameshark, GoldenEye Multiplayer and more!

[ Privacy Policy ]