Resting system - camping
Posted: Sun Mar 30, 2008 7:23 pm
With Live coming up fast, I wanted to put in a placeholder for a proper camping/resting system to allow resting outside of towns/inns.
I was hoping we could spawn a rest zone trigger when a camp was set up, but it appears CreateObject won't work for OBJECT_TYPE_TRIGGER - so I've added some extra handling to the _PlayerCanRest() function in acr_resting_i as follows:
In Aboveground, Natural areas:
-druids and rangers will be able to rest without restrictions
-all other PCs will be able to rest, provided they are near a tent pitched via Heed's PC Tools.
For now, such tents are spawnable by anyone, without a need for a corresponding inventory item- though we could make an "ALFA Tent" item before Live if that's desired- just adds to the complexity, as we'd have to get that into all the appropriate merchants, and those who couldn't find one would still be unable to rest.
This system should work on the OAS2 as well, after a small script and blueprint update.
I was hoping we could spawn a rest zone trigger when a camp was set up, but it appears CreateObject won't work for OBJECT_TYPE_TRIGGER - so I've added some extra handling to the _PlayerCanRest() function in acr_resting_i as follows:
In Aboveground, Natural areas:
-druids and rangers will be able to rest without restrictions
-all other PCs will be able to rest, provided they are near a tent pitched via Heed's PC Tools.
For now, such tents are spawnable by anyone, without a need for a corresponding inventory item- though we could make an "ALFA Tent" item before Live if that's desired- just adds to the complexity, as we'd have to get that into all the appropriate merchants, and those who couldn't find one would still be unable to rest.
This system should work on the OAS2 as well, after a small script and blueprint update.