Farming Simulator Romania Forum
Doriți să reacționați la acest mesaj? Creați un cont în câteva clickuri sau conectați-vă pentru a continua.

punte fata

3 participanți

In jos

punte fata  Empty punte fata

Mesaj  dragos17 Mar 11 Dec - 23:29

salut am un zector care imi place

dar are punte mobila si in curba si la viteze mici o roata se ridica in aer

cum scap de puntea mobila ?
ce lini sau scripturi sa sterg ?
dragos17
dragos17

Mesaje : 306
Data de inscriere : 14/09/2012
Reputatie : 0

Sus In jos

punte fata  Empty Re: punte fata

Mesaj  schneider4955 Mar 11 Dec - 23:47

Ca sa scoti o punte,trebuie modificat .i3d la tractor nu numai liniile din .xml la tractor.

schneider4955
Moderator
Moderator

Mesaje : 264
Data de inscriere : 12/09/2012
Reputatie : 0

Sus In jos

punte fata  Empty Re: punte fata

Mesaj  dragos17 Mier 12 Dec - 0:09

si ce sa fac in i3d ?

sa mut front axel in tractor de exemplu
dragos17
dragos17

Mesaje : 306
Data de inscriere : 14/09/2012
Reputatie : 0

Sus In jos

punte fata  Empty Re: punte fata

Mesaj  sdfkz Mier 12 Dec - 2:01

Da! Trebe sa muti puntea, care este acuma sub mod, in mod....dar numa puntea si rotile....ai sa vezi ca acolo mai este o coliziune, un joint, alea le stergi cand muti....dupa ce ai mutat, puntea si rotile in XML, trebuie sa redai noii indecsi de la roti, dupa care la sectiune COMPOUND, lasi numa prima linie, restul ce este sub ea stergi
si cam atat!

Dar eu stiu care este problema acolo de ce iti face asa ceva Very Happy Din cauza ca:

1. Acolo exista o coliziune, care se afla pe punte....cu cat lasi mai jos coliziunea aia cu atat ai stabilitate mai mare....exact ca la masinile de raliu

2. In fisierul XML, la sectiunea COMPOUND, ai sa vezi solverIterationCount care are o valoare...normal ea este 4 daca, este mai mare decat 4, atunci face figuri...si cu cat pui o valoare mai mare, cu atat mananca resurse mai multe...processor ram...etc. Normal valorile alea sant intre 4 - 16 maxim ..... unii prosti pun 200..si atunci normal ca apar probleme!

3. Tot in sectiunea compound, ai sa vezi ca apare undeva, ROTATION 0 0 0....si numa pe Z apare o cifra...aia indica cate grade poate puntea sa se incline la gropi...acolo pui 7 daca vrei sa fie real...

Si cam asta este...normal nu ar mai trebui sa ai probleme numa daca nu ai pus tu la tractor viteza luminii! Laughing


sdfkz
sdfkz

Mesaje : 223
Data de inscriere : 14/11/2012
Reputatie : 0

Sus In jos

punte fata  Empty Re: punte fata

Mesaj  dragos17 Mier 12 Dec - 15:31

nu reusesc sa gasesc compound
asta apare in xml

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="z5011">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<name>
<en>zetor 5011</en>
<de>zetor 5011</de>
</name>
<description></description>
<filename>z5011.i3d</filename>
<wheels autoRotateBackSpeed="2.5">
<wheel rotSpeed="70" rotMax="35" rotMin="-35" driveMode="0" repr="0>0" driveNode="0>0|0" radius="0.47" deltaY="0" suspTravel="0" spring="0" damper="0" mass="0.25" lateralStiffness="5" />
<wheel rotSpeed="70" rotMax="35" rotMin="-35" driveMode="0" repr="0>1" driveNode="0>1|0" radius="0.47" deltaY="0" suspTravel="0" spring="0" damper="0" mass="0.25" lateralStiffness="5" />
<wheel rotSpeed="0" driveMode="1" repr="2" radius="0.824" deltaY="0" suspTravel="0" spring="180" damper="0" mass="0.4" lateralStiffness="5" />
<wheel rotSpeed="0" driveMode="1" repr="3" radius="0.824" deltaY="0" suspTravel="0" spring="180" damper="0" mass="0.4" lateralStiffness="5" />
</wheels>
<motor minRpm="100" maxRpm="450 1050 1950 520" maxTorques="1.4 2.2 -1 1.4" brakeForce="6" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" forwardGearRatio="11.5" backwardGearRatio="9" differentialRatio="1" rpmFadeOutRange="50">
<torque rpm="1850" torque="5.0"/>

<backwardTorque rpm="200" torque="4"/>
<backwardTorque rpm="400" torque="1.2"/>
</motor>
<accelerationSpeed maxAcceleration="0.17" deceleration="0.6" />
<fuelCapacity>100</fuelCapacity>
<fuelUsage>0.0017</fuelUsage>
<downForce>7</downForce>
<cameras count="2">
<camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="40" >
<raycastNode index="0>29"/>
<raycastNode index="0>30"/>
</camera1>
<camera2 index="5" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
</cameras>
<lights count="2">
<light1 index="12" />
<light2 index="13" />
</lights>

<lightCones>
<lightCone index="26" />
</lightCones>

<lightCoronas>
<lightCorona index="27" />
</lightCoronas>

<beaconLights>
<beaconLight index="28" speed="0.016" />
</beaconLights>

<steering index="20|0" rotationSpeed="6"/>
<enterReferenceNode index="0>" />
<exitPoint index="9" />
<size width="3.5" length="5.5" lengthOffset="-0.4"/>
<cuttingAreas count="0">
<!--cuttingArea1 startIndex="6" widthIndex="7" heightIndex="8" losing="true"/-->
</cuttingAreas>

<!--attacherJoint index="10" /-->
<trailerAttacherJoints>
<trailerAttacherJoint index="10" />
<trailerAttacherJoint index="23" low="true" />
</trailerAttacherJoints>
<tipCamera index="11" />

<!--attachSound file="$data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
<motorStartSound file="start.wav" pitchOffset="1" volume="0.3" />
<motorSound file="zetorhang2.wav" pitchOffset="1" pitchScale="0.01" pitchMax="1.01" volume="0.25" />
<motorSoundRun file="zetorhang3.wav" pitchOffset="0.6" pitchScale="0.02" pitchMax="1.05" volume="0.02" />
<motorStopSound file="fendt930stop.wav" pitchOffset="0.01" />
<compressedAirSound file="compressedAir.wav" pitchOffset="1" volume="1"/>
<compressionSound file="kompressor.wav" pitchOffset="1" volume="1.5"/>
<aiMotorSound file="fendt930idleAI.wav" pitchOffset="1" radius="25" innerRadius="4" volume="1.0" />
<brakeSound file="bremse.wav" pitchOffset="1"/-->

<attachSound file="$data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
<motorStartSound file="$data/vehicles/steerable/kramer/kramerKL200_start.wav" pitchOffset="0.78" volume="2" />
<motorSound file="$data/vehicles/steerable/kramer/kramerKL200_idle.wav" pitchOffset="0.78" pitchScale="0.0225" pitchMax="1.1" volume="2" radius="35" innerRadius="25" />
<motorStopSound file="$data/vehicles/steerable/kramer/kramerKL200_stop.wav" pitchOffset="0.78" volume="2" />
<compressedAirSound file="$data/vehicles/steerable/kramer/kramerKL200_brake.wav" pitchOffset="1" volume="0.85"/>

<exhaustParticleSystems count="1">
<exhaustParticleSystem1 node="25" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
</exhaustParticleSystems>

<honkSound file="$dataS2/sounds/horn.wav" client="$dataS2/sounds/horn3D.wav" volume="1" radius="50" innerRadius="20" />

<attacherJoints>
<attacherJoint index="14|0|0" rotationNode="14" maxRot="-12 0 0" rotationNode2="14|0" maxRot2="8 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5">
<bottomArm rotationNode="15" translationNode="15|0" referenceNode="15|0|0" zScale="-1" />
<topArm rotationNode="16" translationNode="16|0" referenceNode="16|0|0" zScale="-1" />
</attacherJoint>
<attacherJoint index="17|0|0" rotationNode="17" maxRot="10 0 0" rotationNode2="17|0" maxRot2="-7 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5">
<bottomArm rotationNode="18" translationNode="18|0" referenceNode="18|0|0" zScale="1" />
<topArm rotationNode="19" translationNode="19|0" referenceNode="19|0|0" zScale="1" />
</attacherJoint>
</attacherJoints>

<characterNode index="22" cameraMinDistance="1.5" />
<aiTrafficCollisionTrigger index="24" />
<components count="2">
<component1 centerOfMass="0 0 -4" solverIterationCount="190" />
<component2 centerOfMass="0 -1 0" solverIterationCount="190" />
<joint component1="0" component2="1" index="1>0" rotLimit="0 0 7" transLimit="0 0 0" breakable="false"/>
</components>

<ESLimiter posX="0.7543" posY="0.1715" /> <!-- ESLimiter v2.0 SFM-Modding Manuel Leithner -->
<operatingHours posX="0.7543" posY="0.1715" />

<lightsaddon lightsStayOn="false">
<light type="dirLeft" index="41" />
<light type="dirRight" index="42" />
<light type="brake" index="43" />
</lightsaddon>

<schemaOverlay file="$data/vehicles/schemas/vehicleSchema.png" fileSelected="$data/vehicles/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0">
<attacherJoint position="1 0" rotation="0" invertX="false" />
<attacherJoint position="1 0" rotation="0" invertX="false" />
<attacherJoint position="1 0" rotation="0" invertX="false" />
<attacherJoint position="0 0" rotation="0" invertX="true" />
</schemaOverlay>


</vehicle>

am mutat tot in mod (principal)
am pus indexi noi
dar tractorul sta ridicat mult de rotile din fata
am debifat rigid body si sters coliziunea
rotile in joc se invart si vreaza corect deci indexi sunt pusi bine

si cum reglez rotile in 2013 daca modurile nu mai au acea coliziune rotunda care o muti jos sau sus ?
dragos17
dragos17

Mesaje : 306
Data de inscriere : 14/09/2012
Reputatie : 0

Sus In jos

punte fata  Empty Re: punte fata

Mesaj  sdfkz Mier 12 Dec - 20:41

In primul rand imi cer eu scuze nu COMPOUND ci COMPONENT! Le-am incurcat eu....Scuze@

Uite aici este definita partea de tractor si de punte:

<components count="2">
<component1 centerOfMass="0 0 -4" solverIterationCount="190" />
<component2 centerOfMass="0 -1 0" solverIterationCount="190" />
<joint component1="0" component2="1" index="1>0" rotLimit="0 0 7" transLimit="0 0 0" breakable="false"/>
</components>

Deci iti spune ca ai 2 componente, tractorul componenta 1 si puntea componenta 2

La tractor ai centru de masa X=0 Y=0 Z=-4 iar SolverIterationCount trebe sa fie 4 nu 190 ....
La punte ai centru de masa X=0 Y=-1 Z=0 iar SolverIterationCount trebe sa fie 4 nu 190 ....
Iar ultima linie iti face lagatura intre cele 2 componente si spune ca rotatia este de 7 garade ce este bine.

Acuma deschide tractorul original si ai sa vezi o coliziune pe punte...muta coliziunea aia mai jos decat ii in momentul respectiv si fa o incercare cu tractoru.

Daca vrei sa il faci rigid, fara punte mobila, atunci rotile stau in aer din cauza radius="0.47" scade radius la 0.40 si intra in joc sa vezi cum ii sau daca mai trebe sa il cresti. Very Happy

si la componeta copiaza asta peste ce este acuma in XML


<components count="1">
<component1 centerOfMass="0 0 -4" solverIterationCount="4" />
</components>

Eu m-am chinuit sa inteleg cum sa fac modurile mele cu punte mobila si tu vrei rigid...
sdfkz
sdfkz

Mesaje : 223
Data de inscriere : 14/11/2012
Reputatie : 0

Sus In jos

punte fata  Empty Re: punte fata

Mesaj  dragos17 Mier 12 Dec - 21:08

am sters alea de acoli si acuma arata asa

<components count="1">
</components>

am modificat si radius
si rezultatul
punte fata  Fsscreen20121212200247
totul bine pare ca mai trebuie un radius putin mai mare nu este o problema asta

dar daca fac 1 metru cu tratorul uitate si tu ce face
punte fata  Fsscreen20121212200307

acuma de ce tot se ridica ?
dragos17
dragos17

Mesaje : 306
Data de inscriere : 14/09/2012
Reputatie : 0

Sus In jos

punte fata  Empty Re: punte fata

Mesaj  sdfkz Joi 13 Dec - 2:38

Prietene te-am explicat frumos....
Deci, bagi fraza asta in XML:

<components count="1">
<component1 centerOfMass="0 0 -4" solverIterationCount="4" />
</components>

Nu ce mi-ai scris tu mie... adica asta
<components count="1">
</components>
Ce ii asta? e un kkt...nu insemana nimic.

Trebe sa ai o componenta care este TRACTORU! Si aia se defineste prin :
<component1 centerOfMass="0 0 -4" solverIterationCount="4" />
Ca are si tractoru asta un centru de masa ....



sdfkz
sdfkz

Mesaje : 223
Data de inscriere : 14/11/2012
Reputatie : 0

Sus In jos

punte fata  Empty Re: punte fata

Mesaj  dragos17 Joi 13 Dec - 17:05

am pus linia aia iara
am modificat radious din xml
nimic tot asa ramane nu sa schimbat nimic

am pus modul [Trebuie sa fiti inscris si conectat pentru a vedea acest link] daca vrei sa te uiti tu de ce nu merge
dragos17
dragos17

Mesaje : 306
Data de inscriere : 14/09/2012
Reputatie : 0

Sus In jos

punte fata  Empty Re: punte fata

Mesaj  sdfkz Joi 13 Dec - 17:40

Da.....am sa ma uit peste el maine cand am putin timp liber si iti spun cu ce se manaca!
sdfkz
sdfkz

Mesaje : 223
Data de inscriere : 14/11/2012
Reputatie : 0

Sus In jos

punte fata  Empty Re: punte fata

Mesaj  Continut sponsorizat


Continut sponsorizat


Sus In jos

Sus

- Subiecte similare

 
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum