shiplist.sst info needed

General Modding Information/Questions; support/discussion/questions

Moderator: thunderchero

Forum rules
:idea: Please search before starting new topic. :idea:
There is a good chance it has already been asked.
Post Reply
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 6234
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

shiplist.sst info needed

Post by thunderchero » Fri Jun 14, 2013 5:38 pm

Hi Everyone,

I was looking at the shiplist.sst and noticed some areas are not list/explained. So I created a new table with all the info I could find.

I hope to find/get some help with the unknown lines in image below.

I know some of the hex type is not exactly described correctly (1 byte unsigned ect) I just used term from UE.

old image https://www.armadafleetcommand.com/lib/b ... iplist.png
Image


thunderchero

Dr_Breen
Commodore
Commodore
Posts: 889
Joined: Wed Apr 30, 2008 2:00 am
Location: Zurich, Switzerland
Contact:

Re: shiplist.sst info needed

Post by Dr_Breen » Thu Jul 18, 2013 4:08 pm

offset 0xc8:
Did you notice that the Galaxy II (command cruiser II) is the only ship that has a 01 in the first byte (followed by 11 bytes with 00). all the other ships have 12 bytes filled with 00. perhaps they planed something there but never used it. or is there anything special about the Galaxy II?
Public BotF / EF2 Teamspeak 3 Server: 83.169.13.55

User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 6234
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: shiplist.sst info needed

Post by thunderchero » Thu Jul 18, 2013 4:56 pm

Dr_Breen wrote: or is there anything special about the Galaxy II?
yup there is
Spocks-cuddly-tribble wrote:-GalaxyII 640points beam bug (DCER)

shiplist.sst - relative offsets of GalaxyII (replace the following values with zeros):

+0xB4 (01), +0xB8 (96), +0xBC (08 ), +0xC0 (50), +0xC4 (0C), +0xC8 (01)
and at +0x101-103 (E0 75 40)
just +0xC8 (01) was never explained.

thunderchero

User avatar
Raider Echo3
Cadet 3rd Year
Cadet 3rd Year
Posts: 14
Joined: Wed May 27, 2015 11:58 am

Re: shiplist.sst info needed

Post by Raider Echo3 » Wed Jun 03, 2015 12:46 am

Since the min plasma range is missing maybe +0xC8 is min range for plasma weapon? ;)

User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 773
Joined: Sun Apr 27, 2008 2:00 am

Re: shiplist.sst info needed

Post by Spocks-cuddly-tribble » Fri Dec 13, 2019 4:01 pm

thunderchero wrote:
Fri Jun 14, 2013 5:38 pm
I hope to find/get some help with the unknown lines in image below.
Better late than never.... :wink:


Shiplist.sst [+9Ch](dword) gets tested for AI Colony & TT ships to set combat ability bit for AI taskforces i.e. unlock 'Engage' (sub_42B988).


Sub_479D10 reads shiplist.sst [+9Ch] and [+A0h] for some funny AI combat calculations. See also 'Combat.bin bug': viewtopic.php?f=272&t=566#p19075


Compare unkonwn shiplist.sst values i.e. sort ships first by value from sub_4797C0 and subordinate by:

([+9Ch] * 100 / 15868) + 10 * crew experience level

([+A0h] * 100 / 5862) + 10 * crew experience level


And of course the code has a bug...


Sorting / Selection of AI Ships (Task Forces) Crew Experience Bug-Fix

Code: Select all

0x791CF change 01 C2 89 94 -> 8B F8 01 84

0x7921A change 08 -> 38

00479DCF   8BF8              MOV EDI, EAX             // store 10 * crew experience level ship 1
00479DD1   018424 40020000   ADD [ESP+240], EAX

00479E18   8D1C38            LEA EBX, [EAX+EDI]       // use for ship 1 [+A0h]
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.

Post Reply

Return to “General Modding Information/Questions”

Who is online

Users browsing this forum: No registered users