Staredit Network > Forums > SC1 UMS Theory and Ideas > Topic: Standard Extended Strings
Standard Extended Strings
Sep 13 2013, 6:52 pm
By: jjf28  

Sep 23 2013, 3:35 am trgk Post #21



Suggestion


Post has been edited 1 time(s), last time on Sep 24 2013, 2:33 am by trgk.



EUD

Jul 12 2019, 1:48 am jjf28 Post #22

Cartography Artisan

Since discovering reverse stacking among other compression methods for the STR section the current KSTR format using the highest indexes has become a major problem - I'll be drafting something more solid in a bit but I'm now thinking of the following format...

struct OSTR {
u32 version; // Current version: 1
u32 scenarioName;
u32 scenarioDescription;
u32 forceName[Chk::TotalForces];
u32 unitName[Sc::Unit::TotalTypes];
u32 expUnitName[Sc::Unit::TotalTypes];
u32 soundPath[Chk::TotalSounds];
u32 switchName[Chk::TotalSwitches];
u32 locationName[Chk::TotalLocations];
};

All of scenarioName, scenarioDescription, and forceNames have no good reason to be overridden but I've included them to make the structure exaustive/more future proof.

The trigger section contains the following list of strings: text message, mission objectives, leaderboard text, transmission text, next scenario, sound path, comment. Of these the only editor-specific string is comment, which the trigger metadata section KTRG could cover; sound path can already be overridden via TRIG->WAV->OSTR, the others should be left alone.

Mission briefing only has text message, mission objectives, and sound path - sound path can be overridden via TRIG->WAV->OSTR, others should be left alone.

Everything about KSTR can stay the same - except the way it is read, the ids no longer count backwards from 65535 and no longer have extended string ids stored directly in the sections referencing the strings. The extended strings would get read as the default display string if present in OSTR or KTRG. Location names and sound paths, if reordered in other editors not implementing these sections the connection may be broken, and would have to be manually corrected by users, triggers would be reasonably well locked to the extended strings, unless recompiled in some text editor not preserving full player data (which KTRG uses to link a trigger to its metadata)

Post has been edited 1 time(s), last time on Jul 12 2019, 1:53 am by jjf28.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: Roy