Fallout 2 Highwayman Infinite fuel mod

bloodaxis

First time out of the vault
So this is just a question I have, how hard would it be to make a simple global script mod or whatever that makes the car have infinite fuel? I find that after playing this game since release has made me grow increasingly bored with how tedious refueling the thing is so I want to gauge how much effort I'd have to put in to fix it.

Thanks for your time.
 
Can be done easily with the CARTRAVEL hook, here's a minimalist example:
Code:
procedure start;
procedure cartravel_handler;

procedure start begin
   if game_loaded then begin
      register_hook_proc(HOOK_CARTRAVEL, cartravel_handler);
   end
end

procedure cartravel_handler begin
   set_sfall_return(-1);
   set_sfall_return(0); // no fuel consumption
end
Or you can check the attached zip for a fancier "universal" version I made.
 

Attachments

Back
Top