Just as another thought, the pets.cpp list wolf, alligator, tiger, bear. Where is this referenced and could other NPC Types be used? I may not have looked too closely yet and that might be in that file.
Celestial |
Referenced in races.h in common/races.h, line 25 to line 58:
Code:
#define HUMAN 1 |
The whole point is that beastlord pets use the same npc_type, but display a different race depending on the owner.
The alternative would be to have a different npc_type for each race for each level of beastlord pets, which would be... extremely cumbersome. The current hard-coded values work, but a database table would make customization easier. |
You could also just do a rule-based pet system so like RuleI(Character, OgreBeastlordPet) or something like that with a race ID, as well as the texture, gender, and size as separate rules.
|
Hmm... true. Could have one for each player race, with defaults for any pet race, texture, gender, and size not specified.
|
Can the Chokidai 356 be used for Iksar beastlords? Or is it limited to that value range?
Celestial EDIT: So I should be able to insert into races.h #define CHOKIDAI 356 since its referenced within the $races_table = Array( This would allow the IKSAR bst to have the correct pet. Can this list be added to in order to enable Underfoot models? |
Do you mean be added to the source by you yourself, or are you asking for someone to make an actual commit to the main branch?
|
For myself, although if its accurate would that qualify for addition as a commit to the source? I am referencing the Iksar pet model.
Celestial |
Update:
Woodelf worked great, just need to increase the size of the pet. I also added the above to the races.h for Chokadai as the Iksar BST pet and recompiled. but on pet summon it defaulted to a human model. Will try to test again. Celestial |
That means that either the model is not in your GlobalLoad, or it is not set to the correct gender. Most NPC races are gender 2, neuter. If a race has male and female versions, though, then it'll use those genders instead (0 male, 1 female).
|
To reference as I work on this, GlobalLoad is located where?
Celestial |
Resources\GlobalLoad.txt in your EverQuest directory. The latest clients also have a GlobalLoad_chr.txt for loading individual race models from zone package files.
|
Roger that, I am able to #race myself for that particular model.
|
Cool. Sounds like the gender was off, then.
|
That was it, I recompiled and now the Iksar BST has the correct race of pet. I want to look to see if there are different models of that race as I think the one that is spot on is orangish in color. Once I get it set, would this be a submission for commit to source?
Is there a tool that I could use that will tell me if gender or other options are available for a particular race? Celestial |
All times are GMT -4. The time now is 08:23 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.