Page 1 of 1

Database reference codes for ships

Posted: Wed May 13, 2026 9:25 am
by jmlima
Prob a silly question, but I cannot find the answer anywhere so, would appreciate a little help.

I've seen in scripts ships referred by the codes shown in the example below:

Chinese Type 054A Frigate (2495_4928|17470 and 2495_3731|5431)

Where do I get these codes in the database? All items in the database seem to be a single three digit code, not those codes shown above.

Thanks.

Re: Database reference codes for ships

Posted: Wed May 13, 2026 1:53 pm
by Mark352
jmlima wrote: Wed May 13, 2026 9:25 am I've seen in scripts ships referred by the codes shown in the example below:

Chinese Type 054A Frigate (2495_4928|17470 and 2495_3731|5431)

Thanks.
Off the top of my head I can't tell what those numbers might be referring too from that snippet. It you post the script the snippet came from it might provide some context to determine what those numbers are referring too.

Re: Database reference codes for ships

Posted: Wed May 13, 2026 2:08 pm
by jmlima
New example, this one straight from the lua of one of the quick generator scenarios:

local randomSubDBIDs = {
625,624,621,594,590,588,587,566,563,560,295,165
}

local randomShipDBIDs = {
"959_3202|17140",
"1875_559|4867",
"604_3336|15360",
"2067_4796|2787",
"2834_4826|11837",
"2125_4796|2787",
"417_4327|22060",
}

The sub IDs make sense, but I cannot make any sense of the randomShipDBIDs.

Re: Database reference codes for ships

Posted: Wed May 13, 2026 2:36 pm
by Nikel
There is a P Gatcomb tutorial explaining those numbers.


https://www.youtube.com/watch?v=Qc4pohpgRmU


But you asked a question in the comments?



2645_3731|18465


2645 is the ship, F 77 Te Kaha New Zealand

3731 is the helo, SH-2G Sea Sprite New Zealand

18465 is the loadout of the helo, 2xAGM-119B Penguin Mk2

Re: Database reference codes for ships

Posted: Wed May 13, 2026 7:16 pm
by jmlima
Thanks!

And just realized why I could not make head or tails of the numbers. They are database dependent.

Re: Database reference codes for ships

Posted: Thu May 14, 2026 12:11 am
by Mark352
Nikel wrote: Wed May 13, 2026 2:36 pm There is a P Gatcomb tutorial explaining those numbers.


https://www.youtube.com/watch?v=Qc4pohpgRmU
Just watched that video. Thanks for posting it.