PlaneShift

Development => Development Deliberation => Topic started by: Dwayo on April 14, 2008, 12:30:46 pm

Title: Tryin to be smart
Post by: Dwayo on April 14, 2008, 12:30:46 pm
I probably not discovered hot water but I tought that it's better to say this.
Is possible to change code for NPC-s so when they come to impervious state they do not execute code to become inactive but instead code to die and respawn?
Title: Re: Tryin to be smart
Post by: Durwyn on April 14, 2008, 01:52:03 pm
I probably not discovered hot water but I tought that it's better to say this.
Is possible to change code for NPC-s so when they come to impervious state they do not execute code to become inactive but instead code to die and respawn?

its an idea Dwayo, however i think there might be a problem. what happens if the player damages the monster, get it to stuck and then the monster dies? will the player gets the experience? that case must be fixed if something like this has been thought.
Work is being done on NPCs, lets see which solution they came on ;)
Title: Re: Tryin to be smart
Post by: Kaerli on April 14, 2008, 10:33:33 pm
Great minds think alike...Aresilek and I both have the same idea as you do.  Once I'm able to reproduce the problem and figure out where Magodra (<--main npcclient dev) put the switch-flip for "imperv on stuck" in, I think I'll set to work about making them respawn (technically not die) on getting stuck. :)
Title: Re: Tryin to be smart
Post by: Manar on April 20, 2008, 09:09:35 am
That probably isn't enough. They were made impervious because they became exploitable after getting stuck, and that continued even after an npc died and respawned.