Help needed - can_rest_here

bbmultipass

First time out of the vault
Can someone explain please?

Here is MAPS.TXT:
Code:
[Map 004]
lookup_name=Catacombs
map_name=TBCTCCRY
music=02CTCMBS
;ambient_sfx=gntlwin1:20, gntlwind:20, dogbark:20, dogbark1:20, gustwind:10, gustwin1:10
ambient_sfx=electri1:20, elevato1:15, elevator:15, mechpum1:10, mechpump:10, blank:30
saved=Yes
can_rest_here=No,No,No  ; All 3 elevations
But i CAN rest here anyway (OMG!).

But if i change map for klaratcv:
Code:
[Map 004]
lookup_name=Catacombs
map_name=klaratcv
music=02CTCMBS
;ambient_sfx=gntlwin1:20, gntlwind:20, dogbark:20, dogbark1:20, gustwind:10, gustwin1:10
ambient_sfx=electri1:20, elevato1:15, elevator:15, mechpum1:10, mechpump:10, blank:30
saved=Yes
can_rest_here=No,No,No  ; All 3 elevations
, i can't rest as well.

Why can_rest_here doesn't work in first code?
 
I never had any problems with can_rest_here. It always worked the way I wanted.

You are using map id 4. Maybe there is something hardcoded for it? I never overwrote original Fallout 2 maps, always added my own at the end of the file.
 
have you actually looked in the map script, maybe it overides the default..?

what is "TBCTCCRY" anyway? not one of the standard maps then?
 
No, it's not standard map. Here is map script i am using:

Code:
/*

*/

/*
        Name:
        Location:
        Description:

        Notes: * WTF
*/

#include <define>
#include <updatmap>

#define NAME SCRIPT_TBCTCCRY

#include <command>

procedure start;
procedure map_enter_p_proc;
procedure map_update_p_proc;

procedure start begin
end

procedure map_enter_p_proc begin

// WTF
  Lighting;

// WTF
  set_global_var(GVAR_LOAD_MAP_INDEX,0);

end

procedure map_update_p_proc begin

// WTF
  Lighting;
  
end
I think there's nothing that can override the default. If it is important, it is three elevations map, and i merged it once with another map.
 
I can't seem to locate a map script for the klamath rat caves ( working with the vanilla scripts.. the RP 2.1.1 has a map script for it.. ) so maybe it doesn't have one so the "No,No,No" in the maps.txt works..?

try your map without a map script to see..

rat caves might not let you rest there because the rats are hostile towards you..
 
ColJack said:
rat caves might not let you rest there because the rats are hostile towards you..

Yes! This helps! I placed one rat on each elevation and - voila! - everything works as should be.
rat_saves_the_day.png

(Changing or deleting map script did nothing.)

Thanks, ColJack.
 
but that doesn't really cure the problem does it...

you can't rest at vault city either and there's no hostiles there..
 
Well, at least it works.

I've made a little experiment:
Code:
[Map 004]
lookup_name=Catacombs
map_name=vctydwtn
music=02CTCMBS
;ambient_sfx=gntlwin1:20, gntlwind:20, dogbark:20, dogbark1:20, gustwind:10, gustwin1:10
ambient_sfx=electri1:20, elevato1:15, elevator:15, mechpum1:10, mechpump:10, blank:30
saved=Yes
can_rest_here=No,No,No  ; All 3 elevations
And... i CAN rest there :(

Maybe it is only mine problem for some unknown reasons, maybe not... i don't know what to think.
 
Easiest thing would be to just add your maps with new id. :P
 
as you can rest at a map that you can't in the normal game ( ie VC downtown ) then I'd say that map 04 is hardcoded to let you rest there and that it was only the hostile rats that stopped you when you changed it to the rat caves.. ?
 
Back
Top