Author Topic: Override: Gnoll Armor  (Read 1138 times)

Legacy_4Pop

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
Override: Gnoll Armor
« on: July 26, 2015, 06:27:50 pm »


               

Hello! A while back I came across a post on the Arelith forums of an override that allowed armor to be put on gnolls. I've tried to replicate their work, but I am not at all knowledgeable with this sort of stuff. So, I'll provide everything here that I've got and ask.. How do I do this!? This is for the gnoll wiz and gnoll warrior appearances!


 


 


**Copy of Post**


 


edited my .2da-appearance file. renamed a few models and BAM this is what I get!


ltoq.jpg


 


Though anyone looking at it can see a problem. Even though all the textures are .plt files only the head is getting textures. The rest is getting some purple-metallic look to them.



Those who own the goblin override will know their textures are not .plt files. mine are .tga which means they're a flat image. The .plt gives the option of changing skin colour, hair colour, tatoo colour etc. Though right now I'm just trying to get some textures. changing skin and hair colour is a luxury achievement.

So... anyone have any input on how to proceed?

WHAT I DID (this will likely only make sense if you've downloaded the hak and are viewing the hak content):



  1. In the appearance.2da I went in and changed the gnoll_wiz appearance to the one in the previously mentioned hak.

  2.    
  3. I exported all the models and textures to the override folder

  4.    
  5. I changed the names of the models and textures to be 001 instead of 215 (this is the default look for players 001 for default, 002 for tatooed body part and 000 for no bodypart)

So just returned from a little vacantion with renewed energy for handling this texture problem. I think I know what the problem is.
Body part-models are different between the Playerraces (and with this override some gnoll bodyparts too). The textures are, however, the same between all playerraces. There is a set of textures for females and one for males. The only place where the textures are different between playerraces are the head-model.
I noticed this because the gnoll head texture in this override starts with pmn_ but the textures for bodyparts are all pmh_


  • p stands for Part, like t stands for Terrain.

  • m stands for male, so we know the texture is meant for male models

  • h is what nwn says are human models. It is safe to assume they made the human models first when they developed the game.

  • n is like h, but instead it's the letter i used of gnoll body parts.

SO new question is: Can a DM change bodypart appearances* IG/(or some other out of game-way) of player-characters?

If this is possible then it could be possible to let people with this override to enjoy customizable gnoll models without disrupting anything for people without the override.

* IG it is possible to change body part appearance from non-tatooed to tatooed, and since the gnoll override models are like a second tatooed body part it should be possible to do it.

It's not like the models are lacking textures,frydrinc, if that's what you're asking. I put some pictures at the bottom to show off. They're all clothed since that's what the nwvault forgets to show off.

(Full possibility if bodypart appearances can be changed to no 215)


 


7luk.jpg


 


Old gnoll in comparison with middle gnoll from before)


44g7.jpg



               
               

               
            

Legacy_4Pop

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
Override: Gnoll Armor
« Reply #1 on: July 26, 2015, 06:29:06 pm »


               

Here is a link to the hak!


 


https://drive.google...iew?usp=sharing



               
               

               
            

Legacy_The Mad Poet

  • Hero Member
  • *****
  • Posts: 715
  • Karma: +0/-0
Override: Gnoll Armor
« Reply #2 on: July 27, 2015, 05:11:52 pm »


               

I can't imagine it would be hard to script, but I've never seen a DM-held tool that does that.


 


There are body tailors though.


 


http://neverwinterva...em-mail-options


 


Those can let players change the body parts themselves. DM just would need to teleport them to an inaccessible area to use the tailor, or spawn it for them to use. 


 


Give me a minute and I can script a real quick tool that DM's can use to change PC's to Gnolls. Are all of the Gnoll parts 215?



               
               

               
            

Legacy_The Mad Poet

  • Hero Member
  • *****
  • Posts: 715
  • Karma: +0/-0
Override: Gnoll Armor
« Reply #3 on: July 27, 2015, 05:29:28 pm »


               

#include "x2_inc_switches"

void main()
{
    int nEvent =GetUserDefinedItemEventNumber();
    object oPC;
    object oItem;
    object oDM;
    string sPCName;

    if (nEvent ==  X2_ITEM_EVENT_ACTIVATE)
    {
        oDM = GetItemActivator();
        oPC = GetItemActivatedTarget();
        oItem = GetItemActivated();
        sPCName = GetName(oDM);

        if (GetIsDM(oDM) == TRUE)
        {
            SetCreatureBodyPart(CREATURE_PART_RIGHT_FOOT, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_LEFT_FOOT, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_RIGHT_SHIN, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_LEFT_SHIN, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_RIGHT_THIGH, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_LEFT_THIGH, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_PELVIS, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_TORSO, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_NECK, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_RIGHT_FOREARM, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_LEFT_FOREARM, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_RIGHT_BICEP, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_LEFT_BICEP, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_RIGHT_HAND, 215, oPC);
            SetCreatureBodyPart(CREATURE_PART_LEFT_HAND, 215, oPC);
//            SetCreatureBodyPart(CREATURE_PART_HEAD, 215, oPC);
        }
        else
        {
            SendMessageToAllDMs(sPCName+" is attempting to use a DM-only tool!");
            WriteTimestampedLogEntry(sPCName+" attempted to use a DM-only tool!");
            SendMessageToPC(oDM, "You have attempted to use a DM-only tool. Message has been sent to all logged DM's, and written to the server log. If this was a mistake please contact a DM as soon as possible.");
            DelayCommand(3.0f, DestroyObject(oItem));
        }
    }
}

I haven't tested it, but it should be fine. Just make an item with the same tag as this with the unique power property and give it to DM's. In case you have a Gnoll head I've added one line and commented it out. You can uncomment it and add the gnoll head number if you like. The last part is just a security I use for DM tools. Just in case.



               
               

               
            

Legacy_werelynx

  • Hero Member
  • *****
  • Posts: 1110
  • Karma: +0/-0
Override: Gnoll Armor
« Reply #4 on: July 27, 2015, 06:11:00 pm »


               

http://neverwinterva...gnoll-phenotype