Category | Scripting |
Created | 27.03.2019 20:07 |
Anthony Roark (iwasthere83) | 27.03.2019 20:07 |
---|---|
Is it possible to use "filename=" inside the hose lines to point to a modded xml of "connectionHoses.xml" and if not there, where? <connectionHoses> <hose inputAttacherJointIndices="1" filename="Hoses/connectionHoses.xml" type="airDoubleRed" node="0>0|2|8|0|0|0" length="2" diameter="0.02" straighteningFactor="0.01" minCenterPointOffset="-0.1 0 0" maxCenterPointOffset="0 0 0" isTwoPointHose="false"/> <hose inputAttacherJointIndices="1" type="airDoubleYellow" node="0>0|2|8|0|1|0" length="2" diameter="0.02" straighteningFactor="0.01" minCenterPointOffset="-0.1 0 0" maxCenterPointOffset="0 0 0" isTwoPointHose="false"/> <hose inputAttacherJointIndices="1" type="electric" node="0>0|2|8|0|2|0" length="2" diameter="0.02" straighteningFactor="0.8"> <objectChange node="socketCab" rotationActive="0 0 0" rotationInactive="-90 0 0"/> <objectChange node="electricAdapter" visibilityActive="true" visibilityInactive="false"/> </hose> </connectionHoses> |
Bilbo Beutlin (BBeutlin) | 27.03.2019 23:36 |
---|---|
See LUADOC Specializations -> ConnectionHoses The #type is expected pre-defined -> data\shared\connectionHoses\connectionHoses.xml You can only add a custom one by a lua script. |
Anthony Roark (iwasthere83) | 28.03.2019 14:47 |
---|---|
Thank you for the quick reply! |
Note: Log in to post. Create a new account here.