-
Enthusiast
Need help with NPC Structure
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?
-
-
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:
-
Enthusiast
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)
-
Enthusiast
Add the __CHARACTER_TAG system which will be very clear and simple for you to use
-
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.
-
Enthusiast
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!