Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Need help with NPC Structure

Status
Not open for further replies.
Initiate Mage
Joined
Apr 9, 2021
Messages
31
Reaction score
3
Hello, do you know there is a way to increase npc structures (m_nStructure=SRT_WEAPON;)
in defineNeuz.h there is #define MAX_STRUCTURE 20 but when I increase it and go over 20 the added structures don't read correctly so I wonder if there is a way to increase it source side?
 
Skilled Illusionist
Joined
Apr 21, 2010
Messages
378
Reaction score
96
The source uses defineNeuz.h to define MAX_STRUCTURE in Project.h

Did you add the new SRT_* to etc.inc & etc.txt.txt?

In etc.inc it has to be in:

Code:
structure
{
....
}
 
Upvote 0
Initiate Mage
Joined
Apr 9, 2021
Messages
31
Reaction score
3
yes I have already looked in project.h but I did not find a value to change.
To create a new structure we must necessarily go to etc.inc/txt but when I exceed 20 the etc.inc file does not read correctly (it mixes the structures)
 
Upvote 0
Initiate Mage
Joined
Apr 28, 2014
Messages
27
Reaction score
5
Add the __CHARACTER_TAG system which will be very clear and simple for you to use
 
Upvote 0
Initiate Mage
Joined
Sep 8, 2011
Messages
67
Reaction score
252
It depends on what your specific issue is.

1. Are you setting the npc's m_nStructure variable in character inc.
2. Did you add the structure itself in etc?
3. Did you increase MAX_STRUCTURE to be one higher than your last strcture entry?

If thats all done, then you're issue is probably.

4. did you update the navobj textures and/or inc read.
 
Upvote 0
Initiate Mage
Joined
Apr 9, 2021
Messages
31
Reaction score
3
yes I think my concern comes from option number 4. But ryuzakinara gave me very good advice.
I think we can close the help request.
Thank you all!
 
Upvote 0
Status
Not open for further replies.
Back
Top