FOnline Development > Questions and Answers
Next 2 questions
(1/1)
Ranger101:
1. How make city critters moving? Randomly(or not) walking junkies, kids, dogs, guards, brahmins in pet and stuff like that.
2. How make NPC shout during fight? As I see in FOCOMBAT.MSG are all needed messages for it, just looks like this stuff is unused.
I've searched here and on fonline.ru and I not found nothing helpful. If I'm not wrong these things were implemented in 2238, but I'm using TLA SDK and have no idea where dig to find right solutions and implement it to this SDK.
Slowhand:
Adding scripts to mobs:
http://fodev.net/forum/index.php/topic,29789.msg260846.html#msg260846
--- Quote ---Use the property editor (press F9 to toggle on/off) to set the mobs (I will refer to monsters/critters as mobs from now on) script to the following:
set ScriptName to "mob" (This will tell which script file to check for the function below. Server\Scripts\mob.fos )
set FuncName to "critter_init" (This is the function (script) to be called when creating this mob)
--- End quote ---
The script itself: check some maps where you know there are moving NPC's and check their script location/name and tr to add those or make new scripts based on those.
Navigation
[0] Message Index
Go to full version