Jump to content


[0.9.20.0]Universal Model loader, solve hitbox issue once and for all

remodel atacms hitbox ownModel

  • Please log in to reply
137 replies to this topic

atacms #1 Posted 20 December 2014 - 09:32 AM

    Staff Sergeant

  • Player
  • 4867 battles
  • 440
  • Member since:
    11-06-2011

01/10/2017 loader updated to v1.41. added taillight triggers. Fixed shooting in siege mode.

16/09/2017 loader updated to v1.4. added event-controlled animation.

09/09/2017 loader updated to v1.372. fixed static_joint_hull on non-player vehicles. 

07/09/2017 loader updated to v1.371. compatibility fix for WoT0.9.20.0

29/08/2017 loader updated to v1.37. fixed multiple compatible issues with 0.9.19.1.2. Added tactical number slot.

27/06/2017 loader updated to v1.363. fixed crash on certain tanks. fixed missing inscriptions.

17/06/2017 loader updated to v1.362. fixed broken customization menu for Czech/Sweden tanks. Fixed autorotor addon model (used by Leopard2A5)

08/06/2017 loader updated to v1.361. fixed crashing when using non-levered independent suspension without segmented track

04/06/2017 loader updated to v1.36. Added more animation bones to gun model files. Addon models can now receive camouflage and shadow correctly.

24/05/2017 loader updated to v1.351. Compatible with 0.9.19 CommonTest

21/05/2017 loader updated to v1.35. added gun <Recoil> effect override. Support fixed inscriptions/emblems.

30/04/2017 loader updated to v1.343. Minor bug fix. config file updated.

11/04/2017 loader updated to v1.342. Fixed bug in seasonal model support

08/04/2017 loader updated to v1.341. Added season-dependent segmented track support

08/04/2017 loader updated to v1.34. Added season-dependent remodel support (instructions within)

19/03/2017 loader updated to v1.33. profile updated for EFGF_M61A5

08/03/2017 config updated for pzIII.ausfM 

26/02/2017 loader updated to v1.32. Minor fix for 0.9.17.1

31/01/2017 loader updated to v1.31. Added more mini-turrets

25/01/2017 loader updated to v1.3. Added mini-turret support.

27/10/2016 Minor update to both loader and config file

                   press 'F5' in hangar will reload config file and refresh current hangar vehicle.

23/10/2016 config file updated

13/10/2016 loader updated to v1.292. support wot0.9.16 and additional addon models

06/10/2016 loader updated to v1.28. Added hangarShadowTexture support.

                   fixed serious bug which crashes the game when used on following tanks:

  • somua s35
  • pzvi tiger 1
  • vk3001p
  • caernarvon
  • conqueror
  • comet
  • mark_i_male
  • m2_med
  • t3
  • bt-7
  • is-8

26/08/2016 t-80bv updated to v1.31

18/07/2016 loader fixed a minor bug in debug mode.

17/07/2016 loader updated to v1.27. added hangar support.

11/06/2016 loader updated to v1.26. Fixed gun effect group. Added gun sound support. Compatible with 0.9.15

05/12/2015 loader updated to v1.25, added emblem support. Compatible with 0.9.12/0.9.13

10/08/2015 loader updated to v1.24, multiple bugs fixed

01/08/2015 loader updated for 0.9.9

02/07/2015 AG05_Panther_II model updated to v1.1

01/06/2015 N01_leopard2A6 model updated to v1.2

31/05/2015 loader updated for 0.9.8.  N03_M60A1 model updated to v1.41

 


 

added 12/04/2015:

I noticed a mod with similar purpose made by Polyacov_Yury 3 months after my initial release.

Judging from the description his Mod might be more convenient to use than my ModelLoader, though I haven't tried myself.

So you might want to check this one out as well.

 

 

 

------------------------------------------------------------------------------------------------------------------------

This will change everything in  WoT remodels.

 

 

The initial codes are written last year. Finally motivated enough to finish this little project.

 

As illustrated above, there're two type59s in the pic, only the one controlled by me got the model changed to challenger2. So you won't have problem hitting the other type59's cupola.

 

As models are externally loaded, it works perfect with stand-alone remodels.

 

There's more:

  • This mod has the option to change only the model of tanks controlled by user, leaving friendly and enemy tanks untouched.
  • It has the option to link a specific remodel to a designated list of tanks. 
  • It has the option to manage multiple remodel profiles and apply them individually or all at once.

 

[Installation]

extract to res_mods/#CurrentGameVersion#

 

[Video Tutorial]

nivekkeke has kindly provided a video tutorial for installation and config.

[youtube] Tutorial in German

Spoiler

 

[Known Issues]

clicking inscription slot in customization menu cause inscriptions to vanish if remodel has a different emblemSlots layout
different tactical number slots on the same non-player tank receive different numbers 
all profiles using levered suspension lost all chassis effects: dust particles and track traces since 0.9.19.1.2

 

[Configuration]
mod config file <scripts/client/mods/ownModel.xml> is fully commented.

After config file is modified, it will take effect upon next client restart, or if you're in hangar press 'F5' to reload config file.

You can't reload config during a game session or replay.

 

You can set this mod to work only for certain tank of your choice by enabling and setting Challenger2's whitelist in config file.

 

For detailed info check the comment inside config file.

Here is a brief instruction:

 

 

[Build new configurations]

The content of ownModel.xml is mostly self-explanatory. Most data can be found inside vehicle definition xml under res/packages/scripts.pkg/scripts/item_defs/vehicles.

But the <traces><tracks><wheels><groundNodes><trackNodes><splineDesc><trackParams> is tricky to get as they are direct dump of python dict instead of standard xml nodes. So here is how to obtain these dumps:

  1. For example you want to create a config for t55nvm so that other tanks can also looks like t55nva-ddr
  2. with this model loader installed, open a replay file of t55nvaddr. close the program after battlefield is loaded.
  3. check '@dumpedChassis.txt' under game root directory. The seven section of  <traces><tracks><wheels><groundNodes><trackNodes><splineDesc><trackParams> and an optional <leveredSuspension> is the dumped chassis configuration for own tank model, in this case t-55nva
  4. There is also an optional <drivenJoints> used for multi-axis gun elevation animator. If this node is not none, it'd be reqruired to be placed under <gun> section
  5. Open scripts/client/mods/ownModel.xml , create a new <g105_t-55_nva_ddr> node and set its content according to res\packages\scripts.pkg\scripts\item_defs\vehicles\germany\g105_t-55_nva_ddr.xml  . copy the data from step3&4 into the chassis section of your new model node.
    • ​​pkg file can be force opend with any application that is capable of handling zip file.
    • extracted stock XML is serialized binary file. It can be decoded with wotModTools0.5
    • be careful on the decimal format produced by wotModTools. It must be period '.' not comma ','
  6. set whitelist and flags as desired.

 

 

[Animated addon model support]

Advanced animation is supported.

It's meant to be used as foundation mod so other remodel authors can make tanks with moving parts previously impossible to build. It includes but not limited to:

  • auto-rotation (for cooling fan)
  • random-rotation (for commander search animation)
  • up to 8 mini-turrets (for tanks like T-28) 
  • hull static node for gun model. (for casemate TD gun canvas)
  • mount and dismount camouflage net model depending on whether the camouflage net equipment come into effect.
  • load predefined skin sets for [summer, winter, desert] map type.

Some example GIFs:

b8f903e391bc.gif

miniturret with arc limit

 

e39565f05aff.gif

miniturret with arc limit

 

3a8d736a60a9.gif

camouflage net

 

bcfa3392c288.gif

radar random search animation

 

9909460.gif

event-controlled animation: hotkey, onStop, onShoot

 

 


[Accessories]
For the sake of demonstration, a copy of standalone version of ChallengerII model is included.
This model is originally made by goust7, Tankmen100, foxerfit
Then reworked by me and 70599 and sphinxes

 

 

[Changelog]

Spoiler

 

 

[Download]

[0.9.6]ownModelLoader v1.2 + ChallengerII Demo

This challenger2 demo is completely outdated. Repack demo for each version is too tedious so it's discontinued.

This one will change whatever tank you are driving into ChallengerII

reply to this post if you encounter any bug.

 

[0.9.20.0]ownModelLoader v1.41 , stand-alone collection edition, build 20171001

This one has only the loader with many profiles preset to disabled. Direct installation has no effect in game. 

Edit scripts/client/mods/ownModel.xml to enable some of your choice 

And download & install corresponding model packs or game will hang up.

Unless you are activating a profile belonging to a stock WoT model. These models can be used directly.

build 20170907 contains following profiles:

(It's getting harder to maintain the text format table of content as the list grows larger so I'll just post an image here)

And of course you are welcome to build your own profiles.

 

 

 


######################################################################################

stand-alone model packs:

<N01_leopard2A6>

base model author goust7, texture LMP, but more likely a direct import from BWM of ArmA

I changed the following:

  • independent suspension & segmented tracks
  • fixed turret/gun format to be tankViewer friendly.
  • fixed killmark (insignia)

Download link v1.2, updated 31/05/2015.

 

 

<N02_M1A2>

model by terryZxc

A very old one. 

link here.

 

<N03_M60A1>

model by sphinx, ERA added by JeffreyWin .

I did the following:

  • reworked gun texture
  • changed chassis to HD with parts from M48A1
  • reworked spotlight texture
  • fixed ERA texture
  • added camouflageMask
  • changed all shaders for 0.9.7+

Link here: V1.5 

 

 

<N06_leopard1A5>

model by sphinx, texture 70599

A very old SD remodel. Wheels and tracks changed to WG HD ones.

link here: v1.21

 

 

<N07_chieftain>  

model by goust7, texture 70599

I did the following:

  • Fixed the model
  • independent suspension & segmented tracks
  • camo mask
  • LoD

Link here: V1.31 with accessory, aka the original one with all the junks.

 

And a clean version with all junks removed. link here: v1.31

 

 

<N09_M1A1>

Import from COD:MW

  • independent suspension & segmented tracks
  • destroyed model, LoD, camoMask

link here: V1.32

 

 

<N10_challengerII>

model by goust7, texture 70599

I changed the following:

  • independent suspension & segmented tracks
  • holes ontop the turret
  • LoD and camo mask

link here: V1.23 fixed AO texture (was too dark in shadow)

 

 

 

<W02_type_99>

original model by TerryZxc

I did the following:

  • remade chassis with the correct one.(An old style chassis though)
  • camoMask

link here: V2.1

 

 

<W03_BRDM2>

Import from ArmA

New shader is used.

link here: V1.1

 

 

<W06_T72>

base model Import and convert from a mod of ArmA.

reworked most details.

link here: V1.1

 

 

 

<W07_T80BV>

model by goust7, texture by tankmen100

I did the following:

  • gun shader fix
  • manlet UV fix

link here: V1.31

 

 

 

<AA01_M4A2>

Import from WT

  • independent suspension & segmented tracks

link here: v1.2. This one is packed with a script to swap tier5 M4. Remove the script if a global M4 swap is not needed. 

 

 

 

<AA02_T26E4>

base model import from WT, refit to WG T26E4 standard.

  • independent suspension & segmented tracks
  • partial camo mask

link here: V1.0

This one is packed with T26E4 swap script. Delete the script if global T26E4 swap is not needed.

 

 

 

<AR03_IS-3>

Import from WT.

  • independent suspension & segmented tracks
  • camo mask

Download link: V1.2

This one is packed with IS-3 swap script. Delete the script if global IS-3 swap is not needed.

 

 

 

<AG08_Panther_II>

import from WT. This is the stand-alone version different from the one I released earlier which did a in-place swap.

  • independent suspension, but a standard track.

Link here: V1.3

 

 

 

<AA03_M4A3E8_76W>

import from WT. 

  • independent suspension, segmented track.

Link here: V1.11

This one is packed with m4a3e8 swap script. Delete the script if global m4a3e8 swap is not needed.

73224256920c.jpg

 

 

 

AG11_Pz_III_M

imported from WT

link here: V1.1 with levered suspension

 

 

AG12_sdkfz9_flak37

import from WT

links here: Main model, yellow texture pack

 

EFGF M61A5 by terryZxc

Download here: v1.1

 

 

Leopard2A5 from WT

stand-alone remodel

animated CITV, change skin based on map type, levered suspension.. all the things that WG could do but didn't do.

Download model pack here:  main model V1.1 - mediafire

 

ASU-85 from WT

stand-alone remodel

61e1e48f2fd4.jpg

Download link here: main model v1.1

 


And if you feel like donating:


Edited by atacms, 01 October 2017 - 06:43 PM.


redatakedown #2 Posted 20 December 2014 - 10:22 AM

    Private

  • Player
  • 6263 battles
  • 23
  • Member since:
    05-13-2014

how i can post photos on forum

??????????????????????????????????????????????



ASharpPencil #3 Posted 20 December 2014 - 11:32 AM

    Warrant Officer

  • Player
  • 40416 battles
  • 738
  • [ORCA] ORCA
  • Member since:
    01-28-2011

Very nice... Look forward to progress...

 



atacms #4 Posted 24 December 2014 - 02:05 AM

    Staff Sergeant

  • Player
  • 4867 battles
  • 440
  • Member since:
    11-06-2011
0.9.5 updated.

johans2 #5 Posted 30 December 2014 - 01:41 AM

    Lance-corporal

  • Player
  • 7104 battles
  • 68
  • [NW_] NW_
  • Member since:
    02-01-2013

Great stuff :medal:

Excuse my poor english. I've been playing with it for a while. I  successfully created config for some tanks. Everything works as intended. But I'm finding difficulties with Challenger model. While playing with this model I get wheels orbiting around tank while the view is zoomed out. Chassis looks OK when looking at it from short distance.

How to fix it?

Thanks in advance.


Edited by johans2, 30 December 2014 - 01:47 AM.


atacms #6 Posted 30 December 2014 - 05:50 PM

    Staff Sergeant

  • Player
  • 4867 battles
  • 440
  • Member since:
    11-06-2011

View Postjohans2, on 30 December 2014 - 12:41 AM, said:

Chassis looks OK when looking at it from short distance.

 

chassis model under lod1 became incompatible after 9.4 script update. Didn't notice it at that time. Because in the old time lod1 model doesn't even have animation(eg. wheels never rotate under lod1&2), so a lod1 model with wrong animation binding  won't cause any problem. Until now.

 

you may copy chassis.visual and chassis.primitives from lod0 to lod1 and lod2 folder.

or you can edit lod0/chassis.model with notepad, and remove <extent> and <parent> nodes to disable lod for chassis all together.

 


Edited by atacms, 30 December 2014 - 06:02 PM.


Skinwalker33 #7 Posted 17 January 2015 - 11:20 PM

    Corporal

  • Player
  • 19022 battles
  • 126
  • Member since:
    10-26-2013

Are there more standalone tank models except the challenger? I don´t manage to create my own one:-(

Could you post some models for us to change the challenger!

Would be so kind of you!

Thanks

Max


Edited by Skinwalker33, 18 January 2015 - 11:22 AM.


atacms #8 Posted 21 February 2015 - 05:07 AM

    Staff Sergeant

  • Player
  • 4867 battles
  • 440
  • Member since:
    11-06-2011
0.9.6 updated. More model packs will be upload later. There are a lot of them and versions are sometimes messed up.

Skinwalker33 #9 Posted 28 February 2015 - 01:00 PM

    Corporal

  • Player
  • 19022 battles
  • 126
  • Member since:
    10-26-2013
It would be very kind if someone could create a YouTube video showing the way to do a own model with this phantastic model loader.

Edited by Skinwalker33, 28 February 2015 - 01:01 PM.


dussie #10 Posted 03 March 2015 - 07:14 PM

    Sergeant

  • Player
  • 8858 battles
  • 220
  • Member since:
    04-08-2012
very big thanks!

atacms #11 Posted 04 March 2015 - 10:12 AM

    Staff Sergeant

  • Player
  • 4867 battles
  • 440
  • Member since:
    11-06-2011
Model packs updated.

dussie #12 Posted 05 March 2015 - 06:25 PM

    Sergeant

  • Player
  • 8858 battles
  • 220
  • Member since:
    04-08-2012

View Postatacms, on 04 March 2015 - 09:12 AM, said:

Model packs updated.

 

thank you! but, i i tried several times to activate the type 99(dowloaded etc) but doesnt work. i did type "true" . help?

atacms #13 Posted 06 March 2015 - 03:27 AM

    Staff Sergeant

  • Player
  • 4867 battles
  • 440
  • Member since:
    11-06-2011

View Postdussie, on 05 March 2015 - 05:25 PM, said:

 

thank you! but, i i tried several times to activate the type 99(dowloaded etc) but doesnt work. i did type "true" . help?

 

You need to config it aside from activating it. The default behavior of type_99 is to swap model only if you're driving lefh18B2 French arty.

 

The xml is commented, there's also an image instruction in the pack. I guess u didn't notice them.

 

 


Edited by atacms, 06 March 2015 - 03:28 AM.


dussie #14 Posted 06 March 2015 - 08:55 AM

    Sergeant

  • Player
  • 8858 battles
  • 220
  • Member since:
    04-08-2012
Idid notice the pictures. But,i wonder how to let it replace all tanks i drive,like in the demo with challenger II. 

atacms #15 Posted 06 March 2015 - 09:28 AM

    Staff Sergeant

  • Player
  • 4867 battles
  • 440
  • Member since:
    11-06-2011

View Postdussie, on 06 March 2015 - 07:55 AM, said:

Idid notice the pictures. But,i wonder how to let it replace all tanks i drive,like in the demo with challenger II. 

 

rtfm

Skinwalker33 #16 Posted 06 March 2015 - 10:34 PM

    Corporal

  • Player
  • 19022 battles
  • 126
  • Member since:
    10-26-2013

View Postatacms, on 04 March 2015 - 09:12 AM, said:

Model packs updated.

 

Hi atacms,

i noticed strange things after intallation, did it with success but after returning to the garage, the mouse (not the tank - the pc-mouse :-) ) doesn´t move fluidly. Recognized this every time i came back from battle to garage. After deleting the ownn-model xml everything was fine. Do you know this "bug"?


Edited by Skinwalker33, 06 March 2015 - 10:36 PM.


atacms #17 Posted 07 March 2015 - 06:05 AM

    Staff Sergeant

  • Player
  • 4867 battles
  • 440
  • Member since:
    11-06-2011

View PostSkinwalker33, on 06 March 2015 - 09:34 PM, said:

 

Hi atacms,

i noticed strange things after intallation, did it with success but after returning to the garage, the mouse (not the tank - the pc-mouse :-) ) doesn´t move fluidly. Recognized this every time i came back from battle to garage. After deleting the ownn-model xml everything was fine. Do you know this "bug"?

Haven't seen this in my own pc. But in one instance it did conflict with another mod call sth like spotted_extended201.pyc in which case mouse control is frozen upon returning to hangar.

 

So it could conflict with other mods as well.

 

 

 


Edited by atacms, 07 March 2015 - 07:33 AM.


Skinwalker33 #18 Posted 07 March 2015 - 11:13 AM

    Corporal

  • Player
  • 19022 battles
  • 126
  • Member since:
    10-26-2013

View Postatacms, on 07 March 2015 - 05:05 AM, said:

Haven't seen this in my own pc. But in one instance it did conflict with another mod call sth like spotted_extended201.pyc in which case mouse control is frozen upon returning to hangar.

 

So it could conflict with other mods as well.

 

 

 

 

Thanks, i try it without mods.

 



Markidu #19 Posted 24 March 2015 - 10:15 AM

    Private

  • Player
  • 8861 battles
  • 17
  • Member since:
    05-27-2011

Hello Atacms!

 

Is there a way to make a configuration work without the .model files or do i need those for it to work. The model I'm trying to load didn't come with any .model files, only .visual and .primitives. So i'm wondering if there's any workarounds?



atacms #20 Posted 24 March 2015 - 01:47 PM

    Staff Sergeant

  • Player
  • 4867 battles
  • 440
  • Member since:
    11-06-2011

View PostMarkidu, on 24 March 2015 - 09:15 AM, said:

Hello Atacms!

 

Is there a way to make a configuration work without the .model files or do i need those for it to work. The model I'm trying to load didn't come with any .model files, only .visual and .primitives. So i'm wondering if there's any workarounds?

Yes and no.

.model file is required

But it's actually safe to use vehicles/american/A05_M4_Sherman/normal/lod0/Hull.model in the config file even though you don't have hull.model under res_mods/0.9.6/vehicles/american/A05_M4_Sherman/normal/lod0/

 
 

This is how the game works:

  • an xml descriptor tells game which .model file to load for a certain tank component.
  • .model file defines LoD hierarchy and its transition distance,  bounding box size and a path to its visual file
  • visual file defines visual effects of a certain model, aka where to attach dust or exhaust effects, where to attach child object (for example attach turret to hull), location of animation bones( road wheel axis for example)  and where to find the actual model geometry(aka the primitives file). If a primitives path is not exclusively defined inside visual file, game will look for a primitives file of the same filename under the same path.
  • Then comes the primitives file containing the actual geometry shape of the model.

 

During this process, if one or more files is not found inside res_mods folder, the game will look for it inside res/packages/***.pkg 

That's why most remodels doesn't have a .model file even though this file is indispensable . A typical remodel doesn't change LoD hierarchy or model search path, so it's not necessary to include it in the released rar.

 

 

 

 


Edited by atacms, 24 March 2015 - 02:12 PM.






Also tagged with remodel, atacms, hitbox, ownModel

1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users