JeKnYan Posted April 4, 2016 Report Posted April 4, 2016 Hello I have some modding experience (.sii edits). I'm trying to create a standalone trailer, but it's crashing every time I try to drive. No errors are reported in the log. Could someone be kind as to help me out? Thanks Link is provided https://drive.google.com/open?id=0B8I1I3dqO4Q0VEIyRlpOVnkzVGs If my post helped, don't hesitate to click that green up arrow!
Forerunner Posted April 4, 2016 Report Posted April 4, 2016 if you want it to work in MP, you'll need to change all the .sii files in the def/cargo folder to use one trailer, then go to def/vehcle/trailer and edit the .sii for the trailer you chose earlier. the game crashing is likely due to incorrect formatting / syntax in the standalone .sii
Forerunner Posted April 4, 2016 Report Posted April 4, 2016 I downloaded it and took a look. I tried just loading it in to check it was not your gamesave and it crashed (as you said, no errors). I Then extracted the .scs and deleted all of the new definition files, and made some place-holder ones out of the default 'box' trailer. this time when loading I got an error to save saying "unknown variant 'default' or trailer.pmd". so I removed the "variant" line from the chassis.sii and then it went back to getting no errors. The error seems to be related to the model rather than any of the .sii files. One thing I did notice that was causing issues was the wheel definitions you where using, which missed the line "front_wheel: false" meaning that you were essentially putting front wheels in rear slots. Also the mod seems to be based around the "Hawks" repaint, which can be applied in-game (NOT MP) easily by simply naming the .dds the same as a default paint and putting it in the same folder as that default paint, the game will change the texture out.
JeKnYan Posted April 5, 2016 Author Report Posted April 5, 2016 I've gone back and fixed everything up, changed the text to point to the default models, no errors I've found in the syntax, but it's having this problem. 00:00:26.707 : <ERROR> [model] Unknown variant named '' in model '/vehicle/trailer/box_long/trailer.pmc'. While there's no variant '' Here's the trailer def SiiNunit { accessory_chassis_data : hawktra.trailer.chassis { model: "/vehicle/trailer/box_long/trailer.pmd" lods[]: "/vehicle/trailer/box_long/lod_01.pmd" collision: "/vehicle/trailer/box_long/trailer.pmc" residual_travel[]: 0.12 # 1st axle residual_travel[]: 0.12 # 2nd axle trailer_mass: 6500 # 14300lb extended_shadow_texture: "/vehicle/trailer/box_long/shadow.tobj" extended_shadow_intensity: 1.45 extended_shadow_fadeout_start: 10 extended_shadow_fadeout_length: 0 ui_shadow: "/vehicle/trailer/box_long/ui_shadow.pmd" } } If my post helped, don't hesitate to click that green up arrow!
Forerunner Posted April 5, 2016 Report Posted April 5, 2016 ^the default box_long expects these lines: variant: box looks[]: plain looks[]: wallbert looks[]: charged looks[]: sellgoods looks[]: sunshine looks[]: print looks[]: darchelle looks[]: bushnell Minimum is the "variant" line, the rest is seemingly optional in order to work. if you just want the repaint (which wont work in MP btw) just d as I said with the texture file, no need to edit sii's
Guest Posted April 19, 2016 Report Posted April 19, 2016 The topic is inactive for 14d, moving to archive.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.