![]() |
[Share] New version of base classes in AI.obj
As some from present on this forum, I started to make my own AI.obj with the purpose of optimization, an opportunity of addition quests, delete holes... For the beginning in it topic I shall lay out base classes already compiled by me and if to whom they will be useful I shall fill up probably the list...
So: Code:
class default_npc : (null) |
[Share] New version of base classes in AI.obj
As some from present on this forum, I started to make my own AI.obj with the purpose of optimization, an opportunity of addition quests, delete holes... For the beginning in it topic I shall lay out base classes already compiled by me and if to whom they will be useful I shall fill up probably the list...
So: Code:
class default_npc : (null) |
What's changed?
|
What's changed?
|
Next Guild Masters lv.1 (from starting villages):
Code:
class guild_master : citizen |
Next Guild Masters lv.1 (from starting villages):
Code:
class guild_master : citizen |
Larson:
Не обращай внимания на этого идиота Admin PP NOOB, это хорошо, что хоть кто-то что-то расшаривает... What's changed in this AI? |
Larson:
Не обращай внимания на этого идиота Admin PP NOOB, это хорошо, что хоть кто-то что-то расшаривает... What's changed in this AI? |
1. Some parameters unnecessary for a parental class are removed
2. Animation is added at conversation with the player 3. The code is optimized (superfluous checks are removed, new checks are added where are necessary for removal holes and so on trifles...) P.S. Unfortunately my limit on upload is exceeded also I cannot lay out completely pack, and time for others servers to pour is not present. Therefore if ppl that will become interested probably I shall continue hardly later... |
1. Some parameters unnecessary for a parental class are removed
2. Animation is added at conversation with the player 3. The code is optimized (superfluous checks are removed, new checks are added where are necessary for removal holes and so on trifles...) P.S. Unfortunately my limit on upload is exceeded also I cannot lay out completely pack, and time for others servers to pour is not present. Therefore if ppl that will become interested probably I shall continue hardly later... |
Larson можешь в хендлере 3 сделать, чтобы НПЦ поварачивался к игроку?
|
Larson:
You may upload your pack on rapidshare or megaupload... Good work! Specifications of your AI is cool. Wait more. :) |
Quote:
|
Larson if u need an FTP let me know, i got lots of bandwidth
|
Quote:
|
Larson, try using filefront:
hxxp://www.filefront.com |
sure, y not?
increased larson's attachment limit ;) |
Thanks for that have shown interest to my work. To time began more, therefore has laid out the first part of work as a file. I wait for results of testing...
|
Ok, I'm really new to this. I was wondering Larson if you could guide me to where I can learn this, where can I understand this code and what are those variables. Also, what is your AI exactly for? Guild Masters only?
Thanks for the info, great work! |
im also newbie on this subject... trying to understand ai.obj...
what does this code exactly do?? anywhere else where to start understanding ai.obj?? |
tutorials have been posted by digital, just search for them.
also take a look at StaticVoid's topic, it's great... |
Quote:
Quote:
Quote:
Quote:
Quote:
|
thanks for answer, i will try those. some more questions :
1. if we put function for animation in default_npc won't that make all of them animate ? will this cause any problems such as lag ? worse performance ? security issues ? 2. the animation the npcs can do is only one ? or function has parameter ? if it takes as parameter the action, can we do it so it animates a random action each time ? |
Quote:
Quote:
|
i have for example class teleporter : default_npc. if i make it teleporter : citizen will it cause any other problems..? such as "2) In those npc which have problems to replace a parental class on citizen (here it is necessary to be very cautious)" this one ? is this the same case you refer to ?
|
| All times are GMT. The time now is 22:06. |