I am trying to use LoadSharedModel() since I want to replace some models w others but don’t want to have to make scripting changes everywhere that unit is used and don’t want to just copy the hod into the directory (I hate wasting computer resources like that and would much rather it goes to something more productive like better AI or smoother game play).
for example, if I replace the tai_lightcorevtte w the tur_standardcorvette. I copy any associated .ship, .event, .madstate and .mad files then change buildfamily to “Corvette_Tai” and LoadModel() to LoadSharedModel(1,)
I get an Access Violation error when I just say “tur_standardcorvette” but can’t seem to get “tur_standardcorvette”, “…\HW1Ships\ship\tur_standardcorvette” or variations of that to work either (one is in the default HomeWorld.big and the other is in the HW1Ships.big and I forget which is which right now).
what am I doing wrong?
my goal was to make the following replacements (they’re completely arbitrary and an attempt to change up game play a bit or because I don’t care for the ship model that’s currently there – it’s the original design I didn’t like and have no fault w the remastered ones other than I didn’t like the originals)
original unit replaced by -> alternate
tai_lightcorvette -> tur_standardcorvette
tai_multiguncorvette -> tur_missilecorvette
tai_researchship -> tai_reasearchstation
der_scaffold as (added) tai_shipyard
tai_interceptor -> tur_fighter
vgr_probe -> tai_probe
kus_probe -> hgn_probe
kus_cloakfighter -> kad_swarmer
kus_carrier -> der_carriernew
kus_interceptor -> kad_advancedswarmer
kus_ioncannonfrigate -> kad_multibeamfrigate
kus_supportfrigate -> kad_fuelpod
kus_heavycorvette -> kpr_mover
vgr_bomber -> tai_bomber
vgr_interceptor -> vgr_scout (appropriate ^ to stats and cost)
vgr_scout -> vgr_ecmprobe (ECM defenses + scout EMP are it’s only weapons).
hgn_mothership -> vgr_commstation
to mix things up a bit more, I have made all platforms but the hyperspace platform moveable and a little slower (it would be nice if we could break the hyperspace link, move the platform. and then pay to re-establish the link). I consider Gravwells and CloakGenerators to essentially be platforms and if they can be moved, why can’t the HW2 ones be moved as well?
I know my changes make things completely UN-balanced atm… some of them I won’t be able to fully implement until/unless we have text files for hardpoints but I wanted to see what changes might be useful and/or make it strategically interesting so that each of the races has a completely different set of strategies (the new hgn “mothership” is essentially a civilian unit so a more defensive posture is necessary).
some changes under consideration would be:
the tai replace quality for quantity (this would mean proportionately higher unit caps, faster build times).
the vgr would have automatic radiation immunity and EMP scouts.
the kus would have automatic cloakfighters and start w corvette chassis research.
the hgn would start w the ability to research (see mothership changes) and a few more resourcers.
the vgr increase damage per hit, but decrease accuracy while the hgn do the opposite (no net change in combat ability, just a different flavor)