Jump to content

Home

Oh no, not another twi'lek head [WIP]


Commas

Recommended Posts

so i know what your thinking, don't we have enought twi'lek head's already? well, probably, but i decided to make one anyway, but im going to try to do something a little different. I'm making a new female twi'lek selectable as a new character at the start of the game that uses the Twi'lek Assassin model for the head (with the headtail wrapped around the neck) the Twi'lek Assassin model for the basic clothes texture instead of the commoner clothes (and if i can figure it out custom stats like atton's and mira's clothes) and handmaiden's underwear for the underwear. I've made all new textures for the head, clothes, underwear and dancer outfit that give you a Purple twi'lek female.

 

thanks to Darkkender's new head tutorial i've got the head to work in the game, with my new texture, however i'm having problems with the body. it uses the correct models for the undewear and the clothes (handmaiden's and the twilek assassin's respectivly) but the textures are not working correctly, both of those models just appear plain white, and when i try to equip the dancer outfit its super shiny silver!

 

like i said the head works perfectly, and it uses all the right models for the body, but none of the body textures that i specified are working. if there is anyone out there that can help i would really apreaciate it, if you PM your email address i'd be more than happy to send you the textures i made and the 2da files i edited so you can take a look at them. once i get these three textures working i can release it (as far as i can tell all armor models and textures work fine, since i didn't change anything in the 2da there.

Link to comment
Share on other sites

UPDATE: Done!

 

my new twi'lek head is finnished, along with a new underwear, dancer outfit and clothing texture

 

screens:

head

clothes

undies

dancer

 

the one thing that i'm still trying to figure out is how to give it custom stats like atton or mira's jacket. i think the way to do this is to make it a custom item and then change whatever script equips clothes on the exile automatically when you get to telos to equip this custom item instead. i'll probably pass on this unless anyone knows the script that does this and could explain to me how to change it, because i am completely lost when it comes to scripts. so unless any of you scripters out there wants to help with that last little bit, you can expect this mod to be out for download in the next couple of days.

Link to comment
Share on other sites

Originally posted by i like commas

then change whatever script equips clothes on the exile automatically when you get to telos to equip this custom item instead. i'll probably pass on this unless anyone knows the script that does this and could explain to me how to change it,

 

The script in question is "my_clear_inv" found in compiled form in 202TEL_s.rim. This is my take on source code for that script:

 

// ST: my_clear_inv.nss (202TEL_s.rim)

void main() {
   object oLocker = GetObjectByTag("LockerTSFINV");
   int i = 0;

   object oExile = GetFirstPC();
   object oKreia = GetObjectByTag("Kreia");
   object oAtton = GetObjectByTag("Atton");

   if (!GetIsObjectValid(oKreia) || !GetIsObjectValid(oAtton)) {
       AurPostString("No NPC avaialable to remove items FROM", 5, 25, 30.0);   
   }

   object oLocker1 = GetObjectByTag("LockerTSFINV");
   object oLocker2 = GetObjectByTag("LockerTSFINV", 1);
   object oLocker3 = GetObjectByTag("LockerTSFINV", 2);
   object oLocker4 = GetObjectByTag("LockerTSFINV", 3);

   object oItem = GetFirstItemInInventory(oExile);

   while (oItem != OBJECT_INVALID) {
       switch (i % 4) {
           case 0: oLocker = oLocker1; break;
           case 1: oLocker = oLocker2; break;
           case 2: oLocker = oLocker3; break;
           case 3: oLocker = oLocker4; break;
       }

       if (("SonicImprintSensor" == GetTag(oItem)) || ("comlink" == GetTag(oItem))) {
           oItem = GetNextItemInInventory(oExile);
       }
       else {
           GiveItem(oItem, oLocker);
           oItem = GetFirstItemInInventory(oExile);    
       }   
       i++;
   }

   int nSlot;
   oLocker = GetObjectByTag("LockerTSFINV", 4);

   for (nSlot = NUM_INVENTORY_SLOTS - 1; nSlot >= INVENTORY_SLOT_HEAD; nSlot--) {
       GiveItem(GetItemInSlot(nSlot, oExile), oLocker);    
       GiveItem(GetItemInSlot(nSlot, oAtton), oLocker);
       GiveItem(GetItemInSlot(nSlot, oKreia), oLocker);

       if (nSlot == INVENTORY_SLOT_BODY) {
           AssignCommand(oExile, ActionEquipItem(CreateItemOnObject( "g_a_clothes01", oExile, 1, TRUE), INVENTORY_SLOT_BODY, TRUE ));
           AssignCommand(oAtton, ActionEquipItem(CreateItemOnObject( "g_a_clothes01", oAtton, 1, TRUE), INVENTORY_SLOT_BODY, TRUE ));
           AssignCommand(oKreia, ActionEquipItem(CreateItemOnObject( "g_a_clothes01", oKreia, 1, TRUE), INVENTORY_SLOT_BODY, TRUE ));
       }
   }
}

 

Change "g_a_clothes01" to whatever the ResRef of your new clothes is, for the line that equips the Exile.

Link to comment
Share on other sites

awesome! thanks stoffe -mbk-! you are a scripting master, it worked like a charm

 

i have to admit its kinda funny i was wearing my underwear when the tsf arrested me and then when im the force cage im wearing my new leather duds, like lt. grenn was just like " your a hot purple twi'lek lady, we dont want to see you in no boring commoner clothes, here is a tight revealing leather suit" but it would have worked like this even without adding the new script because i changed what this character wears as normal clothes in the 2da file ;) but what this script does do is give you some incentive to keep her wearing it (despite just for looks). instead of just "Clothing" with no stats you get:

 

<FullName>'s Twi'lek Combat Leather

 

Stats:

Restricted to PC

DEX +2

Reflex +2

Bonus Feat: Mobility (lets you move 10% faster)

 

Description:

This clothing made of durable leather from the planet Ryloth has been designed to help improve the wearer's mobility in combat situations.

 

really the only other thing i could think of to make getting these clothes make a little more sense would be to put them on the body of one of the twi'lek assassins (who wear this outfit themselves) so you kill them you get it off of their remains, but that would require editing baseitems.2da since its not a standard item. if i do it this way you still get them, they just replace standard clothes, which no one wears anyway.

 

@Oddball_E8 I didn't make any darkside transitions yet[i/] cause i'm no good at making them believable, they always just look silly, plus i'd have to give her darkside undies, dancer outfight and clothes since they all show skin, but if you dont mind having to wait a few days i'm sure i could throw something together.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...