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

Solved Advanced Interface and Flags Code (and much more)

Armada

Sea Dog
Staff member
Administrator
Project Manager
3D Artist
Storm Modder
Test Version Available!

Download: http://www.piratesahoy.net/threads/build-14-beta-3-progress.20686
Contents:
Code:
Build 14 Beta 3 WIP 15:
- Bug Fixes:
  . Town and Island name display completely rewritten and fixed by Pieter Boelen
    Real Caribbean toggle removed: now ALWAYS on
  . Town names shown properly in Sail To menu by Pieter Boelen
  . IMPROVED Temporary Simple Solution for display of pirate flag on shore structures while ashore by Pieter Boelen
    > For display of pirate flag while ashore, use fixed fort flag file instead [WIP: Proper fix to be made]
  . Display of nation royalty fixed by Pieter Boelen
  . Buying Letter of Marque fixed by Pieter Boelen
  . Surrendered captain dialog fixed by Pieter Boelen
  . Sail To enabled in Arcade Game Mode again by Pieter Boelen
  . Double "Sea" icon on ship deck removed by Pieter Boelen
  . Dialog Camera mod disabled by default by Pieter Boelen
  . Changing default character names is split properly into first, middle and lastname by Pieter Boelen
  . "Guns Not Ready" sound removed by Pieter Boelen [WIP: This code to be rewritten to work properly]
  . SL_Utils.c reinitialization code removed to ensure it is treated the same way as the other storyline function files by Pieter Boelen
  . No more error messages on "floating object" without class by Pieter Boelen
- Code Updates:
  . Citizen dialogs added by Pillat
    GrandTurks, SantoDomingo, Havana, Marigot, Philipsburg, PoPrince, Santiago, Cayman, Oranjestad, Tortuga and Willemstad
  . Additional large cannon types added by Pillat
  . ANY cannon type can be installed at Vanderdecken's shipyard by Pieter Boelen
  . Town guards and soldiers strength dependent on difficulty level by Baste and Pieter Boelen
  . Starting Ship is of the same design as the selected player nation by Pieter Boelen
  . No "free" upgrades applied to the player starting ship and quest ships by Pieter Boelen
  . "We are recognized" log messages enabled ONLY in Arcade Game Mode by Pieter Boelen
  . Logs Toggle level description added by Pieter Boelen
- Interface Updates:
  . Select Storyline Interface:
    > Character Type takes effect on New Game by Pieter Boelen
    > Custom starting name takes effect on New Game by Pieter Boelen
    > Default Difficulty depends on selected storyline again by Pieter Boelen
    > When changing Standard Storyline starting nation, starting location description updates correctly by Pieter Boelen
    > When scrolling with arrow keys, selection doesn't default to "New Game" anymore by Pieter Boelen
    > Player Type selector not shown when Auto Skill System is OFF by Pieter Boelen
  . Ship and Shipyard Interface:
    > Player ship design shown correctly by Pieter Boelen
- Texture, Model and Sound Updates:
  . Colombia island model rotated 180 degrees and updated with actual San Felipe fortress by Armada
    > Fort Commander added for flag by Pieter Boelen
    > Display of Cartagena in interfaces and on Worldmap fixed by Pieter Boelen
  . ALL Worldmap Animated Flags, including USA, updated to be period-correct by Cassadar
  . Additional Sail Types by Pieter Boelen:
    > Weathered Emblemed Sails option with sails for all nations
    > Pure White and Standard Sails with US emblem
    > Standard Sails with personal nation emblem
- Storyline Updates:
  . BUG FOUND: If there are enemies in the starting location, starting quest case does not executed
    [WIP: Temp fix by always setting .vcskip = true at game start by Pieter Boelen]
  . Standard Storyline:
    > Personal flag returned to English flag ONLY if player nation was English by Pieter Boelen
    > France goes to war ONLY if player nation was Personal or England by Pieter Boelen
  . Hornblower storyline:
    > Jamaica Navy HQ open ONLY in this storyline at the necessary time by Pieter Boelen
    > Missing character init entries added by Pieter Boelen
  . La Croix storyline:
    > Error message due to compass code fixed by Pieter Boelen
- Modder Tools:
  . Separate Left and Right sidestep distance settings by Pieter Boelen

Build 14 Beta 3 WIP 14:
- Pirate_KK Code Base Merged by Pieter Boelen
- Bug Fixes:
  . Worldmap restored to proper working order by Pieter Boelen
    > Date resetting when going to worldmap on the first day fixed
  . Jack Sparrow and Sea Hawk storylines start properly again by Pieter Boelen
  . Personal Nation starting relations restored by Pieter Boelen
  . Buccaneers Camp display in Colonies Interface fixed by Pieter Boelen
  . Level Up cheats work properly if Auto Skill System is OFF too by Pieter Boelen
  . Captain Harvey missing initModels entry added by Pieter Boelen
  . "HMS" prefix used only in the Golden Age of Piracy and more recent RESTORED by Pieter Boelen
- Code Updates:
  . Different Flags code completely rewritten by Pirate_KK
    > Changing flag DURING the game through your crew DISABLED as it doesn't work with the new system
      [WIP: Add this functionality in the Nation Relations Interface]
  . Log Toggle allows to switch between various levels of notifications to reduce on-screen clutter
    > Arcade Game Mode shows logs on ALL characters and ships in the scene, but Realistic Game Mode only shows it for the ones NEAR you
  . Delay of 3 seconds (plus/minus morale changes) before your sail commands are executed by Pirate_KK
    > On Realistic and Iron Man Mode only by Pieter Boelen
  . Mutiny on companion ships
  . Periods System by Pirate_KK
    > Updated and adjusted by Pieter Boelen
      Includes "Tortuga friendly to pirates"
  . Models System by Pirate_KK
    > Reinitialization of this disabled to prevent error messages by Pieter Boelen [WIP: Proper fix to be made]
  . Profiles System by Pirate_KK
  . Sound and Music System by Pirate_KK
  . Worldmap Encounter Code simplified by Pirate_KK
  . Island and Town Generating System by Pirate_KK
    > Town re-initialization when adjusting Game Preferences fixed to prevent CTD by Pirate_KK
  . Promotion Titles by Pirate_KK
  . Sidestep by Pirate_KK
  . Keyboard Typing Code by Pirate_KK
  . Save/Load Code by Pirate_KK
  . Item availability code further modified by Pieter Boelen
    > Books are sold and cannot be found; skill modifiers hidden for low-level books, prices increased
    > "Item Realism" code simplified so only one table is required
      Skill modifiers for Jewelry, Indian Artefacts and Minerals hidden on Realistic Game Mode
- Interface Updates:
  . Select Storyline completely redone with additional customization options by Pirate_KK
    > Allows selection of your own flags, ship and character model
  . Nation Relations redone to provide a quicker overview by Pirate_KK
  . Capture Colonies code modified by Pirate_KK
  . Map Interface right-click functionality restored, fixed and updated for new Worldmap by Pieter Boelen
  . Character Interface title and officer type use simplified by Pieter Boelen as per an idea by Pirate_KK
- Texture, Model and Sound Updates:
  . Island interface pictures redone by Cassadar
  . All crest textures, including various pirate and personal flags, redone and updated by Pieter Boelen
  . NEW crests textures used properly in Ship, Shipyard, Questbook and Colonies Interface by Pieter Boelen
    Old crests.tga.tx and nations.tga.tx files are no longer used
- Storyline Updates:
  . All pre-defined flag uses adjusted for the new system by Pieter Boelen
  . Woodes Rogers Storyline:
    > Various fixes by Jack Rackham
    > Flags set up for new system by Jack Rackham and Pieter Boelen
Main stuff we need to know:
- What doesn't work properly that DOES work in Beta 3 WIP 12? Eg. what does this version BREAK?
- What is your opinion on the new stuff?


==========================================================================

Original Opening Post:
I personally don't intend to do much of the testing myself. If I can, I'd like to try adapting the Customize Character interface again.
Worth another shot, no? :wp

This would be a major achievement indeed! If you want a hand with this, I might be able to help, since I did some interface work not long ago. :read
 

Attachments

  • model_fix_v2.zip
    494 KB · Views: 215
Last edited by a moderator:
I'm going to have to start out with a fair bit of WinMerging first. But once I manage anything at all, I'll put it as a pack on the forum somewhere and then we can see how much further we can take it.
I'll be sure to let you know if I need any help. :yes
AGH! Why is that new coding so COMPLICATED??? Just about everything is different.
Oh well; if I do a bit of merging each day, eventually we'll get.... somewhere....? I hope....? o_O
 
AGH! Why is that new coding so COMPLICATED??? Just about everything is different.
Oh well; if I do a bit of merging each day, eventually we'll get.... somewhere....? I hope....? o_O
I'm just going to have to repeat that. It's crazy complicated. Not at all sure how I'm going to get some sense out of this.
What I want to do is to ONLY install the new Select Storyline interface. But there is SO much stuff that influences that, that I'm wondering if I should try to install EVERYTHING.
But "everything" in this case is rather a lot, some of which isn't finished and some of which is not compatible with our recent modpack versions. :facepalm
 
I'm just going to have to repeat that. It's crazy complicated. Not at all sure how I'm going to get some sense out of this.
What I want to do is to ONLY install the new Select Storyline interface. But there is SO much stuff that influences that, that I'm wondering if I should try to install EVERYTHING.
But "everything" in this case is rather a lot, some of which isn't finished and some of which is not compatible with our recent modpack versions. :facepalm

Perhaps you could open a new thread about this and give details of the new files and incompatibilities.
That way, at least the rest of us would be able to see what's going on so we could chip in where possible. The more people working on this, the more likely we are to succeed, right?
 
Perhaps you could open a new thread about this and give details of the new files and incompatibilities.
That way, at least the rest of us would be able to see what's going on so we could chip in where possible. The more people working on this, the more likely we are to succeed, right?
I wished it was that easy. I started doing it the other way around: Since Pirate_KK's work is based on Build 14 Beta 1, I'm trying now the following:
1. Compare Beta 1 with Beta 2.4 WIP
2. Move all Post Beta 1 content into the Pirate_KK version

That will hopefully give us a working KK version that is up-to-date as per Beta 2.4.
Then we can try that one out and start taking out parts that don't work and/or aren't finished.
 
Indeed it is. Rocket science! Especially for someone who is not an expert programmer. At all.
 
I wished it was that easy. I started doing it the other way around: Since Pirate_KK's work is based on Build 14 Beta 1, I'm trying now the following:
1. Compare Beta 1 with Beta 2.4 WIP
2. Move all Post Beta 1 content into the Pirate_KK version

That will hopefully give us a working KK version that is up-to-date as per Beta 2.4.
Then we can try that one out and start taking out parts that don't work and/or aren't finished.

That sounds like a logical way of approaching it, I guess. Let us know how you get on. :sail
 
Of course! For now, it's just doing murder on my wrist though. Which is brilliant, considering I walk on that thing too. :whipa
 
DAMMIT! I got my merged game version to start up without crashing, but now the game crashes when you go to Start New Game.
Looks like there are some files missing and I don't have them anymore. Used to be on the FTP, but of course that is dead now.

I *thought* everything was in the file I DO have, but it turns out that is not the case.
Used to have the files in a working KK game installation, but since I thought I had all the required files,
I had removed that to make space (every HD I've got is getting a bit full).
So now I can't restore those files, not even with a "deleted file restoring program thingey". Clever, innit?

I've sent a PM to Pirate_KK himself, hoping that he'll drop by and help out here.
In the meantime... looks like I've run out of options. :modding
 
Damn. That's annoying. :facepalm

Have you considered sending Pirate_KK an email to try and get his attention?
 
Haven't done that yet; can try if he doesn't answer. While he hasn't posted for over a year, the forum says he was last active on Apr 28, 2013.
That's not so long ago. So hopefully he does get the "new reply to your PM" e-mail messages... :confused:
 
There is still hope; Pirate_KK replied to my message. Don't have the files yet, but we'll get further than would otherwise be the case, I'm sure. :cheeky
 
Another failed attempt at humor here. :rumgone When something scary happens and makes you nervous you can put on a brave face and carry on. It is called "Whistling past the graveyard.". Think "Legend of Sleepy Hollow".
 
Now I'm REALLY quite confused. Turns out that my game doesn't always crash when opening the Select Storyline interface.
Sometimes it DOES work. See?
SelectStorylineAssassin.jpg
But when the interface DOES open, the storyline shown is NOT the Standard one, but the Woodes Rogers one.
One time I managed to scroll all the way to Master & Commander before it crashed, but the other time it crashed before getting to Hornblower.
I don't know WHAT I did, but it's got very unstable results. :facepalm
 
Managed to make a semi-working Beta 1-based installation of Pirate_KK's files again. Still excluding the required texture files.
Not entirely sure what to do next. Move the Beta 2.3 content into the Beta 1 KK installation bit by bit? Or wait for Pirate_KK's latest files first.
Maybe I should take a bit of a break.... :wp
 
Back
Top