LAMBO MODS Forums Modding Q & A Vehicle mod causes poor framerate

Tagged: 

This topic contains 5 replies, has 3 voices, and was last updated by  Dustin H 8 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10833

    Dustin H
    Participant

    Hi,

    I am new to mod editing and have figured out a lot of things already, but have one issue that I can’t figure out yet.

    I converted a GMC Sierra from FS15 to 17, fixed some stuff, and it works in game, but the FPS drops from 60 to 18 as soon as I purchase it. I have no idea why. There are a couple errors left in it that I can’t fix but I don’t think they are the root cause. Even if the purchased vehicle is nowhere close to me in the game, the FPS is low.

    I really liked this Sierra in FS15, I don’t remember it killing FPS but maybe it did. I think it is originally a mod from bcbuhler.

    Anybody have any idea on what to check out? Shouldn’t be a PC issue, just got a new one with AMD Ryzen 7 and Radeon RX 580…so plenty of power 🙂

    #10944

    ChaserEraser
    Participant

    Hi Dustin, So that is probably being cause by what ever scripts that are from FS15 on the truck. Now just to tell you without seeing the error log I do not know the exact answer,but scripts are probably your problem for sure.

    #10951

    LAMBO MODS
    Keymaster

    Post a log text of the errors my friend.

    #11078

    Dustin H
    Participant

    There aren’t any LUA files in the mod so I don’t think there are any extra scripts. I can see a bunch of LUA callstacks in the log.txt though. I just don’t know where to look to fix them. I am attaching my log.txt.

    Attachments:
    You must be logged in to view attached files.
    #11080

    Dustin H
    Participant

    Also posting the Sierra.xml.

    I didn’t have all those LUA errors in there when I originally posted, just a UV index error and some textures that were not sized 2^n. Not sure why all those errors are there today, that log.txt was from starting a new game on goldcrest with only that 1 mod in my mod folder, purchasing the sierra, then quit the game.

    • This reply was modified 8 months, 1 week ago by  Dustin H. Reason: Try Sierra.txt instead of XML which is not allowed
    #11082

    Dustin H
    Participant
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <vehicle type="car_dynamicMountAttacher">
        <annotation>Converted by DH</annotation>
        <filename>Sierra.i3d</filename>
        <typeDesc>$l10n_typeDesc_car</typeDesc>
    
        <wheels autoRotateBackSpeed="2.5">
            <wheel rotSpeed="1" repr="0>0" driveNode="0>0|0" radius="0.42" restLoad="1.54" initialCompression="40" suspTravel="0.15" spring="12" damper="10" hasTireTracks="true" tireTrackAtlasIndex="4" frictionScale="2" mass="0.54" width="0.42" hasParticles="true"/>
            <wheel rotSpeed="1" repr="0>1" driveNode="0>1|0" radius="0.42" restLoad="1.48" initialCompression="40" suspTravel="0.15" spring="12" damper="10" hasTireTracks="true" tireTrackAtlasIndex="4" frictionScale="2" mass="0.54" width="0.42" hasParticles="true"/>
            <wheel rotSpeed="0" repr="0>2" driveNode="0>2|0" radius="0.42" restLoad="1.94" initialCompression="40" suspTravel="0.15" spring="15" damper="10" hasTireTracks="true" tireTrackAtlasIndex="4" frictionScale="3" mass="0.54" width="0.42" hasParticles="true"/>
            <wheel rotSpeed="0" repr="0>3" driveNode="0>3|0" radius="0.42" restLoad="1.86" initialCompression="40" suspTravel="0.15" spring="15" damper="10" hasTireTracks="true" tireTrackAtlasIndex="4" frictionScale="3" mass="0.54" width="0.42" hasParticles="true"/>
        </wheels>
    
        <ackermannSteering rotSpeed="80" rotMax="45" rotCenterWheel1="2" rotCenterWheel2="3"/>
        <speedRotScale scale="40"/>
        <maxRotatedTimeSpeed value="2"/>
    
        <differentials>
            <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="0" wheelIndex2="1"/>
            <!-- front left-right -->
            <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="2" wheelIndex2="3"/>
            <!-- back left-right -->
            <differential torqueRatio="0.7" maxSpeedRatio="1.2" differentialIndex1="0" differentialIndex2="1"/>
            <!-- front-back -->
        </differentials>
    
        <motor torqueScale="1.75" minRpm="1000" maxRpm="3580" brakeForce="2.5" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" minForwardGearRatio="10" maxForwardGearRatio="40" minBackwardGearRatio="27.5" maxBackwardGearRatio="50">
            <torque normRpm="0.1" torque="0.35"/>
            <torque normRpm="0.3" torque="0.45"/>
            <torque normRpm="0.4" torque="0.60"/>
            <torque normRpm="0.5" torque="0.75"/>
            <torque normRpm="0.6" torque="0.85"/>
            <torque normRpm="0.75" torque="1"/>
            <torque normRpm="1" torque="0.85"/>
        </motor>
    
        <fuelCapacity>132</fuelCapacity>
        <fuelUsage>24</fuelUsage>
    
        <cameras count="2">
            <camera1 index="4|0|0" rotatable="true" rotateNode="4|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="20"/>
            <camera2 index="4|1" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
    
        <enterReferenceNode index="0>"/>
    
        <exitPoint index="0>6"/>
    
        <characterNode index="0>19|0" cameraMinDistance="2.0" filename="$dataS2/character/player/player.xml" spineRotation="180 0 90">
            <target ikChain="rightFoot" targetNode="0>19|1" setDirty="true"/>
            <target ikChain="leftFoot" targetNode="0>19|2" setDirty="true"/>
            <target ikChain="rightArm" targetNode="0>17|0|0" setDirty="true"/>
            <target ikChain="leftArm" targetNode="0>17|0|1" setDirty="true"/>
        </characterNode>
    
        <lights>
            <!--to be adjusted manually-->
            <low>
                <light realLight="0>5|0|0" decoration="0>5|0|2" lightTypes="0"/>
                <light realLight="0>5|0|1" decoration="0>5|0|3" lightTypes="1"/>
            </low>
            <!--to be adjusted manually-->
            <high>
                <light realLight="0>5|0|0" decoration="0>5|0|2" lightTypes="0"/>
                <light realLight="0>5|0|1" decoration="0>5|0|3" lightTypes="1"/>
            </high>
            <!--to be adjusted manually-->
            <states>0 1</states>
        </lights>
    
        <brakeLights>
            <brakeLight decoration="0>5|1"/>
        </brakeLights>
    
        <turnLights>
            <turnLightLeft decoration="0>5|2|0"/>
            <turnLightRight decoration="0>5|2|1"/>
        </turnLights>
    
        <reverseLights>
            <reverseLight realLight="0>5|3|0" decoration="0>5|3|0"/>
            <reverseLight decoration="0>5|3|1"/>
            <reverseLight decoration="0>5|3|2"/>
            <reverseLight decoration="0>5|3|3"/>
        </reverseLights>
    
        <mirrors>
            <mirror index="0>20"/>
        </mirrors>
    
        <indoorHud>
            <speed animName="speedDisplay"/>
            <rpm animName="rpmDisplay"/>
            <fuel animName="fuelDisplay"/>
        </indoorHud>
    
        <animations>
            <animation name="speedDisplay">
                <part node="0>14|1" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -140"/>
            </animation>
            <animation name="rpmDisplay">
                <part node="0>14|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -150"/>
            </animation>
            <animation name="fuelDisplay">
                <part node="0>14|2" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -90"/>
            </animation>
        </animations>
    
        <size width="3.5" length="5.5" lengthOffset="-0.4"/>
    
        <steering index="0>17|0" indoorRotation="540" outdoorRotation="90"/>
    
        <dynamicMountAttacherTrigger triggerNode="0>8" rootNode="0>" jointNode="0>" forceAcceleration="30"/>
    
        <ai>
            <trafficCollisionTrigger index="0>18"/>
        </ai>
    
        <attacherJoints>
    		<attacherJoint index="0>22" jointType="trailer" allowsJointLimitMovement="false" allowsLowering="false" canTurnOnImplement="false" lowerRotLimit="10 80 50" lowerTransLimit="0 0 0">
                <schema position="1 0" rotation="0" invertX="false"/>
            </attacherJoint>
    
            <attacherJoint index="0>16" jointType="trailerLow" allowsJointLimitMovement="false" allowsLowering="false" canTurnOnImplement="false" lowerRotLimit="10 80 50" lowerTransLimit="0 0 0">
                <schema position="1 0" rotation="0" invertX="false"/>
            </attacherJoint>
    
            <attacherJoint index="0>21" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" canTurnOnImplement="false" lowerRotLimit="10 80 50" lowerTransLimit="0 0 0"/>
        </attacherJoints>
    
        <motorStartSound file="sounds/Start.wav" volume="1" pitchOffset="1"/>
        <motorSound file="sounds/Idle.wav" volume="1" pitchOffset="1" pitchScale="0.017" pitchMax="1.75"/>
        <motorSoundRun file="sounds/High.wav" volume="1" pitchOffset="0.65" pitchScale="0.016" pitchMax="1.75"/>
        <motorStopSound file="sounds/Stop.wav" volume="1" pitchOffset="0.9"/>
        <honkSound file="$data/sounds/hornCar.wav" volume="1" innerRadius="10" radius="70"/>
    
        <exhaustEffects>
            <!--TODO: adjust xzRotationOffset, xzRotationsForward, xzRotationsBackward, xzRotationsLeft, xzRotationsRight-->
            <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>7|0" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.05" maxRpmScale="0.3" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
        </exhaustEffects>
    
        <components count="1">
            <component1 centerOfMass="0 0.52 -0.35" solverIterationCount="10"/>
        </components>
    
        <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0"/>
    
        <storeData>
            <name>
                <en>GMC Sierra HD</en>
            </name>
            <functions>
                <function>Lifted GMC Sierra HD with gooseneck and bumper hitch.</function>
            </functions>
            <specs>
                <power>345</power>
            </specs>
            <image>store.dds</image>
            <price>1000</price>
            <dailyUpkeep>10</dailyUpkeep>
            <lifetime>600</lifetime>
            <rotation>0</rotation>
            <brand>GMC</brand>
            <category>cars</category>
        </storeData>
    
    </vehicle>
    
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.