Vanilla Evade/Retreat Crash fix

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

Vanilla Evade/Retreat Crash fix

Post by thunderchero » Thu May 12, 2016 10:31 am

Hi Everyone,

during the update of ECM 4.0 I learned of a forgotten fix that was discussed on Jokers old site many years ago.

This fix only applies to original vanilla models

newer models do not use LOD, but may have same problem when using multi textures. This can not be fixed without reconverting model with single texture.

here is what happens
when a ship is moving quickly in combat the distance from camera will change, as this distance changes it will switch to lower quality textures ***_b.gif and ***_c.gif then it will switch to lower ploy models ***_b.hob and finally ***_c.hob. all these changes is called LOD levels (level of detail).

when ships are moving quickly the original mpr graphic engine has trouble switching between these levels and will cause CTD

the fix changes required takes some time and must be done to all vanilla ship hobs (majors, minors, monsters) that use LOD
t02 Calamarain does not use LOD

required changes (all 71 models need to be edited)
assign all ***_a.hob to only use proper ***_a.gif with UE
extract all edited ***_a.hob's
create 2 copies of each ***_a.hob and rename them to ***_b.hob and ***_c.hob
add all new ***_b.hob and ***_c.hob back with UE

mods that would benefit from this change
Building-mod 1.9.4 (by Joker) 100% vanilla models
Fluids Multiplayer Mod 2.0 100% vanilla models
Planet Mod English/German 100% vanilla models
No Building upgrade mod !00% vanilla models (new version already released)
Thunderchero's Multi-player mod 95% vanilla models
Balance of Power 95% vanilla models
Ultimate mod 5 60% vanilla models
All Ages mod 20 % vanilla models
Flagship mod 20% vanilla models

mods that would not benefit from this change
note: these files will corrupt mpr++ installs and require mpr++ to be uninstalled and re-installed.
Ultimate Dominion mod 0% vanilla models
UnCivil Wars 0% vanilla models
Galaxy mod 5% vanilla models

problem is universal files are not possible since each mod uses different palette and texture lists and might even change model prefix.

So if you create a replacement set of hobs for a mod you can post them here

I will start it off with one of the more popular mods UM5
UM5_a_hob_patch.rar
(1.51 MiB) Downloaded 53 times
here is Balance of power
BOP_a_hob.zip
(2.35 MiB) Downloaded 45 times
here is vanilla (note these files will also work on FMPM, Planet mod, jokers building mod)
note these files should also work on FMPM, Planet mod, jokers building mod, but not been tested
vanilla_a_hob.rar
(2.72 MiB) Downloaded 47 times
just extract and add all files from extracted folder with UE and sav

User avatar
EnPhreg
Lieutenant-Commander
Lieutenant-Commander
Posts: 130
Joined: Thu Jul 10, 2008 2:00 am

Re: Vanilla Evade/Retreat Crash fix

Post by EnPhreg » Fri May 27, 2016 6:59 am

are the files for BOP also needed for the MPR++ install of BOP??

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

Re: Vanilla Evade/Retreat Crash fix

Post by thunderchero » Fri May 27, 2016 7:22 am

EnPhreg wrote:are the files for BOP also needed for the MPR++ install of BOP??
no, this is only for vanilla models. MPR++ all models have been replaced.

note: these files will corrupt mpr++ install and require mpr++ to be uninstalled and re-installed.

User avatar
EnPhreg
Lieutenant-Commander
Lieutenant-Commander
Posts: 130
Joined: Thu Jul 10, 2008 2:00 am

Re: Vanilla Evade/Retreat Crash fix

Post by EnPhreg » Sat Jun 25, 2016 3:11 am

a little Bug with your Balance of Power hob files:
the texture of the heavy B-o-P (km1) is screwed up through the new hob file you provide for the model.
the texture layout of that model seems a little bit special.

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

Re: Vanilla Evade/Retreat Crash fix

Post by thunderchero » Sat Jun 25, 2016 7:15 am

download file replaced, the km1 hob has been replaced in bop, so replacement hob was not needed.

to fix you may meed to uninstall BOP mod and reinstall. or replace original km1 hob files.

User avatar
EnPhreg
Lieutenant-Commander
Lieutenant-Commander
Posts: 130
Joined: Thu Jul 10, 2008 2:00 am

Re: Vanilla Evade/Retreat Crash fix

Post by EnPhreg » Sat Jun 25, 2016 1:10 pm

ok.
the 'a hobs' from the spacestation models are also no vanillas in BoP. cause of combat distance i think.
cs_a.hob, hs_a.hob, fs_a.hob, ks_a.hob, rs_a.hob

by the way, are there any thread in the forum who describes the shield generator mechanics? (function during bombing or invasion, how it's effect is determined) found nothing specific

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

Re: Vanilla Evade/Retreat Crash fix

Post by thunderchero » Sat Jun 25, 2016 3:08 pm

EnPhreg wrote:the 'a hobs' from the spacestation models are also no vanillas in BoP. cause of combat distance i think.
cs_a.hob, hs_a.hob, fs_a.hob, ks_a.hob, rs_a.hob
they were vanilla but edited, replaced file again with proper combat distance for spacestations.
EnPhreg wrote:by the way, are there any thread in the forum who describes the shield generator mechanics? (function during bombing or invasion, how it's effect is determined) found nothing specific
only one I know of would be this, Ground Combat Calculation (success chance of invasion)
viewtopic.php?f=156&t=1632

Post Reply

Return to “General Modding Information/Questions”

Who is online

Users browsing this forum: No registered users