View attachment 25094
Levis now I get a runtimeerror installing you new Zip! Cant open the game!First post update 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 -
Levis now I get a runtimeerror installing you new Zip! Cant open the game!First post update again
I believed i did... Did i forgot?@Levis, you should really WinMerge your code with my latest ZIP here:
Mod Release - Build 14 Beta 4 Internal WIP For Testing | PiratesAhoy!
You missed out on my recent changes, one of which is probably quite important to your work.
What is the idea with this "Improved Fight AI"? Maybe worth making a new thread on that one.
It looks like a lot of changes, so hopefully the toggle doesn't leave anything out.
I didn't check every line....
And what is the new "Can Reload" function for?
sti(GetAttribute(PChar,"quest.mysterious_plants.crewmembers_killed_by_indians")) + 1
ChangeRMRelation(PChar, GetCurrentLocationNation(), 1);
Right ... will fix that this week@Levis: The following code may not do 100% what you want:
If the attribute isn't there, GetAttribute returns "-1" so the end result would become "0" instead of "1" as I figure you intend.Code:sti(GetAttribute(PChar,"quest.mysterious_plants.crewmembers_killed_by_indians")) + 1
I'd say build it into ChangeRMRelation^ Should that contains a check to ensure you don't get more points than 0 with a nation you don't have a LoM with?Code:ChangeRMRelation(PChar, GetCurrentLocationNation(), 1);
We normally do that. Though perhaps that check could also be built INTO the ChangeRMRelation function itself.
I think this should do the trick then:I'd say build it into ChangeRMRelation
//changes RMRelation between char and iNation, calling setRMR.
float ChangeRMRelation(ref char, int iNation, float relch)
{
relorg = GetRMRelation(char, iNation);
if (relch > 0.0 && !IsInServiceOf(iNation)) // If GAINING points when not in their service
{
relch += relorg;
if (relch >= REL_NEUTRAL) relch = REL_NEUTRAL; // Prevent becoming MORE than Friendly
if (relch < relorg) relch = relorg; // But don't ever LOSE points while you're meant to be gaining them!
}
else // Losing points OR in the service
{
relch += relorg; // Simple behaviour, no extra checks
}
SetRMRelation(char, iNation, relch);
PROGRAM\Leveling.c
PROGRAM\officers.c
INTERFACE\Perks\*.c
I think you just say it. The line in the dialog box: Show me Your skills.@ANSEL what do you mean?
they should be gone now. it was because I had the debug toggle still on by accidentI think you just say it. The line in the dialog box: Show me Your skills.