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

main and aft mast realities

Covetski

Landlubber
Currently In the build the british ships fly the british falg on the tip of every mast...
--INTO REALITY--
the small flags at the top of each mast form a message to passing ships... so they are never identical (maybe they are for the armed navy but not for merchants and freelancers)
--MOD--
the small flags are flying the british flags
--REALITY--
they actually fly the red cross to symbolize tht the ship belongs to the British Royal Navy
the ORIGIN of the ship is noted by ONE BIG flag thatis either lifted on the main mast (large ship) or the aft mast(small ship -- like the Intercepter in the movie POTC, note how the flag is big and is tied to the aft mast


THE FOLLOWING IS JUST FOR THOSE EXTREME PERFECTIONISTS OUT THERE

The French army was devided into three groups (musketeers, cardinals, army) <---not a story from the Three Musketeers but a reality, the cardinals were more like "the town guards" and the musketeers were like "bodyguards of the high ranks" (AKA secretservice in flashy blue outfits) and the main army is what is in the game.

The British Naval officers had Blue outfits (like the warrant officer in build 11) the British colonies had MASSIVE amounts of patrols (lead to their defeat in the long run---long story)

The Spaniard uniforms are a little `out-of`-date at the time in the game (they are currently wearing uniforms of Conquistadors (shields and longswords--earliest of the gunpowder age)

other than that that's it... (I hate being picky but that's the way I am when it comes to historical accuracy) please correct me if I'm wrong, and sorry for being so picky again
 
the problem with the flags is that the function that chooses a flag texture is only given the nation of the character, and doesn't know what mast it's being put on, or even whether it's being put on a ship, a fort or a governor's residence... (that's because it gets called by an event "GetSailTextureData", rather than being called directly, and so it gets its input via GetEventData(), which i think - correct me if i'm wrong - comes from the dlls, which means we can't change it.) in fact i wouldn't be surprised if it just called the function once and used the same texture three times. otherwise i would definitely have implemented multiple flags for each nation! we could have had merchant navy flags, military flags, royal flags... as it is, there's only one flag for each nation <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />
 
I used to think that, but I finally figured out how GetEventData works (though you're quite right it can _also_ be used if the DLL sends an Event or SendMessage command...)
Check the Keywords.c file for details; basically, GetEventData is used to get data from an Event() or PostEvent() call. Event() calls a function _as a string_ that's translated by SetEventHandler i.e. seteventhandler("callmyfunc", "myfunc"); Event("callmyfunc"
The next argument is how many arguments to follow and their types (the "llssffl" string we know and hate), and the following arguments are those arguments declared.
GetEventData() is used to take those strings/floats/ints/refs/etc. and put them back into variables.

Consider it an alternate way of passing arguments.

In terms of _this_ topic though, I agree that flags seem to be delt with by the DLLs (or at any rate one per ship); and to change them at _all_ we'd need to edit the models.
 
Oh ok <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> well that kinda sucks.....
thanks for explaining the probem
 
<!--`QuoteBegin-NathanKell`+--><div class='quotetop'>QUOTE(NathanKell)</div><div class='quotemain'><!--QuoteEBegin-->The next argument is how many arguments to follow and their types (the "llssffl" string we know and hate)[/quote]

<b>collons!</b> is <i>that</i> what that string means? the hours i've spent staring at that thing...
 
Me too. I was _such_ a weird combination of pissed and elated when it "clicked". <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />
 
Back
Top