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 -
First I have tweaked the character and companion ship icon locations in battleinterface.c to put them roughly down at the bottom left where NH had them before. This removes them from the log message area.
The settings I currently have are
Code:BattleInterface.ShipIcon.iconoffset1 = "70,680"; BattleInterface.ShipIcon.iconoffset2 = "198,680"; BattleInterface.ShipIcon.iconoffset3 = "326,680"; BattleInterface.ShipIcon.iconoffset4 = "454,680"; BattleInterface.ShipIcon.iconoffset5 = "582,680";
I have looked how to move the moor/world map icon etc back into the now vacant position top left but haven't yet found where that is set - if it were returned it would be under the relevant text which is still being set on the left. If this clears the overlaps I presume this would have to be done in all relevant interfaces for consistency.
I have a problem with storms, the rolling messages that tell you how badly you're sailing (usually top centre under the date) do not appear. The storm seems to lock you into sailing after since when world map should become available it fails to load and dumps you back in sea. Just sailing also fails to arrive anywhere I think - so I think possibly the world map coordinates of pchar location have been lost - but it could be anything really.
When you get companion ships the "give order" choice has the wrong icon (should be a flag not a sail) and although you do get choice of companion no command icons are presented so you cannot action a command.
I attach a save in the post storm situation and another moored with companions for you to check out the issues if it helps.
so new horizons is now working on this engine?
From what I understand, @pedrwyth is working together with @ChezJfrey to test it.so new horizons is now working on this engine?
First, your storm messages. It looks to me, in battleinterface.c, like those appear under the following conditions:
if (!IsEntity(&IShipRoll) && Whr_IsStorm() && CheckAttribute(PChar, "Capsize") && GetCharacterShipClass(PChar) < 8)
However, in that save game with the storm, a trace shows me that Whr_IsStorm() is false, and GetCharacterShipClass equals 8. So two of the criteria don't match and that is probably why those particular messages don't show.
However your comment about Whr_IsStorm() may have relevance to getting stuck in the storm. World map should only appear once the storm abates or moves on hence perhaps the Whr_IsStorm() = false in the saved game. You could occasionally go to world map and immediately encounter a persisting storm again. However in all three instances I have encountered storms the locked into storm scenario has arisen so either I am currently unlucky or something is different with the way the storm persists. I guess since you haven't changed anything there it's something for me to try and resolve.I checked Whr_IsStorm() and it is defined in WhrWeather.c, passing back the value of bWeatherIsStorm. I searched the content of the original, untouched NH program files I have and found only two files that use bWeatherIsStorm: WhrGeneration.c and WhrWeather.c. I then compared both of the stock NH files to my versions and both of them are unchanged by me, matching exactly.
You can't exit the sea, because as soon as you go back to worldmap, the storm is still there, you get caught in it again, and are immediately placed back in sea, during a storm. I didn't know if that was intentional or not, so left it, because I did not change the weather code at all, and looking at my changes to worldmap, they are minimal and have nothing to do with storm generation and/or whether the storms 'stick' like they appear to do. Again, I didn't know if that was by design.
I also don't know what those 'Give Command' selections are supposed to do, since I've never played NH. I notice if you select a companion ship, nothing happens...but I also don't know what is supposed to happen? I've altered battleinterface.c and loginterface.c to more closely match the original now and don't really see any code for that command in the stock New Horizons that is not also matching in the new version. Perhaps it's a deprecated feature in the engine, that no longer functions? I also noticed that the part of the code to display you companion's icons for selection, is removed from COAS scripts via comment. If this feature is intended for telling your companions to alter sail state, ammo, etc., it may require matching the technique in COAS now, if indeed some feature that used to enact, is deprecated now.
Ah, you had a Tier 8 ship then?Ok the rolling messages were my stupidity -sorry for timewasting , a higher tier ship does show the messages
I made the position change you offered.
objLandInterface.ManSign.(sOffsetIcon) = "70," + (70 + (i-1)*110);
objLandInterface.ManSign.(sOffsetIcon) = (70 + (i-1)*110) + ",700";
BattleInterface.ShipIcon.iconoffset1 = "70,700";
BattleInterface.ShipIcon.iconoffset2 = "180,700";
BattleInterface.ShipIcon.iconoffset3 = "290,700";
BattleInterface.ShipIcon.iconoffset4 = "400,700";
BattleInterface.ShipIcon.iconoffset5 = "510,700";
With companions I have put together some screen shots of what used to happen when running in the original engine. The choice of companion to order in give order.jpg is as far as we now get in maelstrom 2.8.2. Making the selection you move to the next screenshot. The commands you could give via the icons were attack, defend, sail away, heave to, use ability and hoist flag. So changing their type of ammo would be an additional feature.
In fact ammo charge type is another thing I have noticed not appearing in battle interface, you will see in the screen shots an icon of charge type just below and to the right of the compass
Fine I don't like change for change's sake which is why I was looking to maintain close to NH screen layout , but if it ain't broke in a COAS arrangement it don't need fixing.After reviewing your screenshots, the ineffect of 'Give Order,' in the new engine the COAS feature for similar action does work, but in a different way, with either a down/up movement along the 'shipsign' icons of your companions, it seems clear to me that the older way was deprecated, in favor of the different, COAS-style behavior to issue those same commands to your companions.
I simply added the up/down controls to init_pc.c (2 lines of script code), nothing else, and even with the icons scrolled out horizontally, the commands you are looking for show up with a press of up/down. You just can't tell which companion ship it applies with them lined out right to left, but the structure of that interface was clearly changed in the engine and I don't think the existing source base supports that old method any longer.
Given the task, I am currently unwilling to try and replicate that old method in the engine, since the code for it no longer seems to exist in the source and I would have to reproduce it from scratch, for no real benefit, since an already existing and workable solution already provides; simply reconfigure the battle interface to more closely match COAS.
For the moment I find the COAS style icons large and intrusive but that will pass, your solution of shifting the "action" icon from the top left was to a good location (although slightly too far right since it overlaps a bit of the wind information I think, it just needs the matching text to go there too - no idea where that is controlled yet. For me the logs should stay left either under the man/ship icons but message heavy actions like loading cargo in the store would swamp the space, so more likely just right of the ship/man icons.The fastest resolution is to spend a little time reconfiguring some interface positions. This would require a little bit of repositioning of those log messages, though, because the player would need to be able to button up/down along the list of companions, rather than have them displayed horizontally.
Thoughts?
It is a squeeze for 5 ship icons, but NH only has you and three companions (at present although there was some work on increasing this) so needn't be as tight as I have it here. Without the ship names the man icons can be squeezed up so putting them on the right is do-able. If the ship icons are dropped for four only then the charge icon I referred to earlier would still fit (if it can be restored).The only other possible option would be to put the man/ship icons on the right under the compass if there is room for the 5 current limit in NH, leaving action icon and logs as is?
It is a squeeze for 5 ship icons, but NH only has you and three companions (at present although there was some work on increasing this) so needn't be as tight as I have it here. Without the ship names the man icons can be squeezed up so putting them on the right is do-able. If the ship icons are dropped for four only then the charge icon I referred to earlier would still fit (if it can be restored).
Simplest leaving logs and action item icons where they originally were?? The downside is the action icons (on pressing return) are put by default at the same screen height as Pchar man/ship icon so right across the screen - this may be controllable separately of course
Of course, should have done that anyway!I'd like to experiment with what you've done here. To save me some time, since you've already done the trial/error positioning values, can you post those setting you used so I can copy?
BattleInterface.ShipIcon.iconoffset1 = "1235,240";
BattleInterface.ShipIcon.iconoffset2 = "1235,360";
BattleInterface.ShipIcon.iconoffset3 = "1235,480";
BattleInterface.ShipIcon.iconoffset4 = "1235,600";
BattleInterface.ShipIcon.iconoffset5 = "1235,720";
Of course, should have done that anyway!
Code:BattleInterface.ShipIcon.iconoffset1 = "1235,240"; BattleInterface.ShipIcon.iconoffset2 = "1235,360"; BattleInterface.ShipIcon.iconoffset3 = "1235,480"; BattleInterface.ShipIcon.iconoffset4 = "1235,600"; BattleInterface.ShipIcon.iconoffset5 = "1235,720";
I moved those icons to the right, similar to what you did (though not exactly, but I can adjust later). I also added the two lines that enable up/down, so now you should be able to hit Enter, then up/down along the companion ships to display their respective commands.
What do you think?
OK tried it a bit more and got more familiar with it, I was initially confused by the redundant chooser from give order - which is now superfluous. Intuitively I would prefer the interface to revert to the PChar line on exit after a command or esc since that is where most of the commands apply but I guess it is just a question of acclimatisation. The possibility of adding a reload command to your companions (is this already a COAS feature) could add to gameplay options.
I wonder if it is feasible to add the green arrow pointing over the selected companion when you have their line active (as in previous NH chooser) since I often use that to identify which of my ships I want to order to act in a given situation - but no big deal.
In fact ammo charge type is another thing I have noticed not appearing in battle interface, you will see in the screen shots an icon of charge type just below and to the right of the compass
My concern with leaving the companions horizontal is that it is now difficult to discern whom is receiving the command, but if you prefer to leave them that way, I won't argue. It's just that if they were vertical, I wanted to demonstrate that the command receiver is identifiable by the line of commands lining up against the 'active' companion as you move up/down the list.
Fine I don't want spoon feeding so I can look in the newer game scripts and see how to achieve that (if I decide to add it -it would only be after getting the latest version up on 2.8.2).What shot a companion is to load is indeed a feature in COAS, and is achieved in the battleinterface script.
Again easier to ask than to search it out - don't be afraid to tell me not to be lazy if it is not really an engine compilation issue.Oh, I found that. The settings from the original are too far to the right and thus don't display. In BattleInterface.c, change, for 'not bRealBattleInterface' else condition:
BattleInterface.navigation.chargePos = RecalculateHIcon(160)+","+RecalculateVIcon(174);
to
BattleInterface.navigation.chargePos = RecalculateHIcon(52)+","+RecalculateVIcon(174);
I'm just slowly working through the various interfaces, in game stuff is more problematical for me to comment upon. Well OK The bigee, which you already know about, is particle effects - for example a booby trapped chest originally blows up with a short explosion - the new engine effect is a lasting flame which doesn't stop until you leave the location. I don't think you or I are going to do the work to get XML equivalents but the system to accept XML (even if the effect changes are by trial and error) is for you (if anyone) I think.Unless @pedrwyth is holding out on me, saving me from more crushing and debilitating problems, as yet unmentioned?
That one does indeed make very creative use of the Storm engine.I have a sneaking suspicion that Woodes Rogers in pushing the limits of ways the capabilities are used may be a bigger challenge to run successfully, but that's just on impression of how different it seems. It may be the new engine copes with it without breaking sweat.
That sounds very familiar, so I doubt that is related to the new engine.Oh and by the way my impression with direct sail (arcade level) was wrong you do arrive where expected, but in a couple of instances M for map had the ship icon in an odd place (still haven't checked the original for that but I presume it will show the same behaviour).