Cool I got it to work just one thing, the model is invisible when sitting. <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid="
" border="0" alt="biggrin.gif" />:
-----------------------------------
void CreateOfficersCharacters(ref n)
{
object chobj;
ref ch;
makeref(ch, chobj);
ch.old.name = "Jessie";
ch.old.lastname = "Quinn";
ch.name = TranslateString("", "Jessie");
ch.lastname = TranslateString("", "Quinn");
ch.id = "Jessie Quinn";
ch.model = "Danielle";//NOTE: I don't think it's the model that causes the invisibility but one of the location codes that does that...
ch.activity_begin = "0";//Times
ch.activity_end = "24";//Basicly there all hours of the day...
ch.sex = "woman";
ch.location = "Tortuga_tavern";//NOTE:I DO understand...
ch.location.group = "sit";//NOTE:I don't understand...
ch.location.locator = "sit1";//NOTE:I don't understand...
ch.homelocation = "Tortuga_tavern";//NOTE:I DO understand...
ch.homelocation.group = "sit";//NOTE:I don't understand...
ch.homelocation.locator = "sit1";//NOTE:I don't understand... is there more sits??? I'm gonna play with this...
ch.homestate = "sit";//NOTE:I don't understand...
ch.Dialog.Filename = "Random_mates_sit_tavern_dialog.c";//NOTE:This is correct dialog for sitting Officers
GiveItem2Character(ch, "blade34+1");//The fun stuff begins!
ch.equip.blade = "blade34+1";
GiveItem2Character(ch, "pistol1+1");
ch.equip.gun = "pistol1+1";
ch.nodisarm = 1;//Anti-disarm
//JRH ammo mod -->
if (ENABLE_AMMOMOD) { // LDH change
TakenItems(ch, "gunpowder", 6);
TakenItems(ch, "pistolbullets", 6);
}
//JRH ammo mod <--
ch.nation = PIRATE;
ch.rank = 1;
ch.reputation = "None";
ch.experience = "0";
ch.skill.Leadership = "1";
ch.skill.Fencing = "1";
ch.skill.Sailing = "1";
ch.skill.Accuracy = "1";
ch.skill.Cannons = "1";
ch.skill.Grappling = "1";
ch.skill.Repair = "1";
ch.skill.Defence = "1";
ch.skill.Commerce = "4";
ch.skill.Sneak = "1";
ch.perks.list.BasicCommerce = true;
ch.perks.list.AdvancedCommerce = true;
ch.perks.list.Trustworthy = true;
ch.perks.list.SharedExperience = true;
ch.money = "2500";//The fun stuff ends here
LAi_SetSitType(ch);//NOTE:It makes sense!
LAi_SetLoginTime(ch, 0.0, 24.0);//NOTE:basicly the time the NPC appears 0:00-24:00
LAi_SetHP(ch, 80.0, 80.0);//NOTE:HP
ch.HPBonus = 100;//NOTE
ven more HP, I can do without
LAi_NoRebirthEnable(ch);//NOTE:Anti-cheat I guess?
ch.greeting = "Gr_camilo machado";
AddGameCharacter(n, ch);
}
------------------------------------------------------------

-----------------------------------
void CreateOfficersCharacters(ref n)
{
object chobj;
ref ch;
makeref(ch, chobj);
ch.old.name = "Jessie";
ch.old.lastname = "Quinn";
ch.name = TranslateString("", "Jessie");
ch.lastname = TranslateString("", "Quinn");
ch.id = "Jessie Quinn";
ch.model = "Danielle";//NOTE: I don't think it's the model that causes the invisibility but one of the location codes that does that...
ch.activity_begin = "0";//Times
ch.activity_end = "24";//Basicly there all hours of the day...
ch.sex = "woman";
ch.location = "Tortuga_tavern";//NOTE:I DO understand...
ch.location.group = "sit";//NOTE:I don't understand...
ch.location.locator = "sit1";//NOTE:I don't understand...
ch.homelocation = "Tortuga_tavern";//NOTE:I DO understand...
ch.homelocation.group = "sit";//NOTE:I don't understand...
ch.homelocation.locator = "sit1";//NOTE:I don't understand... is there more sits??? I'm gonna play with this...
ch.homestate = "sit";//NOTE:I don't understand...
ch.Dialog.Filename = "Random_mates_sit_tavern_dialog.c";//NOTE:This is correct dialog for sitting Officers
GiveItem2Character(ch, "blade34+1");//The fun stuff begins!
ch.equip.blade = "blade34+1";
GiveItem2Character(ch, "pistol1+1");
ch.equip.gun = "pistol1+1";
ch.nodisarm = 1;//Anti-disarm
//JRH ammo mod -->
if (ENABLE_AMMOMOD) { // LDH change
TakenItems(ch, "gunpowder", 6);
TakenItems(ch, "pistolbullets", 6);
}
//JRH ammo mod <--
ch.nation = PIRATE;
ch.rank = 1;
ch.reputation = "None";
ch.experience = "0";
ch.skill.Leadership = "1";
ch.skill.Fencing = "1";
ch.skill.Sailing = "1";
ch.skill.Accuracy = "1";
ch.skill.Cannons = "1";
ch.skill.Grappling = "1";
ch.skill.Repair = "1";
ch.skill.Defence = "1";
ch.skill.Commerce = "4";
ch.skill.Sneak = "1";
ch.perks.list.BasicCommerce = true;
ch.perks.list.AdvancedCommerce = true;
ch.perks.list.Trustworthy = true;
ch.perks.list.SharedExperience = true;
ch.money = "2500";//The fun stuff ends here
LAi_SetSitType(ch);//NOTE:It makes sense!
LAi_SetLoginTime(ch, 0.0, 24.0);//NOTE:basicly the time the NPC appears 0:00-24:00
LAi_SetHP(ch, 80.0, 80.0);//NOTE:HP
ch.HPBonus = 100;//NOTE

LAi_NoRebirthEnable(ch);//NOTE:Anti-cheat I guess?
ch.greeting = "Gr_camilo machado";
AddGameCharacter(n, ch);
}
------------------------------------------------------------