Hey all, after many, many years of enjoying Fallout, I've decided to try my hand at modding FO2. So far everything's working out well.
I've been using the Fanmade Fallout Dialog Editor for the NPC interactions, and that works very well. However I can't get a hostile conversational response to touch off combat.
The code:
--------------------------------------------------------------------------------
procedure Node001
begin
// [200] "Get the hell off my lawn, you damn tribal! Doncha see what happened to the *last* tribal that wandered onto my lawn? (He gestures contemptuously at the rotting corpse nearby and pats the muzzle of the ancient, rusted pistol in his hand)"
Reply(200);
// [201] "Alright already, I'm going. (leave)"
NOption(201,Node999,4);
// [202] "I just wanted to get directions..."
NOption(202,Node002,4);
// [203] "Heh. Angry douchebags amuse me."
BOption(203,Node998,4);
// [204] "Heh. Heh. Hehehehhe. Old man mad."
NOption(204,Node003,-3);
end
-----------------------------------------------------------------------------------
And of course, Node998 is defined as:
----------------------------------------------------------------------------------
procedure Node998 begin
set_local_var(LVAR_Hostile,2);
end
-----------------------------------------------------------------------------------
The conversational thread code is outputted by the FMDialog tool.
Whenever I select a hostile answer, the dialog sequence just closes itself - it doesn't crash the editor, or anything.
Does anyone see anything obviously wrong?
I've been using the Fanmade Fallout Dialog Editor for the NPC interactions, and that works very well. However I can't get a hostile conversational response to touch off combat.
The code:
--------------------------------------------------------------------------------
procedure Node001
begin
// [200] "Get the hell off my lawn, you damn tribal! Doncha see what happened to the *last* tribal that wandered onto my lawn? (He gestures contemptuously at the rotting corpse nearby and pats the muzzle of the ancient, rusted pistol in his hand)"
Reply(200);
// [201] "Alright already, I'm going. (leave)"
NOption(201,Node999,4);
// [202] "I just wanted to get directions..."
NOption(202,Node002,4);
// [203] "Heh. Angry douchebags amuse me."
BOption(203,Node998,4);
// [204] "Heh. Heh. Hehehehhe. Old man mad."
NOption(204,Node003,-3);
end
-----------------------------------------------------------------------------------
And of course, Node998 is defined as:
----------------------------------------------------------------------------------
procedure Node998 begin
set_local_var(LVAR_Hostile,2);
end
-----------------------------------------------------------------------------------
The conversational thread code is outputted by the FMDialog tool.
Whenever I select a hostile answer, the dialog sequence just closes itself - it doesn't crash the editor, or anything.
Does anyone see anything obviously wrong?