Does anyone know of any plot scripts that are only triggered during certain hours? or during only day / only night?
I immediately thought of the shops and taverns but the scripts "hughtersowl" and "imperialweapons" for example only relate to the Cloak of the True Hero quest trigger, and receiving a note from the street urchin boy etc. so I'm guessing that the time triggers were hardcoded + not available by way of python script.
Does anyone remember offhand any time related plot? Maybe even from Origen's BT mod or others?
Scripts that only trigger during certain hours?
Moderator: Admin
- dragonbait
- Stalker
- Posts: 775
- Joined: Mon Apr 10, 2006 3:07 pm
Would the opening at 6am, or closing at midnight of the temples, or the training halls at a set time count? In Rick's Tales of the North, there was the one dungeon that could only be entered at night. That is all that I can remember. Not sure if any of that is helpful though.
Bring on the Dancing Horses!
Can't think of any that are mod-like scripts.. the ones Chaney mentions seem to be hardcoded..so maybe some internal/hard-code scripts.
Would be a great mod-script feature!
Lots of things a mod could tie in to time..
Would be a great mod-script feature!
Lots of things a mod could tie in to time..
No Contraries : No Progression.
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
Opposition is true friendship, unless one is opposed to true friendship or (try) Resisting here http://www.cafepress.com/notheresistor
- dragonbait
- Stalker
- Posts: 775
- Joined: Mon Apr 10, 2006 3:07 pm
Thanks Chaney! I found RT's timed entrance script.
He has it set to activate between the hours of 7pm and 6am. If we copy + paste this into a new script and modify it a bit, we can have events happen at whatever time we want.
8)
Code: Select all
#Hedgemaze entrance (down)
from eventAPI import *
from APIUtils import *
def fireEvent(e):
if ((gameTimeHour(getGameTime(e)) >= 19) or (gameTimeHour(getGameTime(e)) <= 6)):
showPicture(e,"Outside_Night")
else:
showPicture(e, "Outside")
if (poseYesNo(e,
["You see the entrance to the hedge maze.", "", "Do you enter?"])):
setExit(e, "maps/rthedgemaze.cfg", 26, 3, 0)
return 0
8)
- origen
- Dark Sidhe Lord
- Posts: 903
- Joined: Thu Feb 10, 2005 5:54 pm
- Location: Secret League of Nirulat Headquarters
- Contact:
It is probable not worth it anymore, but I believe I did have a time of day script with the "pass the light at night" riddle in the Bards Tale mod. I also did some time of day scripting with the random and the house encounters in my modding, but I don't remember if it was ever released or not. The city gates entrance/exit is also scripted with time of day, which only affects which picture is shown.
I reject your reality, and substitute my own.
- dragonbait
- Stalker
- Posts: 775
- Joined: Mon Apr 10, 2006 3:07 pm
Hi, yes I have a timed script in my mod. Sadly though, I haven't done much with the mod, and what I have done, I want to change to make better. Additionally, I do want to release an update with the complete monster file I put together from Jykler's official monsters.txt file + all other versions of the monsters.txt file + a few new monsters. Then with new pics, new items, new monsters, new walls, etc. what I want to make ends up being allot more work than I have had the time to piece together. I hate saying that its not yet ready, but that is where it stands at the moment.