• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Help with added characters

Vassal

Hopeless Pirate Modder
Storm Modder
Aye mateys i have this problem i add a new character using Verrucks modding tutorial but when i tested it the character did'nt show up,what shall i do? <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/ohmy.gif" style="vertical-align:middle" emoid=":eek:" border="0" alt="ohmy.gif" />
 
Well i added a character because i wan to use my musketeer skin,well tell me which words i typed wrongly <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/blush.gif" style="vertical-align:middle" emoid=":eek:ops" border="0" alt="blush.gif" />:


makeref(ch,Characters[n]); // Carmilo Suez dela Cruz
ch.name = "Carmilo Suez";
ch.lastname = "dela Cruz";
ch.id = "Carmilo Suez dela Cruz";
ch.model = "Musketeer";
ch.sex = "man";
ch.sound_type = "soldier";
LAi_CharacterReincarnation(ch, true, true);
GiveItem2Character(ch, GUN_COMMON);
ch.equip.gun = GUN_COMMON;
GiveItem2Character(ch, BLADE_LONG);
ch.equip.blade = BLADE_LONG;
ch.location = "Falaise_de_fleur_location_03";
ch.location.group = "goto";
ch.location.locator = "Sitizen02";
ch.Dialog.Filename = "Falaise De Fleur citizen_dialog.c";
ch.greeting = "Gr_hardouin aufort";
ch.nation = FRANCE;
ch.rank = 5;
ch.reputation = "52";
ch.experience = "0";
ch.skill.Leadership = "4";
ch.skill.Fencing = "7";
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 = "1";
ch.skill.Sneak = "1";
ch.money = "10";
ch.quest.meeting = "0";
LAi_SetCitizenType(ch);
LAi_SetLoginTime(ch, 0.0, 24.0);
LAi_SetHP(ch, 120.0, 120.0);
LAi_group_MoveCharacter(ch, "FRANCE_CITIZENS");
n = n + 1;
 
when i did this, the problem i had was choosing the right reload .location.group and .location.locator. it took me ages experimenting with them before my character showed up. you could try copying another character's details (and commenting out that character) and seeing if that works?
 
Please, only one thread per issue. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
 
<b>Vassal,</b> check your code -

ch.location.locator = "Sitizen02";

Is that the way the locator is spelled in your version of the game? <b>S</b>itizen, or <b>C</b>itizen ?
 
I thought that was odd too cat, but it is infact spelled sitizen, though Sitizen02 is currently being used by another NPC...
 
Huh... That's funny. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> Oh well!

Nice to see ya here, Verruct! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" /> Hope to see ya around here more often! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" />
 
Do you think there's a difference between the US and European versions regarding this?

Is your character file located in

programscharactersinit

or

programscharactersinitenglishinit

I am having similiar difficulties with my experiments. Maybe try the different directory?
 
Back
Top