Galaxy map type

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: 7936
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Galaxy map type

Post by thunderchero »

Hi Everyone,

we have 4 types of galaxies
irregular, elliptical, spiral and ring types.
The elliptical, spiral and ring don't display correctly on wide screen version and to be honest I never play them anyway even before wide screen.

So I took a look at code and edited it to have 4 types of irregular galaxies instead of irregular, elliptical, spiral and ring types.

90 % galaxy density
90_percent.jpg
90_percent.jpg (512.99 KiB) Viewed 3461 times
70 % galaxy density
70_percent.jpg
70_percent.jpg (512.66 KiB) Viewed 3461 times
50 % galaxy density
50_percent.jpg
50_percent.jpg (470.39 KiB) Viewed 3461 times
30 % galaxy density
30_percent.jpg
30_percent.jpg (427.45 KiB) Viewed 3461 times
thoughts? interest?
User avatar
Martok
Rear-Admiral
Rear-Admiral
Posts: 1210
Joined: Thu May 01, 2008 2:00 am

Re: Galaxy map type

Post by Martok »

Looks good. :up:
"Evil is easy, and has infinite forms." -- Pascal
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7936
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Galaxy map type

Post by thunderchero »

I worked on the percentages a little more and increased maps slightly.
new map sizes 26 x 13, 32 x 16, 40 x 20

here is large map (40 x 20)

Irregular 80% galaxy density (old Irregular)
80.jpg
80.jpg (606.6 KiB) Viewed 3437 times
Irregular 60% galaxy density (old Elliptical)
60.jpg
60.jpg (556.9 KiB) Viewed 3437 times
Irregular 40% galaxy density (old Ring)
40.jpg
40.jpg (485.53 KiB) Viewed 3437 times
Irregular 20% galaxy density (old Spiral)
20.jpg
20.jpg (415.93 KiB) Viewed 3437 times
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7936
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Galaxy map type

Post by thunderchero »

Hi Everyone,

here is basic QD patcher file to add density options instead of shape options.
irregular.patch
(4.37 KiB) Downloaded 150 times
here is also some additional files that are required, starname.bin (1273 star names for high density) and lexicon.dic changing selection labels (Irregular to very heavy, elliptical to heavy, ring to medium and spiral to light)
irregular.zip
(33.63 KiB) Downloaded 196 times
the patch above uses vanilla values for map sizes. larger maps and 1366 could use adjustment of some values to get full density effects

Note: once this patch is applied it conflicts with UE galaxy editing, and UE auto correct will cause game not to load if trek.exe is edited by UE
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7936
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Irregular Galaxies with 4 density levels

Post by thunderchero »

This patch has always been an issue when editing galaxies with UE, So now that we have the relocation area for code I created a patch to move changes into relocation area.
reloc_irregular.patch
(8.06 KiB) Downloaded 12 times

Code: Select all

NAME: Irregular Galaxies in reloc code patch
AUTHOR: thunderchero
DESC: This patch make all galaxy types irregular type with different densities.
DESC: !!!NOTICE!!! this patch reqires relocatoin patch
DESC: !!!NOTICE!!! this patch reqires files to be added using UE. see topic below for files.
DESC: galaxy sizes in patch 26 x 13, 36 x 18, 48 x 24 
URL: https://www.armadafleetcommand.com/onscreen/botf/viewtopic.php?p=60673#p60673
TAG: fix

# >>  = vanilla/original value

# <<  = new value

#max space objects
>> 0x000AFA94 E6 00
>> 0x000AFA49 E6 00

<< 0x000AFA94 F4 01
<< 0x000AFA49 F4 01

#avg objects small
>> 0x000af8ab 30 00

<< 0x000af8ab 2C 01

#avg objects med
>> 0x000afa25 46 00

<< 0x000afa25 2C 01

#avg objects large
>> 0x000afa3b 5a 00

<< 0x000afa3b 2C 01

#galactic Density
>> 0x0017d568 00 00 FA 43

<< 0x0017d568 00 40 9C 45

#call sub 68C130
>> 0x000ae8e1 3b fb ff ff
<< 0x000ae8e1 4b cc 1d 00

#force loc_4AF9C8
>> 0x000aedaa 74
<< 0x000aedaa eb

>> 0x001A1672 00 00 00 00 00
>> 0x001A1677 00 00 00 00 00
#ellip small 15%
<< 0x001A1672 b8 7b 14 2e 3e 
#8 distance
<< 0x001A1677 b9 08 00 00 00

>> 0x001A1695 00 00 00 00 00
>> 0x001A169A 00 00 00 00 00
#ring small 20% 
<< 0x001A1695 b8 cd cc 4c 3e 
#8 distance
<< 0x001A169A b9 08 00 00 00

>> 0x001A16AE 00 00 00 00 00
>> 0x001A16B3 00 00 00 00 00
#spiral small 25%
<< 0x001A16AE b8 00 00 80 3e
#8 distance
<< 0x001A16B3 b9 08 00 00 00

>> 0x001A164E 00 00 00 00 00
>> 0x001A1653 00 00 00 00 00
#irreg small 30%
<< 0x001A164E ba 9a 99 99 3e
#8 distance
<< 0x001A1653 b9 08 00 00 00

>> 0x001A16D1 00 00 00 00 00
>> 0x001A16D6 00 00 00 00 00
#ellip med 15%
<< 0x001A16D1 b8 9a 99 19 3e
#12 distance
<< 0x001A16D6 b9 0c 00 00 00

>> 0x001A16EA 00 00 00 00 00
>> 0x001A16EF 00 00 00 00 00
#ring med 20%
<< 0x001A16EA b8 cd cc 4c 3e
#12 distance
<< 0x001A16EF b9 0c 00 00 00

>> 0x001A1707 00 00 00 00 00
>> 0x001A170C 00 00 00 00 00
#spiral med 25%
<< 0x001A1707 b8 00 00 80 3e
#12 distance
<< 0x001A170C b9 0c 00 00 00

>> 0x001a15ab 00 00 00 00 00
>> 0x001A15B0 00 00 00 00 00
#irreg med 30%
<< 0x001a15ab bf 9a 99 99 3e
#12 distance
<< 0x001A15B0 b9 0c 00 00 00

>> 0x001A176E 00 00 00 00 00
>> 0x001A1773 00 00 00 00 00
#ellip large 15%
<< 0x001A176E b8 9a 99 19 3e
#18 distance
<< 0x001A1773 b9 12 00 00 00

>> 0x001A17A2 00 00 00 00 00
>> 0x001A17A7 00 00 00 00 00
#ring large 20%
<< 0x001A17A2 b8 cd cc 4c 3e
#18 distance
<< 0x001A17A7 b9 12 00 00 00

>> 0x001A17BB 00 00 00 00 00
>> 0x001A17C0 00 00 00 00 00
#spiral large 25%
<< 0x001A17BB b8 00 00 80 3e
#18 distance
<< 0x001A17C0 b9 12 00 00 00

>> 0x001A178C 00 00 00 00 00
>> 0x001A1791 00 00 00 00 00
#irreg large 30%
<< 0x001A178C b8 9a 99 99 3e
#18 distance
<< 0x001A1791 b9 12 00 00 00

>> 0x001a1664 00 00 00 00
#small horizontal sectors
<< 0x001a1664 1a 00 00 00

>> 0x001a1687 00 00 00 00
#small horizontal sectors
<< 0x001a1687 1a 00 00 00

>> 0x001a16c3 00 00 00 00
#small horizontal sectors
<< 0x001a16c3 1a 00 00 00

>> 0x001a15c1 00 00 00 00
#med horizontal sectors
<< 0x001a15c1 24 00 00 00

>> 0x001A1783 00 00 00 00
#large horizontal sectors
<< 0x001A1783 30 00 00 00

>> 0x001a1530 00 00 00 00 00 00 00 00 00 00 00
>> 0x001a153c 00 00 00 00 00
>> 0x001a1542 00 00 00 00 00
>> 0x001a1548 00 00 00 00 00
>> 0x001a154e 00 00 00 00 00
>> 0x001a1554 00 00 00 00 00
>> 0x001a155c 00 00 00 00 00 00 00
>> 0x001a1565 00 00 00 00 00 00 00 00
>> 0x001a156f 00 00 00
>> 0x001a1574 00 00 00 00 00 00 00
>> 0x001a157c 00 00 00 00 00
>> 0x001a1582 00 00 00 00
>> 0x001a1587 00 00 00 00 00
>> 0x001a158d 00 00
>> 0x001a1592 00 00
>> 0x001a1597 00 00 00 00 00
>> 0x001a159d 00 00 00 00 00
>> 0x001a15a3 00 00 00 00 00 00

<< 0x001a1530 53 51 52 56 57 55 8b 0d 10 b3 5c
<< 0x001a153c 8b 1d 2c b3 5c
<< 0x001a1542 8b 35 20 b3 5c
<< 0x001a1548 8b 2d 3c b3 5c
<< 0x001a154e 8b 15 b8 36 5a
<< 0x001a1554 85 d2 0f 84 ad
<< 0x001a155c 83 fa 01 0f 85 b6 01
<< 0x001a1565 bf e6 ff ff ff bd 6e 02
<< 0x001a156f ba 88 02
<< 0x001a1574 31 c0 89 3d 1c b3 5c
<< 0x001a157c 89 2d 08 b3 5c
<< 0x001a1582 a3 18 b3 5c
<< 0x001a1587 89 15 0c b3 5c
<< 0x001a158d bd 5a
<< 0x001a1592 bf b4
<< 0x001a1597 8a 25 b4 36 5a
<< 0x001a159d 89 3d 44 b3 5c
<< 0x001a15a3 84 e4 0f 85 21 01

>> 0x001a15b5 00 00 00 00 00
>> 0x001a15bb 00 00 00 00 00
>> 0x001a15c5 00 00
>> 0x001a15ca 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>> 0x001a15d9 00 00 00 00
>> 0x001a15de 00 00 00 00 00 00 00 00 00 00 00
>> 0x001a15ea 00 00 00 00 00
>> 0x001a15f0 00 00 00 00 00
>> 0x001a15f6 00 00 00 00 00
>> 0x001a15fc 00 00 00 00 00
>> 0x001a1602 00 00 00 00 00 00 00 00 00
>> 0x001a160e 00 00 00
>> 0x001a1613 00 00
>> 0x001a1618 00 00 00
>> 0x001a161d 00 00 00 00 00
>> 0x001a1623 00 00 00 00 00
>> 0x001a1629 00 00 00 00 00
>> 0x001a162f 00 00 00 00
>> 0x001a1634 00 00
>> 0x001a1639 00 00
>> 0x001a163e 00 00 00 00 00
>> 0x001a1644 00 00 00 00 00
>> 0x001a164a 00 00 00 00

<< 0x001a15b5 89 3d 34 b3 5c
<< 0x001a15bb c7 05 14 b3 5c
<< 0x001a15c5 bf 05
<< 0x001a15ca 89 ea 89 e8 c1 fa 1f f7 ff 8b 15 44 b3 5c
<< 0x001a15d9 a3 40 b3 5c
<< 0x001a15de 89 d0 c1 fa 1f f7 ff a3 30 b3 5c
<< 0x001a15ea 89 2d 3c b3 5c
<< 0x001a15f0 89 35 20 b3 5c
<< 0x001a15f6 89 1d 2c b3 5c
<< 0x001a15fc 89 0d 10 b3 5c
<< 0x001a1602 5d 5f 5e 5a 59 5b c3 ba a0
<< 0x001a160e bf 98 02
<< 0x001a1613 bd 26
<< 0x001a1618 b8 c4 01
<< 0x001a161d 89 15 1c b3 5c
<< 0x001a1623 89 3d 08 b3 5c
<< 0x001a1629 89 2d 18 b3 5c
<< 0x001a162f a3 0c b3 5c
<< 0x001a1634 bd 41
<< 0x001a1639 ba 82
<< 0x001a163e 8a 25 b4 36 5a
<< 0x001a1644 89 15 44 b3 5c
<< 0x001a164a 84 e4 75 1f

>> 0x001a1658 00 00 00 00 00
>> 0x001a165e 00 00 00 00 00
>> 0x001a1668 00 00 00 00 00 00 00 00 00 00

<< 0x001a1658 89 15 34 b3 5c
<< 0x001a165e c7 05 14 b3 5c
<< 0x001a1668 e9 58 ff ff ff 80 fc 01 75 1e

>> 0x001a167c 00 00 00 00
>> 0x001a1681 00 00 00 00 00
>> 0x001a168b 00 00 00 00 00 00 00 00 00 00

<< 0x001a167c a3 34 b3 5c
<< 0x001a1681 c7 05 14 b3 5c
<< 0x001a168b e9 35 ff ff ff 80 fc 02 75 14

>> 0x001a169f 00 00 00 00
>> 0x001a16a4 00 00 00 00 00 00 00 00 00 00

<< 0x001a169f a3 34 b3 5c
<< 0x001a16a4 e9 b5 ff ff ff 80 fc 03 75 b0

>> 0x001a16b8 00 00 00 00
>> 0x001a16bd 00 00 00 00 00
>> 0x001a16c7 00 00 00 00 00 00 00 00 00 00

<< 0x001a16b8 a3 34 b3 5c
<< 0x001a16bd c7 05 14 b3 5c
<< 0x001a16c7 e9 f9 fe ff ff 80 fc 01 75 14

>> 0x001a16db 00 00 00 00
>> 0x001a16e0 00 00 00 00 00 00 00 00 00 00

<< 0x001a16db a3 34 b3 5c
<< 0x001a16e0 e9 d6 fe ff ff 80 fc 02 75 14

>> 0x001a16f4 00 00 00 00
>> 0x001a16f9 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<< 0x001a16f4 a3 34 b3 5c
<< 0x001a16f9 e9 bd fe ff ff 80 fc 03 0f 85 b4 fe ff ff

>> 0x001a1711 00 00 00 00
>> 0x001a1716 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>> 0x001a172e 00 00 00 00 00 00 00 00
>> 0x001a1738 00 00 00 00 00
>> 0x001a173e 00 00 00 00 00
>> 0x001a1744 00 00 00 00 00
>> 0x001a174a 00 00 00 00
>> 0x001a174f 00 00
>> 0x001a1754 00 00
>> 0x001a1759 00 00 00 00 00
>> 0x001a175f 00 00 00 00 00
>> 0x001a1765 00 00 00 00 00 00 00 00 00

<< 0x001a1711 a3 34 b3 5c
<< 0x001a1716 e9 a0 fe ff ff 83 fa 02 0f 85 2e a1 ff ff ba b0 ff ff ff bf a4 02
<< 0x001a172e bd ca ff ff ff b8 be 02
<< 0x001a1738 89 15 1c b3 5c
<< 0x001a173e 89 3d 08 b3 5c
<< 0x001a1744 89 2d 18 b3 5c
<< 0x001a174a a3 0c b3 5c
<< 0x001a174f bd 78
<< 0x001a1754 ba f0
<< 0x001a1759 8a 25 b4 36 5a
<< 0x001a175f 89 15 44 b3 5c
<< 0x001a1765 84 e4 74 23 80 fc 01 75 2f

>> 0x001a1778 00 00 00 00
>> 0x001a177d 00 00 00 00 00

<< 0x001a1778 a3 34 b3 5c
<< 0x001a177d c7 05 14 b3 5c

>> 0x001a1787 00 00 00 00 00
<< 0x001a1787 e9 39 fe ff ff

>> 0x001a1796 00 00 00 00
>> 0x001a179b 00 00 00 00 00 00 00

<< 0x001a1796 a3 34 b3 5c
<< 0x001a179b eb e0 80 fc 02 75 14

>> 0x001a17ac 00 00 00 00
>> 0x001a17b1 00 00 00 00 00 00 00 00 00 00

<< 0x001a17ac a3 34 b3 5c
<< 0x001a17b1 e9 c7 ff ff ff 80 fc 03 75 c2

>> 0x001a17c5 00 00 00 00
>> 0x001a17ca 00 00 00 00 00

<< 0x001a17c5 a3 34 b3 5c
<< 0x001a17ca e9 ae ff ff ff
notes on patch
relocation patch is required

lexicons changes
id 254 Elliptical -> 15% (or to density of your choice)
id 1056 ring -> 20%
id 1172 Spiral -> 25%
id 555 Irregular -> 30%

edit GUI "configuration" screen editing image text Galaxy type -> Galaxy Density
change configuration images if desired

patch contains 5 horizontal sectors values (3 small, 1 med, 1 large) if galaxy sizes other than 26 x 13, 36 x 18, 48 x 24 the marked horizontal edge values in patch would need to be adjusted.

all value editing of initial distance between empires is also marked and controlled by patch.

all value for galaxy density is also marked and controlled by patch.

UE will still edit;
map size, sector size (in pixels), alignment multipliers values. except 5 above
avg number of space objects
max number of minor races
star/anomaly ratio

all other values you can edit with UE but will have no effect (sub sections no longer used)

reminder; UE only sets up alignment multipliers for 800 x 600 GUI all other GUI versions you would need to run "bofrespatch" to correct values.
Post Reply

Return to “General Modding Information/Questions”