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

Search results

  1. C

    Need Help Keys (?) keep resetting

    Yes, that would be a good choice and if remains consistent across files where strings are consumed by the engine to be displayed, used in the controls mapping, compared, then there should not be any problems. I believe this is why the Russian mods work; the files are all saved the same format...
  2. C

    Need Help Keys (?) keep resetting

    Correct on UTF-8. Unfortunate this inability to decipher exists within the engine, but it is what it is. I dug up the old conversation I had and it had to do with the CT Historical Immersion and the é character. The differences in codepages can also be a problem for characters that reside...
  3. C

    Need Help Keys (?) keep resetting

    I use Visual Studio, because that is the original project, it uses a bunch of Microsoft Windows API and Windows-only macros in the code. Since this was derived from the original, the cd versions of the game are built the same way, so I see a curious contradiction that the "original" game...
  4. C

    Need Help Keys (?) keep resetting

    No, I'm not. I guarantee you the engine does NOT read the BOM and it will not decipher UTF-8 (or any other UTF) properly; the only time it gets them "correct" is because the first 128 characters of those two sets happen to correspond. The engine ALWAYS assumes ASCII and uses the ASC function...
  5. C

    Need Help Keys (?) keep resetting

    How do I say this delicately? Ignore that last Cerez post. What you need to remember is that the "compiler" for the game, that parses and interprets the script code does not conform to any standards, and only understands what it was coded to do. So in the case of the backslash character, it...
  6. C

    Need Help Keys (?) keep resetting

    It's an engine problem where sometimes the null terminator for the strings gets overwritten by a non-null and now the convention of reading strings expecting a null terminator, and not finding one until it overreaches into other non-relevant memory/garbage corrupts it. You can't solve it with...
  7. C

    Need Help Changing video/lighting settings in Windowed mode

    DirectX 8 and DirectX 9 specifically disallow those settings while in Windowed mode: IDirect3DDevice9::SetGammaRamp (d3d9.h) - Win32 apps That feature specifically uses SetGammaRamp function and from the docs: Though it also states that DX9 can replicate the behavior while windowed, if using...
  8. C

    Need Help Adding Unique Ships

    Just the model parts; the texture names remain the same as whatever they are copied from, but in their own Ships folder. The ship portrait and icon are separate and are done elsewhere. For the icon, script file battle_interface\BattleInterface.c, function SetShipPictureDataByShipTypeName(int...
  9. C

    Need Help Officer XP

    The main function that adds experience is in characters\RPGUtilite.c: AddCharacterExpToSkill
  10. C

    Need Help Scaling the game's particles

    Probably because they use the "signstar" particle instead; there is a signstar.xps file in COAS particles. In locations_loader.c file, function LoadLocation, they added this: if (loc.id == "Treasure_Alcove") { CreateLocationParticles("signstar", "teleport", "teleport6", 0.3, 0, 0...
  11. C

    Need Help Adding Unique Ships

    First, make sure at the top of Ships\Ships.h that you increment the quantities by one for the new ship #define SHIP_TYPES_QUANTITY 29 #define SHIP_TYPES_QUANTITY_WITH_FORT 30 // must be (SHIP_TYPES_QUANTITY + 1) Also, given that some of the functions, like...
  12. C

    Need Help Scaling the game's particles

    The particle system for COAS was likely done using Maya, but the source files, and the export plugin, was never supplied like the model export; I suspect that there was a mel export, similar to the model export, that the original developers used when creating those .xps files. Since we do have...
  13. C

    Cannot 'Sail On': GoF Hist Eras 2

    The ability to skip worldmap encounters is unchanged from stock, vanilla COAS. If the player (or Navigator) has the Ship Perk, "Old Sea Dog," then any encounter, except certain "quest" encounters, can be skipped. If the player does not have that perk, then a random chance to skip is provided...
  14. C

    Lag and Performance issues in areas with many NPC's

    @Cerez is correct about Win10 deprecations/changes that can cause DX8 and DX9 framerates really slow (has to do with how they handle software vs. hardware vertex processing initialization), but that would be a permanent condition in the game. Since this condition is for each scene load, and...
  15. C

    Discussion The Dog OF War

    Those numbers you are looking for (from the Wiki) can be achieved in GOF 1.2 or ERAS 2. Neither GOF 2 or 2 + 1.5 patch can attain those figures, and your reload max stats are pretty close to the highest you would probably get in GOF 2. I'm going to assume the Wiki is a typo and they meant GOF...
  16. C

    Discussion Would there be a way to remove the tutorial at start?

    ERAS explicitly states it is NOT compatible with the original Storm engine, so nobody should be surprised if scripts and content borrowed from it crash the Storm engine. ERAS was tailored with an engine that will auto-detect memory usage and scale some texture resolutions down, on-the fly, it...
  17. C

    Need Help Upgrade fo sails

    @Pieter Boelen is on the proper track with the sail hitpoints for purposes of enhancing in the shipyard. The GetRigDamage function is for determining the amount of damage a particular opponent and ammo used during a specific "hit" event during combat; it is triggered from the engine when it...
  18. C

    Solved Tenochtitlan Quest Bug

    Good that you found a workaround. I got your save file, and from the looks of things, there is a bug related the .show attribute of the totem items that can prevent placement in the temple locations; my best hunch is the acquisition of the items into inventory, if obtained via a chest or trade...
  19. C

    Guide Information and differences between game versions

    Slight correction. Storm 2.8 uses DirectX 8. Although the cd specifies DirectX 9 and the system.log file shows DirectX 9, if you use a process explorer while the game is running, it uses d3d8.dll and does not load d3d9.dll. This is also verified in the engine source code that it uses DirectX...
  20. C

    Mod Release Gentelmen of Fortune! v1.2 Full Release Patch 1.0 FAQ/Bugs/Installing

    Your screenshot shows you are in the Shipyard. That is the wrong place to replace cannons on the ship and is reference only. To fix/replace your cannons on a particular ship, use F2 to access your character screens, click Ships, select a ship in the left scroll, double-click the...
Back
Top