Jump to content


Photo

Restrict resting ?


3 replies to this topic

#1 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6253 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 29 July 2017 - 01:49 AM

This was summoned by an off topic ...

Le sigh, already our first bug. Installing any of the components that alter rest spawns will also enable you to rest anywhere.

Would it be easy to make a mod that restricts resting to only to inns ? Or to everywhere except a few places ?

I know it's easy to just read the .are file, and flag them to not allow resting, but is that all I have to do ?
And what would be the most effective way to build the list of the not allowed places to rest... for it to be the most compatible and so forth.

And I am taking suggestions here, not just single answer of this is how to do it and there's no better ways, cause all that's debatable. As I actually might want to do a few components that restrict it more and less.
Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#2 lynx

lynx
  • Modders
  • 3010 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 29 July 2017 - 02:00 AM

Yes, inns and the rest actions ignore the area bit, so just loop over all of them and disable.


GemRB - IE anywhere.
Mages needed! Looking for Planescape: Torment testers
Market android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored! Still looking for builders ...

#3 Ardanis

Ardanis

    A very GAR character

  • Modders
  • 2557 posts
  • Gender:Male
  • Location:Saint-Petersburg, Russia

Posted 29 July 2017 - 02:37 PM

You can also extend the top of PLAYER1D.BCS with a blocker, like in SoD:

IF
  OR(2)
  Global("bd_cant_rest","myarea",1)
  Global("bd_no_camp_rest","myarea",1)
THEN
  RESPONSE #100
    DisplayStringNoName(Player1,69033) // You may not rest in this place.
END

I forgot why there're two different variables, but regardless it makes possible to prevent resting anywhere at will if plot demands it.

The string's text is red-colored, so it's pretty much impossible to tell it's a manually scripted measure.


"Uguu~ Boku Ayu."

Before you start breaking wall tiles with your bare fists, ask yourself first - do you truly need it?

#4 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6253 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 29 July 2017 - 03:27 PM

Well, it's less about plot, and more about the spell restoration ... as I have the mod that does that, and so people ask for not to be able to cheat easy with, ouh, let's take 24 hours to take this one area, where there's a dragon AWAKE right in the next cave. Or a Gnoll fortress full of war hungry things.
And yes, you need to rest even with the mod I have, it just that you generally only need to do that to gain new and more spells during rests after leveling up, and to keep the fatigue away. Aka it's for house rule thing.

Edited by Jarno Mikkola, 29 July 2017 - 03:29 PM.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.



Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users