About the officers ammo. I don't remember how it was meant to function but it sounds bad.
I'll see to it when I get home again.
I'll see to it when I get home again.
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!
Quick links for Beyond New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
- Bug Tracker on Github
Quick links for Maelstrom
- Download the latest version of Maelstrom
- Download the latest version of ERAS II
- Download the latest version of New Horizons on Maelstrom
Quick links for PotC: New Horizons
- Download latest version
- Wiki
- FAQ
- Report bugs here
Thanks to YOUR votes, GOG.com now sells:
- Sea Dogs
- Sea Dogs: Caribbean Tales
- Sea Dogs: City of Abandoned Ships
Vote now to add Pirates of the Caribbean to the list!
Quick links for AoP2: Gentlemen of Fortune 2
- Downloads and info
- ModDB Profile
- Forums Archive
A Pirate Podcast with Interviews
Music, Comedy and all things Pirate!
- Episode Guide - About - Subscribe -
- Twitter - Facebook - iTunes - Android -
- Youtube - Fill the Coffers -
- Officers don't equip items and armour I give them, only weapons? So no compass for my navigator and no cuirass for the assault team?
I have a problem like this in my game and I have noticed it's in the build as well - equipable items that modify skills do not have their modifiers taken into account when an officer equips them automatically. To have the modifiers apply you must equip the officer's item manually. I have tried to fix this but have been unsuccessful.Sometimes the officers do not equip items and I have to equip them manually, but they always seem to have ammo when I think to check. Their swords do wear out, and so do the crew's swords.
I've checked the code and officers restock themselves when visiting the ship.- Gunner only stocks me with ammo, but not the officers?
I've checked the code and officers restock themselves when visiting the ship.
void AddGameCharacter(ref n, ref ch)
{
if (!CheckAttribute(ch, "id")) return;
int chridx = GetCharacterIndex(ch.id);
ref chr;
if (chridx >= 0) {
makeref(chr, Characters[chridx]);
} else {
makeref(chr, Characters[n]);
chridx = n;
n++;
}
DeleteAttribute(chr, "");
CopyAttributes(chr, ch);
chr.index = chridx;
InitCharacter(chr);
DeleteAttribute(ch, "");
if (!CheckAttribute(chr,"quest.officerprice")) chr.quest.officerprice = 0;//PB
if (isSoldier(chr) > -1) {
chr.model.uniform = chr.model;
int iNation = sti(chr.nation);
string model = "m" + sti(chr.model);
if (iNation >= 0 && iNation < NATIONS_QUANTITY) model = Nations[iNation].fantomModel.(model);
if (iNation == PERSONAL_NATION) model = characters[GetMainCharacterIndex()].Soldier.(model);
SetModel(chr, model, chr.sex, chr.sex, 0.0, false);
TakeItemFromCharacter(chr, GetCharacterEquipByGroup(chr, BLADE_ITEM_TYPE));
TakeItemFromCharacter(chr, GetCharacterEquipByGroup(chr, GUN_ITEM_TYPE));
//ARF change: sword equip depends on nation char (later periods) i always put the less rare swords
if(GetCurrentPeriod() >= PERIOD_GOLDEN_AGE_OF_PIRACY)
{
switch(sti(chr.nation))
{
case ENGLAND:
GiveItem2Character(chr, "blade39");//ARF: Gold Handled Naval Dirk, awesome looking (available from golden age of piracy)
break;
case FRANCE:
GiveItem2Character(chr, "blade3");//ARF: Badelaire (available in all periods but guards get later)
break;
case SPAIN:
GiveItem2Character(chr, "blade47");//ARF: Light Tizona (available in all periods but guards get later)
break;
case PORTUGAL:
GiveItem2Character(chr, "blade29");//ARF: Portuguese Officer's Sword (available in all periods but guards get later)
break;
case HOLLAND:
GiveItem2Character(chr, "blade26");//ARF: Solingen Rapier (available from spannish main but guards get later)
break;
case AMERICA:
GiveItem2Character(chr, "blade27");//ARF: Bosun's Choice {no faction} (available from golden age of piracy)
break;
case PIRATE:
GiveItem2Character(chr, "blade50");//ARF: Venetian Navy Cutlass {pirate sword} (available from golden age of piracy)
break;
// default:
GiveItem2Character(chr, "blade36");//ARF: hunting sword (all periods available) only for "non regular" nation
}
GiveItem2Character(chr, "pistolmket"); //musket for periods from golden age of piracy
chr.equip.gun = FindCharacterItemByGroup(chr, GUN_ITEM_TYPE);
if (ENABLE_AMMOMOD)
{
TakenItems(chr, "gunpowder", 1 + rand(2));
TakenItems(chr, "musketbullets", 1 + rand(1));
}
}
//ARF: sword equip depends on nation char (for earlier period) i always put the less rare swords
else
{
switch(sti(chr.nation))
{
case ENGLAND:
GiveItem2Character(chr, "blade22");//ARF: Corsair's Pride (available all periods but guards get earlier)
break;
case FRANCE:
GiveItem2Character(chr, "blade9");//ARF: French Admiralty Rapier (not available after golden age of piracy)
break;
case SPAIN:
GiveItem2Character(chr, "blade16");//ARF: Tizona (not available after golden age of piracy)
break;
case PORTUGAL:
GiveItem2Character(chr, "blade15");//ARF: Iberian Longsword (not available after golden age of piracy)
break;
case HOLLAND:
GiveItem2Character(chr, "blade23");//ARF: Dutch Admiralty Sword (available all periods but guards get earlier)
break;
case AMERICA:
GiveItem2Character(chr, "blade10");//ARF: piranha {no faction} (not available after golden age of piracy anyway AMERICA doesnt exist early)
break;
case PIRATE:
GiveItem2Character(chr, "blade6");//ARF: Schiavona {pirate sword} (not available after colonial power)
break;
// default:
GiveItem2Character(chr, "blade36");//ARF: hunting sword (all periods available) only for "non regular" nation
}
GiveItem2Character(chr, "pistol1"); //ARF: short pistol for earlier periods
chr.equip.gun = FindCharacterItemByGroup(chr, GUN_ITEM_TYPE);
if (ENABLE_AMMOMOD)
{
TakenItems(chr, "gunpowder", 1 + rand(2));
TakenItems(chr, "pistolbullets", 1 + rand(1));
}
}
chr.equip.blade = FindCharacterItemByGroup(chr, BLADE_ITEM_TYPE);
}
}
Can you access it now? I've just tweaked the permissions to allow Modders to see it. Looks like Keith forgot to set that back up properly.out of subject: also what happend to the modding sub forum ? i cant see it
yes thank youCan you access it now? I've just tweaked the permissions to allow Modders to see it. Looks like Keith forgot to set that back up properly.
I can't view the images you're referring to unless I right-click and choose 'view image', just so you're aware.If you think these above are usable, please tell me who to send them to.
I can't view the images you're referring to unless I right-click and choose 'view image', just so you're aware.
I definitely think they're worth using, so if you could upload the files then that would be great.
Before the forum upgrade, I would have said you could use our FTP, but Keith has since moved away from that in favour of Dropbox-like services, which you could use.
The pictures still don't show up properly in that post, for some reason.The forum transfer made pics go away. I relinked them they should work now, no?
Flags post.
Here is the dropbox linque: https://www.dropbox.com/s/6v05t7aovdyt932/imppnt-trig.zip
Does it work or have I got some settings wrong?
That would be a good way of categorising them, yes. Might have to wait for Pieter to comment on it though; he knows more about that dialogue than I do.For the in game personal flag choice, I'd recommend making them available (for the variety of it all) split into sub conversation menus if possible:
"I want to talk about flags, bla bla bla...""We have flags of major powers." -->"Select one:Russia, Poland (Poland-Lithuania), Habsburgs (Austria), Prussia, Sweden, Denmark-Norway, Venice, Turkey"(two sets for early and late game periods)"We have flags of independent lands." -->"Select one:Scotland, Malta, Naples, Savoia, Sicily, Genoa, Tuscany, Ragusa"(same for all periods)"We have flags of lands that hope to become independent." -->"Select one:Brandenburg, Hannover, Ireland, Wales, Lithuania, The Hansa, Spanish Holland, Your own custom flag (to change, edit the last flag in impflg4 and imppnt4)"(same for all periods)
Yes? No? Maybe?