Search found 1937 matches

by Spocks-cuddly-tribble
Tue Apr 23, 2024 4:01 pm
Forum: General Modding Information/Questions
Topic: Credits from ship scrap. Adjusting
Replies: 3
Views: 37

Re: Credits from ship scrap. Adjusting

If you don't mind the repaired shipyard check, here is 75% based on my code (changing Gowron's code takes more time): NAME: Ship scrapping ratio 3/4 (=75%) + shipyard check (fix) AUTHOR: Spocks-cuddly-tribble # >> = vanilla/original value # << = new value >> 0x00068794 89 94 24 24 01 00 00 83 F8 FF ...
by Spocks-cuddly-tribble
Tue Apr 23, 2024 12:39 pm
Forum: General Modding Information/Questions
Topic: Making a spacefaring minor + options
Replies: 9
Views: 126

Re: Making a spacefaring minor + options

The simple mod has two big issues:

- all minors need min two ships available for lowest evolution level tech -> else crash in build ship screen
- conquered empire systems allow building their ships (updated via their current tech levels :shock: ) -> game balance issues
by Spocks-cuddly-tribble
Tue Apr 23, 2024 12:13 pm
Forum: General Modding Information/Questions
Topic: Making a spacefaring minor + options
Replies: 9
Views: 126

Re: Making a spacefaring minor + options

Should be version 3 (major code modification).

I think DCER coded minor ships (based on minor race tech - not displayed in game) in addition to the own empire ships, but only in event of membership, not subjugation (I might be wrong?).
by Spocks-cuddly-tribble
Tue Apr 23, 2024 11:58 am
Forum: General Modding Information/Questions
Topic: Credits from ship scrap. Adjusting
Replies: 3
Views: 37

Re: Credits from ship scrap. Adjusting

50% patch code is from Gowron: https://www.armadafleetcommand.com/onscreen/botf/viewtopic.php?p=6391#p6391 To determine the best approach for your mod, first think about the global concept of all industry/credits ratios listed here: https://www.armadafleetcommand.com/onscreen/botf/viewtopic.php?p=34...
by Spocks-cuddly-tribble
Mon Apr 22, 2024 5:16 pm
Forum: General Modding Information/Questions
Topic: Vanilla Evade/Retreat Crash fix
Replies: 50
Views: 4924

Re: Vanilla Evade/Retreat Crash fix

Nice one! So far I see only two code switches for this: 005591C5 cmp ecx, [eax+28h] 005591D1 imul ecx, eax -> xor ecx,ecx ? 00559A73 cmp eax, [edx+28h] 00559CE2 imul eax, ecx -> xor eax,eax ? Both multiply the value at [HOB+2C] with [current LOD factor ?] IF lower than [HOB+24h] (Totaltextureset) EL...
by Spocks-cuddly-tribble
Mon Apr 22, 2024 3:14 pm
Forum: General Modding Information/Questions
Topic: Vanilla Evade/Retreat Crash fix
Replies: 50
Views: 4924

Re: Vanilla Evade/Retreat Crash fix

BTW the "array" I found the id's in had every hob listed possible for that combat (boom, phaser, photon, shield, ship, ect) but data area was too small to have complete files info of hob. only header info maybe? There is many arrays for 3D objects, the A/B/C LOD HOB list is 0x98 bytes per...
by Spocks-cuddly-tribble
Mon Apr 22, 2024 2:25 pm
Forum: General Modding Information/Questions
Topic: Vanilla Evade/Retreat Crash fix
Replies: 50
Views: 4924

Re: Vanilla Evade/Retreat Crash fix

I was able to locate hob data of the combat for test model, so set breakpoint for each texture id Is this texture LOD switch and/or new multi textures model? Based on your 2/3 (same code location): 005610FD mov ecx, [ebp+308h] 00561103 mov eax, [eax+20h] 00561106 add eax, ecx // texture index -> * ...
by Spocks-cuddly-tribble
Mon Apr 22, 2024 1:26 pm
Forum: General Modding Information/Questions
Topic: Vanilla Evade/Retreat Crash fix
Replies: 50
Views: 4924

Re: Vanilla Evade/Retreat Crash fix

I think this code prepares the data before start of rendering. MPR__SelectTexture is the realtime action. [HOB+18h] looks like number of textures for the InsertTexture loop count: 55707F cmp ecx, [eax+18h] Your new models use multiple textures (not for LOD), is the number stored at [+18h]? totalText...
by Spocks-cuddly-tribble
Mon Apr 22, 2024 8:55 am
Forum: General Modding Information/Questions
Topic: Vanilla Evade/Retreat Crash fix
Replies: 50
Views: 4924

Re: Vanilla Evade/Retreat Crash fix

Well, we forgot QD analysed HOB files and code for many projects (I never did, since I don't understand 3D codes). Here a part of his IDA database: 00556CB0 CPP_CHOBReader__UpdateHOB ; CODE XREF: CPP_CHOBReader__readHOB 00556CB0 push ecx 00556CB1 mov ecx, eax 00556CB3 call CPP_CHOBReader__UpdateVert...
by Spocks-cuddly-tribble
Sun Apr 21, 2024 8:21 pm
Forum: General Chat
Topic: DS9
Replies: 7
Views: 133

Re: DS9

All starbases being a DS(X) would be a bit boring. Current ECM random names list for Stations in spoiler of this post: viewtopic.php?p=60388#p60388
by Spocks-cuddly-tribble
Sun Apr 21, 2024 8:10 pm
Forum: General Modding Information/Questions
Topic: Vanilla Evade/Retreat Crash fix
Replies: 50
Views: 4924

Re: Vanilla Evade/Retreat Crash fix

There is still much code for HOB, textures and palette mislabeled in my IDA. Back in the day it was just guessed based on nearby labels. I think we see the code composing the LOD list tested by you. Default 5, now 9 entries with always the same HOB and texture. Some extra analysis and changes are ne...
by Spocks-cuddly-tribble
Sun Apr 21, 2024 1:01 pm
Forum: General Chat
Topic: DS9
Replies: 7
Views: 133

Re: DS9

Here is the old main post for UM5: viewtopic.php?p=37446#p37446

UDM3 might also have Bajor DS9, thunderchero might know more since he knows the maker. :wink:
by Spocks-cuddly-tribble
Sun Apr 21, 2024 12:52 pm
Forum: General Modding Information/Questions
Topic: Making a spacefaring minor + options
Replies: 9
Views: 126

Re: Making a spacefaring minor + options

Well, they excluded colony and TT ships from intel code for stealing ships. But there should be no serious issues with mixing different or armed/unarmed colony and TT ships or using ships produced by other races (AFAIK). Minor race colony/TT with greater shiplist.sst IDs than the war ships and using...
by Spocks-cuddly-tribble
Sun Apr 21, 2024 11:57 am
Forum: General Modding Information/Questions
Topic: Making a spacefaring minor + options
Replies: 9
Views: 126

Re: Making a spacefaring minor + options

Minor race AI has no code to use colony ships and TTs. It can't even handle more than one star system per minor race. You can add them for the 'building minor ships after membership' patch, but note that the code for adding 1-4 random ships (sub_4517D0) just picks the first ship from the list_builda...

Go to advanced search