Spring naar inhoud
NLD Community

Join the NLD Discord channel! discord.png https://discord.gg/0WsKGiYeGHJEAI5q
Breaking News: NLD Community maakt een doorstart!

MAN TGS HKL Truck


Aanbevolen Bericht

The only ITRunner Truck I have liked in for ever the MAN TGS HKL Truck by Bart, Though in truth I have tried to add something to it myself but failing badly so I want to know if it can be added, If not thats fine really. Its the Fifth-Wheel Coupling, I have it on the back of it but I am unable to get it to work in-game itself for my own Private use, Rather than buying a Semi Truck or even a Dolly, I thought having this new HKL have it just on the back would be a great idea for it but thats where I get a little stuck, like hitting a brick wall... with said truck haha So any help would be great or even just a reply saying no it cant be done would be fine.

Link naar opmerking
Deel via andere websites

Spoiler

https://www.dropbox.com/s/89m3tw4s3i217zn/man22Shkl.xml?dl=0

 

attacherJoints Added semitrailer on line 215.

 

So I have added the Fifth-Wheel Coupling to the Model and that seems to be working fine within game, Though its not working like a semi truck to attach the trailer to it so I don't know if its the xml or the model itself.

Link naar opmerking
Deel via andere websites

  • Master Moderator

could of just pasted the xml in the spoiler ;)         

 

the code seems correct on the attach part, semi is selected and the angle's are there

 

things to verify next = 

 

- is the object index correct   ( 0>5|0 )      which seems odd as u indicated u added a part to the model, and this is a root node of the original

 

 - Disable the collision on it for test purposes ,   and check if the Gimble ( axis indicator ) is rotated correctly.  If takes it attach rotation from that so u might have draw,  it so
  that the trailer can attach if it was reverse or at 90°  or even upsidedown.   

 

Also is the game loading the original zip or the extracted folder ?

Link naar opmerking
Deel via andere websites

  • Master Moderator

start by checking the number of the index with the attach  index in the editor ,   from the looks of things that line is a copy&paste from another mod  , but the index will mostly not  match.     Then in the  attach line of the semiattacher change  this  enableCollision="true"   to   enableCollision="false" .    For testing purposes at it wil allow u to get the attacted part into angles that it normally shouldnt ( so u can define them ).      For the rotation of the attachpart itself,    highlight another attacher from the mod,  and look at the way the XYZ gimble ( red green blue arrow thing ) is rotated and  get the one u added for the attach part in the same direction.   

Link naar opmerking
Deel via andere websites

Ok so the Endex wasnt set, and the XYZ was a little off, Mostly the Y, it was set to 90 when it should have been 0. Also did set it to false. Still no luck, I tried coming in on the side so the whole back end of the Truck was running along the trailer but still nothing...

 

Link naar opmerking
Deel via andere websites

Gearchiveerd

Dit topic is nu gearchiveerd en gesloten voor verdere reacties.

×
×
  • Maak Nieuw...

Belangrijke Informatie

By using this site, you agree to our Gebruiksvoorwaarden.