Iron 3D-Tracks (Prefab) Help Installazione

  • 7 Risposte
  • 1307 Visite

Offline Teo_9069

  • *
  • Ortolano
  • *
  • Post: 87
    • John Deere
  • Località: Veneto
« il: 03 Settembre 2021, 10:00:51 »
Ciao a tutti,

   ho scaricato del ModHub il modello prefab dei cingoli,
c'era scritto che ci dovrebbero essere state le istruzioni ma è più un PDF di raccomandazioni che ne una guida a come installarle.

Qualcuno ha la voglia e il tempo di spiegarmi come fare?
oppure un video? non ho trovato nulla su YT.

Grazie
Veneto nel CUORE

Offline aratore_24

  • *
  • Contadino
  • ***
  • Post: 843
    • Fiatagri
  • Località: PU (Marche)
« Risposta #1 il: 07 Settembre 2021, 14:37:49 »
Dunque non è difficile, però effettivamente non hanno scritto nulla di utile, ma non c'è problema!

Punto n°1:
Elimina (se presente) il riferimento agli pneumatici dall'xml del gioco.
Stando ben attento ad eliminare solo le ruote anteriori o posteriori in base a ciò che ti serve!
In pratica quello che segue è come si presenta la sezione wheels della maggior parte dei veicoli e la parte da togliere è quella in arancione (nell'esempio li sostituisco alle ruote posteriori):

<wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG">
    <wheels autoRotateBackSpeed="2.2">
        <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R30.xml" configId="jd" isLeft="true" hasTireTracks="true" hasParticles="true" >
            <physics rotSpeed="1" restLoad="3.1" repr="axisFrontLeft"  driveNode="wheelFrontLeft"  forcePointRatio="0.5" initialCompression="25" suspTravel="0.3" spring="20" damper="70" transRatio="1"/>
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R30.xml" configId="jd" isLeft="false" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="1" restLoad="3.1" repr="axisFrontRight" driveNode="wheelFrontRight" forcePointRatio="0.5" initialCompression="25" suspTravel="0.3" spring="20" damper="70" transRatio="1"/>
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/710_75R42.xml" configId="jd3" isLeft="true" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="0" restLoad="3.8" repr="wheelBackLeft"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.35" spring="27" damper="60" />
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/710_75R42.xml" configId="jd3" isLeft="false" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="0" restLoad="3.8" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="20" suspTravel="0.35" spring="27" damper="60" />
        </wheel>
    </wheels>
</wheelConfiguration>

Punto n°2:
Inserire la cartella dei cingoli all'interno della cartella del veicolo.
In pratica nell'archivio che hai scaricato c'è una cartella "wheels", fai una copia di tutto (cartella compresa) nella cartella del veicolo che stai modificando.

Punto n°3:
Riferimento ai cingoli.
Aggiungi la sezione crawlers nell'xml, andando ad indicare quali ruote vanno a sostituire, in questo caso la 3a e la 4a (vedi numeri verdi) andando ad ottenere qualcosa del genere:

<wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG">
    <wheels autoRotateBackSpeed="2.2">
        <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R30.xml" configId="jd" isLeft="true" hasTireTracks="true" hasParticles="true" >
            <physics rotSpeed="1" restLoad="3.1" repr="axisFrontLeft"  driveNode="wheelFrontLeft"  forcePointRatio="0.5" initialCompression="25" suspTravel="0.3" spring="20" damper="70" transRatio="1"/>
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R30.xml" configId="jd" isLeft="false" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="1" restLoad="3.1" repr="axisFrontRight" driveNode="wheelFrontRight" forcePointRatio="0.5" initialCompression="25" suspTravel="0.3" spring="20" damper="70" transRatio="1"/>
        </wheel>
        <wheel hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="0" restLoad="3.8" repr="wheelBackLeft"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.35" spring="27" damper="60" />
        </wheel>
        <wheel hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="0" restLoad="3.8" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="20" suspTravel="0.35" spring="27" damper="60" />
        </wheel>
    </wheels>
    <crawlers>
        <crawler wheelIndex="3" filename="wheels/crawlersTracks.xml" linkNode="0>0" isLeft="true"/>
        <crawler wheelIndex="4" filename="wheels/crawlersTracks.xml" linkNode="1>0" isLeft="false"/>
    </crawlers>

</wheelConfiguration>

Punto n°4:
Info aggiuntive.
Eliminando il riferimento alle ruote standard sono andate perse alcune info quali raggio, peso e tipo di ruota, ora le riaggiungiamo!
(Queste sono le info base, il raggio è espresso in metri (nota bene, il raggio, non il diametro) la larghezza (sempre in metri) e peso in tonnellate, quindi ad esempio 0.5 = 500kg), isCareWheel direi proprio di no quindi va bene così e tireTrackAtlasIndex è la forma dell'impronta che lascia a terra, credo 5 sia corretto dai un'occhio)!

<wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG">
    <wheels autoRotateBackSpeed="2.2">
        <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R30.xml" configId="jd" isLeft="true" hasTireTracks="true" hasParticles="true" >
            <physics rotSpeed="1" restLoad="3.1" repr="axisFrontLeft"  driveNode="wheelFrontLeft"  forcePointRatio="0.5" initialCompression="25" suspTravel="0.3" spring="20" damper="70" transRatio="1"/>
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R30.xml" configId="jd" isLeft="false" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="1" restLoad="3.1" repr="axisFrontRight" driveNode="wheelFrontRight" forcePointRatio="0.5" initialCompression="25" suspTravel="0.3" spring="20" damper="70" transRatio="1"/>
        </wheel>
        <wheel hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="0" restLoad="3.8" repr="wheelBackLeft" radius="0.45" width="1" mass="0.5" forcePointRatio="0.5" initialCompression="20" suspTravel="0.35" spring="27" damper="60" />
            <tire isCareWheel="false" tireTrackAtlasIndex="5"/>
        </wheel>
        <wheel hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="0" restLoad="3.8" repr="wheelBackRight" radius="0.45" width="1" mass="0.5" forcePointRatio="0.5" initialCompression="20" suspTravel="0.35" spring="27" damper="60" />
            <tire isCareWheel="false" tireTrackAtlasIndex="5"/>
        </wheel>
    </wheels>
    <crawlers>
        <crawler wheelIndex="3" filename="wheels/crawlersTracks.xml" linkNode="0>0" isLeft="true"/>
        <crawler wheelIndex="4" filename="wheels/crawlersTracks.xml" linkNode="1>0" isLeft="false"/>
    </crawlers>
</wheelConfiguration>

Tutto questo dovrebbe essere sufficiente a farla funzionare, se ho dimenticato qualcosa che non va chiedi pure!
Aratri? Nardi for ever!
Mietitrebbie? New Holland e Laverda ovviamente!

Offline Teo_9069

  • *
  • Ortolano
  • *
  • Post: 87
    • John Deere
  • Località: Veneto
« Risposta #2 il: 10 Settembre 2021, 10:48:18 »
Allora innanzitutto ti ringrazio per avermi risposto..
si come hai visto non c'è nulla di utile nel PDF; comunque ho contattato anche il creatore su Instagram e ha detto che questa settimana doveva girare un video per far vedere come installare i suoi cingoli e come scegliere i vari colori..

allora ho letto tutta la tua procedura e vista cosi sembra molto più semplice,

unica cosa mi pare di capire che cosi facendo si vada a sostituire un gruppo di ruote già presenti ad esempio " Pneumatici Larghi",
ma se io volessi aggiungere i cingoli senza eliminare una gomma?
Veneto nel CUORE

Offline aratore_24

  • *
  • Contadino
  • ***
  • Post: 843
    • Fiatagri
  • Località: PU (Marche)
« Risposta #3 il: 10 Settembre 2021, 14:05:28 »
Allora innanzitutto ti ringrazio per avermi risposto..
si come hai visto non c'è nulla di utile nel PDF; comunque ho contattato anche il creatore su Instagram e ha detto che questa settimana doveva girare un video per far vedere come installare i suoi cingoli e come scegliere i vari colori..

allora ho letto tutta la tua procedura e vista cosi sembra molto più semplice,

unica cosa mi pare di capire che cosi facendo si vada a sostituire un gruppo di ruote già presenti ad esempio " Pneumatici Larghi",
ma se io volessi aggiungere i cingoli senza eliminare una gomma?

No problem, perdonami ma alcune cose per forza dell'abitudine le do scontate (colpa mia, ci mancherebbe) fai bene a chiedere!

Per aggiungere una configurazione ti basta fare una copia da
<wheelConfiguration ....
a
</wheelConfiguration>
E aggiungerla sotto una preesistente, andando magari a cambiare nome e marca...

<wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG">
    <wheels autoRotateBackSpeed="2.2">
        <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R30.xml" configId="jd" isLeft="true" hasTireTracks="true" hasParticles="true" >
            <physics rotSpeed="1" restLoad="3.1" repr="axisFrontLeft"  driveNode="wheelFrontLeft"  forcePointRatio="0.5" initialCompression="25" suspTravel="0.3" spring="20" damper="70" transRatio="1"/>
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R30.xml" configId="jd" isLeft="false" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="1" restLoad="3.1" repr="axisFrontRight" driveNode="wheelFrontRight" forcePointRatio="0.5" initialCompression="25" suspTravel="0.3" spring="20" damper="70" transRatio="1"/>
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/710_75R42.xml" configId="jd3" isLeft="true" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="0" restLoad="3.8" repr="wheelBackLeft"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.35" spring="27" damper="60" />
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/710_75R42.xml" configId="jd3" isLeft="false" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="0" restLoad="3.8" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="20" suspTravel="0.35" spring="27" damper="60" />
        </wheel>
    </wheels>
</wheelConfiguration>

<wheelConfiguration name="Cingoli in ferro" price="0" brand="LIZARD">
    <wheels autoRotateBackSpeed="2.2">
        <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R30.xml" configId="jd" isLeft="true" hasTireTracks="true" hasParticles="true" >
            <physics rotSpeed="1" restLoad="3.1" repr="axisFrontLeft"  driveNode="wheelFrontLeft"  forcePointRatio="0.5" initialCompression="25" suspTravel="0.3" spring="20" damper="70" transRatio="1"/>
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/600_70R30.xml" configId="jd" isLeft="false" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="1" restLoad="3.1" repr="axisFrontRight" driveNode="wheelFrontRight" forcePointRatio="0.5" initialCompression="25" suspTravel="0.3" spring="20" damper="70" transRatio="1"/>
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/710_75R42.xml" configId="jd3" isLeft="true" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="0" restLoad="3.8" repr="wheelBackLeft"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.35" spring="27" damper="60" />
        </wheel>
        <wheel filename="$data/shared/wheels/trelleborg/TM900/710_75R42.xml" configId="jd3" isLeft="false" hasTireTracks="true" hasParticles="true">
            <physics rotSpeed="0" restLoad="3.8" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="20" suspTravel="0.35" spring="27" damper="60" />
        </wheel>
    </wheels>
</wheelConfiguration>


Es. in giallo quella già presente, copi, incolli sotto (quella verde), e su quest'ultima vai a fare le modifiche di cui sopra!
Aratri? Nardi for ever!
Mietitrebbie? New Holland e Laverda ovviamente!

Offline Teo_9069

  • *
  • Ortolano
  • *
  • Post: 87
    • John Deere
  • Località: Veneto
« Risposta #4 il: 13 Settembre 2021, 12:24:18 »
Ciao! intatnto grazie mille!!

oggi provo ad inserirli nel Fiat X70 Series..
e vediamo cosa esce.. ti aggiorno appena faccio

allora, ho copiato questo

<wheelConfiguration name="$l10n_configuration_AxioBib" price="1000" brand="MICHELIN">
                <wheels autoRotateBackSpeed="2.0">
                    <wheel filename="wheels/AxioBibFront.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.2" repr="frontWheelLeftRepr"  driveNode="frontWheelLeftDriveNode"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.05" spring="45" damper="30" />
                    </wheel>
                    <wheel filename="wheels/AxioBibFront.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="1.2" repr="frontWheelRightRepr" driveNode="frontWheelRightDriveNode" forcePointRatio="0.5" initialCompression="20" suspTravel="0.05" spring="45" damper="30" />
                    </wheel>
                    <wheel filename="wheels/AxioBib.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.4" repr="backWheelLeft"  forcePointRatio="0.5" initialCompression="25" suspTravel="0.05" spring="35" damper="30" />
                    </wheel>
                    <wheel filename="wheels/AxioBib.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.4" repr="backWheelRight" forcePointRatio="0.5" initialCompression="25" suspTravel="0.05" spring="35" damper="30" />
                    </wheel>            
                </wheels>         
            </wheelConfiguration>

poi modificato e ottenuto ciò..

<wheelConfiguration name="$l10n_configuration_valueCrawler" price="3500" brand="LIZARD">
                <wheels autoRotateBackSpeed="2.2">
                    <wheel filename="wheels/AxioBibFront.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics rotSpeed="1" restLoad="1.2" repr="frontWheelLeftRepr"  driveNode="frontWheelLeftDriveNode"  forcePointRatio="0.5" initialCompression="20" suspTravel="0.05" spring="45" damper="30" />
                    </wheel>
                    <wheel filename="wheels/AxioBibFront.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="1.2" repr="frontWheelRightRepr" driveNode="frontWheelRightDriveNode" forcePointRatio="0.5" initialCompression="20" suspTravel="0.05" spring="45" damper="30" />
                    </wheel>
                    <wheel filename="wheels/crawlersTracks.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.4" repr="backWheelLeft"  forcePointRatio="0.5" initialCompression="25" suspTravel="0.05" spring="35" damper="30" />
                    </wheel>
                    <wheel filename="wheels/crawlersTracks.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.4" repr="backWheelRight" forcePointRatio="0.5" initialCompression="25" suspTravel="0.05" spring="35" damper="30" />
                    </wheel>   
                    <crawlers>
                      <crawler wheelIndex="3" filename="wheels/crawlersTracks.xml" linkNode="0>0" isLeft="true"/>
                      <crawler wheelIndex="4" filename="wheels/crawlersTracks.xml" linkNode="1>0" isLeft="false"/>
                    </crawlers>               
            </wheelConfiguration>


solo che.. non vedo le voci radius="0.45" width="1" mass="0.5" e <tire isCareWheel="false" tireTrackAtlasIndex="5"/>

ho beccato l'unica mod sfigata?! inoltre ingame devo fare qualcosa?
« Ultima modifica: 13 Settembre 2021, 13:42:05 da Teo_9069 »
Veneto nel CUORE

Offline aratore_24

  • *
  • Contadino
  • ***
  • Post: 843
    • Fiatagri
  • Località: PU (Marche)
« Risposta #5 il: 13 Settembre 2021, 13:44:33 »
Il principio è corretto, come ti avevo detto quelle voci vanno aggiunte a mano, poiché prima erano nel file di configurazione delle gomme, ma quello va tolto (altrimenti comparirebbero gli pneumatici) e quindi perdi anche questi dati! ;)

Tuttavia ho notato che non hai seguito alla lettera ciò che ti avevo scritto (tranquillo, le prime volte è normale sbagliare!)
In particolare hai lasciato (o meglio modificato) questa parte

filename="wheels/crawlersTracks.xml" isLeft="true"

Mi raccomando, toglila, perché queste informazioni le andrai a ricavare qui!

<crawlers>
    <crawler wheelIndex="3" filename="wheels/crawlersTracks.xml" linkNode="0>0" isLeft="true"/>
    <crawler wheelIndex="4" filename="wheels/crawlersTracks.xml" linkNode="1>0" isLeft="false"/>
</crawlers>


Ti metto come deve venire la parte arancione:
Spiacente, ma non sei autorizzato a visualizzare il contenuto degli spoiler.

In game niente, se hai fatto tutto correttamente dovrebbe funzionare già così  ;D

P.S. non ho rifatto tutto mentre scrivevo perché avevo già fatto un po' di prove qualche settimana fa, era andato tutto a buon fine e credo di non aver dimenticato nulla, però non si sa mai, tu prova per qualsiasi cosa chiedi pure
« Ultima modifica: 13 Settembre 2021, 13:56:16 da aratore_24 »
Aratri? Nardi for ever!
Mietitrebbie? New Holland e Laverda ovviamente!

Offline Teo_9069

  • *
  • Ortolano
  • *
  • Post: 87
    • John Deere
  • Località: Veneto
« Risposta #6 il: 13 Settembre 2021, 14:19:17 »
ok allora ho eseguito alla lettera ma qualcosa deve essere andato storto perche InGame trovo solo il 2wd e non il 4..

in teoria mi pareva di aver capito dal suo PDF di dover sistemare con GE il file Components..
« Ultima modifica: 13 Settembre 2021, 14:31:01 da Teo_9069 »
Veneto nel CUORE

Offline aratore_24

  • *
  • Contadino
  • ***
  • Post: 843
    • Fiatagri
  • Località: PU (Marche)
« Risposta #7 il: 14 Settembre 2021, 13:47:04 »
Se riesco in giornata (se no al massimo domani) provo a farlo io sempre sul 570, poi ti faccio sapere! ;)
Aratri? Nardi for ever!
Mietitrebbie? New Holland e Laverda ovviamente!