Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: HLD_Prophecy on November 08, 2016, 10:25:52 am

Title: How to rename debris in a debris field?
Post by: HLD_Prophecy on November 08, 2016, 10:25:52 am
Name says it all! I want ao debris field in a mission, but for plot reasons I'd like it to be labeled "Unknown" and not "Terran" or "Shivan". Is this possible?
Title: Re: How to rename debris in a debris field?
Post by: Kiloku on November 08, 2016, 10:45:52 am
I never did this, but I think you'd have to modify an (or create your own) entry in Asteroid.tbl (http://www.hard-light.net/wiki/index.php/Asteroid.tbl#Asteroid_and_Debris_Data)
Title: Re: How to rename debris in a debris field?
Post by: 0rph3u5 on November 08, 2016, 11:22:00 am
I never did this, but I think you'd have to modify an (or create your own) entry in Asteroid.tbl (http://www.hard-light.net/wiki/index.php/Asteroid.tbl#Asteroid_and_Debris_Data)

That plus, you may have to have a species_def.tbl to match (link (http://www.hard-light.net/wiki/index.php/Species_defs.tbl)); vice versa it is required (used to be? The last time I tried to add a species to FSO was with 3.6.14 )
Title: Re: How to rename debris in a debris field?
Post by: Nyctaeus on November 08, 2016, 11:32:59 am
Name says it all! I want ao debris field in a mission, but for plot reasons I'd like it to be labeled "Unknown" and not "Terran" or "Shivan". Is this possible?
Simple "Unknown" is not possible. You may add species "Unknown" to your species_def and get "unknown debris" instead.
Title: Re: How to rename debris in a debris field?
Post by: 0rph3u5 on November 08, 2016, 01:53:24 pm
Also if you are unafraid of crashing the engine and/or dropping the framerate down to 0, there is always the solution to frankstein your version of the Asteroid Editor using Events ... but that way lies madness MADNESS! (http://www.hard-light.net/forums/index.php?topic=35794.msg741786#msg741786)
Title: Re: How to rename debris in a debris field?
Post by: HLD_Prophecy on November 09, 2016, 08:27:57 am
Yeah... I may just have to give up on the debris field. I don't really have the time, energy, or guts to mess with the tables that much now.

Thanks anyway!
Title: Re: How to rename debris in a debris field?
Post by: 0rph3u5 on November 10, 2016, 01:40:53 am
Yeah... I may just have to give up on the debris field. I don't really have the time, energy, or guts to mess with the tables that much now.

Thanks anyway!

That's no way to go about ... (think of it from teaching standpoint what I am about to isn't either)

Here have the tables needed to add a fourth species (see attachments: Asteroid.tbl, icons.tbl, sounds.tbl, species_defs.tbl); they are already set-up for that species to be "Unknown"; most data is -because I don't know what you need- the data from the Shivans.

To be safe, please put them in a clear mod and run the debug-build over them. Most error messages should give you the exact line where you need to edit (note that debug doesn't recognize the comment lines begining with ";")

[attachment deleted by admin]
Title: Re: How to rename debris in a debris field?
Post by: HLD_Prophecy on November 11, 2016, 11:02:51 am
Oh wow, you did all that for me? Thanks a ton!

I'm in a coffee shop now so I can't start too much modwork (it's distracting in here) but I will plug them in at home and make them work. :D
Title: Re: How to rename debris in a debris field?
Post by: 0rph3u5 on November 11, 2016, 01:32:34 pm
I had it lying around, it used to read "Ancients" instead of "Unknown" ... you might also want to check if that's a FS2 or FS-Port sounds.tbl .... I honestly don't remember

(even if it is the port one, you only have move over data on the end about the fly-by sounds)
Title: Re: How to rename debris in a debris field?
Post by: HLD_Prophecy on November 11, 2016, 04:18:57 pm
On trying to launch I get this error:

Code: [Select]
Too many icons in icons.tbl; only the first 140 will be used
ntdll.dll! NtWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_4_SSE2-DEBUG.exe! SCP_DumpStack + 354 bytes
fs2_open_3_7_4_SSE2-DEBUG.exe! Warning + 491 bytes
fs2_open_3_7_4_SSE2-DEBUG.exe! brief_parse_icon_tbl + 272 bytes
fs2_open_3_7_4_SSE2-DEBUG.exe! game_init + 1650 bytes
fs2_open_3_7_4_SSE2-DEBUG.exe! game_main + 524 bytes
fs2_open_3_7_4_SSE2-DEBUG.exe! WinMain + 328 bytes
fs2_open_3_7_4_SSE2-DEBUG.exe! invoke_main + 30 bytes
fs2_open_3_7_4_SSE2-DEBUG.exe! __scrt_common_main_seh + 346 bytes
fs2_open_3_7_4_SSE2-DEBUG.exe! __scrt_common_main + 13 bytes
fs2_open_3_7_4_SSE2-DEBUG.exe! WinMainCRTStartup + 8 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes