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


Joined: 13 Jun 2012 Posts: 44
 |
Posted: Wed Jun 13, 2012 6:56 pm Post subject: Hostage |
 |
|
In my recent mission I have a few hostages thrown in, they react differently when they see bond, some might try to run others will huddle up in a fetal position etc. I want to make the Terrorist kill any of the hostages who try make a break for it before they can, any ideas on how i can do this?
Terrorist action block.
Code: |
0401:
9D00000040 Set Guard Bit Tags (00000040)
900070 Set Guard Armor Amount (0070)
8F0020 Set Guard Health (0020)
51002000 Set Closest Guard Within Units As Guard ID FC, Then Return Value Loop If Successful 51 (0020)
0200 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
14002400FC01 Guard Targets Guard, Return Value Loop (Writable Actor ID Value)
0100 Go To Beginning, Then Return Value Loop
0201 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
30FC05 Detect If Guard Killed, Return Value Loop If So (Writable Actor ID Value)
9C1000000003 Check If Objective Value, Return Loop If So (10000000)
4520 Go To Return Value Loop, If Bond Has Guard At Gunpoint
3202 If Bond In Sight, Return Value Loop
0101 Go To Beginning, Then Return Value Loop
0220 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
B1 Enable Cycle Counter
B400008003 If Cycle Counter > Value, Return Value Loop B4 (000080)
9C1000000003 Check If Objective Value, Return Loop If So (10000000)
0221 Resume If Return Value Loop Met
0120 Go To Beginning, Then Return Value Loop
0202 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
B1 Enable Cycle Counter
B400005003 If Cycle Counter > Value, Return Value Loop B4 (000050)
9C1000000003 Check If Objective Value, Return Loop If So (10000000)
022A Resume If Return Value Loop Met
0102 Go To Beginning, Then Return Value Loop
0203 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
16000400FC04 Standing Guard Targets Guard, Return Value Loop (Writable Actor ID Value)
0204 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
30FC05 Detect If Guard Killed, Return Value Loop If So (Writable Actor ID Value)
E806 If Guard Is Shooting, Return Value Loop
500030FC05 If Current Guard Is Not Within Units Of Guard ID, Return Value Loop 50 (0030FC)
0103 Go To Beginning, Then Return Value Loop
0206 Resume If Return Value Loop Met
0104 Go To Beginning, Then Return Value Loop
0205 Resume If Return Value Loop Met
060002 Set Return Subroutine From JAL (JAL TO: 0002) Random Animations Until Detection
05FD0008 JAL To Function (Guard [whatever called it]) (JAL TO: 0008) Jog to Player (subroutine)
04 Terminator
|
_________________ Check out some levels coming soon.
DPRK Research Facility
DPRK Train |
|
|
|
|
|
 |
 |
 |
 |
 |
SubDrag Administrator

Joined: 16 Aug 2006 Posts: 6177
 |
Posted: Wed Jun 13, 2012 7:47 pm Post subject: |
 |
|
I think need to learn a bit more. Will they randomly make a break for it? |
|
|
|
|
|
 |
 |
 |
 |
 |
MidnightKittehBoi Agent


Joined: 13 Jun 2012 Posts: 44
 |
Posted: Wed Jun 13, 2012 7:58 pm Post subject: |
 |
|
Oh sorry i should have out in the Hostage action block as well.
Hostage
Code: |
0416:
AD22486F737461676522 = "Hostage"
8F0020 Set Guard Health (0020)
51002000 Set Closest Guard Within Units As Guard ID FC, Then Return Value Loop If Successful 51 (0020)
0200 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
21 Guard Surrenders
30FC01 Detect If Guard Killed, Return Value Loop If So (Writable Actor ID Value)
3205 If Bond In Sight, Return Value Loop
0100 Go To Beginning, Then Return Value Loop
0205 Resume If Return Value Loop Met
33 Seed Random Byte
0206 Resume If Return Value Loop Met
342007 If Seeded Byte < Value, Go Into Return Value Loop (20)
344040 If Seeded Byte < Value, Go Into Return Value Loop (40)
348080 If Seeded Byte < Value, Go Into Return Value Loop (80)
34A0A0 If Seeded Byte < Value, Go Into Return Value Loop (A0)
34E0E0 If Seeded Byte < Value, Go Into Return Value Loop (E0)
0207 Resume If Return Value Loop Met
03 Leave The Routine, But When Return Continue From Spot
30FC01 Detect If Guard Killed, Return Value Loop If So (Writable Actor ID Value)
0107 Go To Beginning, Then Return Value Loop
0240 Resume If Return Value Loop Met
0A00230002FFFF01FF Animation (Animation: Huddled In Fetal Position)
0107 Go To Beginning, Then Return Value Loop
02A0 Resume If Return Value Loop Met
0A002F0002FFFF01FE Animation (Animation: Surrendering And Moving Feet A Bit)
0107 Go To Beginning, Then Return Value Loop
02E0 Resume If Return Value Loop Met
C4009D04 Play Sound Effect # In Slot # (0-7) (Sound: 009D - Male cry 24)
0107 Go To Beginning, Then Return Value Loop
0280 Resume If Return Value Loop Met
05FD0417 JAL To Function (Guard [whatever called it]) (JAL TO: 0417) "Hostage Save"
0201 Resume If Return Value Loop Met
05FD0417 JAL To Function (Guard [whatever called it]) (JAL TO: 0417) "Hostage Save"
04 Terminator |
_________________ Check out some levels coming soon.
DPRK Research Facility
DPRK Train |
|
|
|
|
|
 |
 |
 |
 |
 |
SubDrag Administrator

Joined: 16 Aug 2006 Posts: 6177
 |
Posted: Wed Jun 13, 2012 8:21 pm Post subject: |
 |
|
Hmm, from reading your blocks, sounds like already got it?
If Current Guard Is Not Within Units Of Guard ID, Return Value Loop 50 (0030FC) |
|
|
|
|
|
 |
 |
 |
 |
 |
MidnightKittehBoi Agent


Joined: 13 Jun 2012 Posts: 44
 |
Posted: Thu Jun 14, 2012 4:37 am Post subject: |
 |
|
I put that in so the guards would react once the hostage had ran away and still attack bond. I tried it without that and the guard just stood there. _________________ Check out some levels coming soon.
DPRK Research Facility
DPRK Train |
|
|
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
|
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
|
|
|
 |