• 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!

Citizen

marbatico

Assassin
hi guys,

as some of you might know, i'm adding directions to the city's that don't already have them.
so far i've completed the Willemstad and Oranjestad dialogs.

now i want to test them, but to do that i need to ad citizens to the city's and connect the dialogs to them.

can anybody tell me how to do that (plz remeber that i've never done any modding before)
 
Ok I did some searching and it appears you have to make them actual characters

It isn't hard to do though, goto: PROGRAM/Characters/init/Conceicao.c

Go down the page till you find:
Code:
		//Maria Rivaldo -- towngirl3
ch.old.name = "Maria";
ch.old.lastname = "Rivaldo";
ch.name = TranslateString("","Maria");             //1*
ch.lastname = TranslateString("","Rivaldo");       //2*
ch.id		= "Maria Rivaldo";                 //3*
ch.model	= "towngirl3";                     //4*
ch.sex = "woman";
ch.fanatic = "1";
ch.church = "Conceicao_church";
ch.church.loc = "goto3";
ch.back.location = "Conceicao_port";
ch.back.locator = "goto11";
ch.sound_type = "female_citizen";
ch.location	= "Conceicao_port";                 //5*
ch.location.group = "goto";                         //6*
ch.location.locator = "goto11";                     //7*
ch.Dialog.Filename = "Conceicao Citizen_dialog.c";  //8*
ch.greeting = "Gr_Woman_English Citizen";
ch.nation = PORTUGAL;                               //9*
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 = "1";
ch.skill.Sneak = "1";
ch.money = "10";
LAi_SetCitizenType(ch);
LAi_group_MoveCharacter(ch, "CONCEICAO_CITIZENS");   //10*
AddGameCharacter(n, ch);

//Rodrigo Caldeira -- fisherman
ch.old.name = "Rodrigo";
ch.old.lastname = "Caldeira";
ch.name = TranslateString("","Rodrigo");              //1*
ch.lastname = TranslateString("","Caldeira");         //2*
ch.id		= "Rodrigo Caldeira";                 //3*
ch.model	= "fisherman";                        //4*
ch.sex = "man";
ch.sound_type = "seaman";
ch.location	= "Conceicao_port";                   //5*
ch.location.group = "goto";                           //6*
ch.location.locator = "goto5";                        //7*
ch.Dialog.Filename = "Conceicao Citizen_dialog.c";    //8*
ch.greeting = "Gr_Conceicao Citizen";                 //**
ch.nation = PORTUGAL;                                 //9*
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 = "1";
ch.skill.Sneak = "1";
ch.money = "10";
LAi_SetCitizenType(ch);
LAi_group_MoveCharacter(ch, "CONCEICAO_CITIZENS");     //10*
AddGameCharacter(n, ch);

So that is an example of a FEMALE and MALE Citizen from Conceicao (Grenada)
Now I will show you how to do it for Aruba ;)

Open up PROGRAM/Characters/init/Aruba.c

Copy either entry in how ever many female/male citizens you want giving direction then change the lines with //#*
//1* = character first name

//2* = character last name

//3* = character id MUST BE UNIQUE FOR EVERY CHARACTER

//4* = character model

//5* = character loction (ie port/town/outskirts) [to find this go to the location you want them to be in and hit F12 and in the top left it will say your postion and location]

//6* = locator type (ie goto, reload)
//7* = locator
[To find these open PROGRAM/InternalSettings.h, go to the bottom and find the line
Code:
#define VISIBLE_LOCATORS				0
and change it to
Code:
#define VISIBLE_LOCATORS				1
then load up the location and you will see a number of different coloured half spheres on the ground each with a word on top and under.
TOP = Locator type
BOTTOM = Locator

//8* = change it to YOUR dialog file ;)

//9* = change to island nation (ie for ARUBA = HOLLAND)

//10* = change "CONCEICAO_CITIZENS" to something like "ARUBA_CITIZENS" and this is the same for all citizens ;)

//** = Stock game nation town (ie "Gr_Douwesen Citizen") only for MALES
So if you were doing an English place ("Gr_Redmond Citizen")
 
That's too bad; if you ever find you can't continue the work, please do upload everything you have done. ;)
Wouldn't be the first time that somebody did some good work only to disappear before releasing. :facepalm
 
Back
Top