Posted: Sun Apr 16, 2006 11:36 am Post subject: I have a few questions.
Please dont tell me im an idiot/noob, i know.
1st: How do i change how dark it gets, because when i dont have .nsight on and its "night" time, its literally pitch black, i cannot see anything.
2nd: Is there a specific tile or someway to add a "Region" so that in a certain area, 1(with tiles) Players may place vendors on tiles/ 2(With region) Players may place vendors anywhere in that area
3rd: How do players change thier account passwords? Or is it possible?
1. The day/night cycle is handled by daynight, I believe. In dayNight.src you'll find a function called transition that sets the light levels.
2. The logic that checks to see if a particular place is a valid spot for a player vendor is done in /scripts/items/vendorDeed.src. You could add your own custom tile and add some logic to vendorDeed.src so that it would be a valid location.
3. I don't believe it's possible using the current distro but it's not that hard to implement a change password script. You would just use something like this:
Code:
var account = who.acct;
account.setpassword("newpass")