![]() |
Couple Questions - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Couple Questions (/Thread-Couple-Questions) |
Couple Questions - Soulless - 03-07-2013 08:40 AM Hello, just a few questions, please reply if you know the answer. ![]() if there is a good way to make an npc run to a waypoint? i dont want him to walk either, i want an npc to just haul ass to specific coords. does anyone know a good way to calculate what would be considered success for a skill? currently im using "if (<healing> > <eval {1 1100}>)" though obviously at low levels this fails CONSTANTLY and irritates players. i thought of adding "beginners luck" to the equation however i want to see if i can find a better method first, anyone know? horse hoof sounds, there is two sounds 577 and 587, id like to replace the generic horse hoof sound with these, is there a good way to do this? i liked that feature from UOX, it gave it a unique feeling. and, ive noticed how the pet inherit notoriety setting in sphere.ini works nicely, however when you summon a blade spirit, or EV it turns it blue. but then this summoned monster just attacks the shit out of everyone because its beserked, it shouldnt be blue for sure. just an idea to fix if there's any devs reading ![]() RE: Couple Questions - BladeCraft - 03-07-2013 09:29 AM Calculating Skill: Try something that uses the skill as the denominator so as it increases, that 1 in X chance gets tougher. For example, I have this under @ hit to make my combats gain very quickly //CUSTOM COMBAT SKILL GAIN If (!rand(<<serv.skill.<action>.name>>/80)) gainskill <serv.skill.<action>.name> //gainskill is a custom function that does all of my checks before it allows the gain. endif (!rand(<<serv.skill.<action>.name>>/80)) RE: Couple Questions - RanXerox - 03-08-2013 07:27 AM FYI, the two horse sounds *are* used... 577 when its walking on hard ground (like marble), the other when its on soft ground (like grass)... I am not sure how to define exactly what constitutes hard or soft however lol. RE: Couple Questions - Soulless - 03-08-2013 09:58 AM hmm i dont seem to hear it ![]() RE: Couple Questions - Soulless - 03-08-2013 11:39 AM i meant 587 and 588 actually. i cant hear them on my server though when i walk on hard ground, like wood, marble, stone. ![]() |