Laderaumabdeckung einbauen

  • Soso,

    ich möcht dann mal ne Laderaumabdeckung einbauen,
    im GE eingebaut, in der xml und moddesc einträge eingetragen,
    und im spiel dieser Fehler:

    Spoiler anzeigen

    C:/Users/Braddock/Documents/My Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/bergmannHTW65.i3d (3.31mb in 329.95 ms)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)
    Error: LUA running function 'update'
    C:/Users/Braddock/Documents/My

    Games/FarmingSimulator2013/mods/BergmannHTW65_Sattel/sp/ChaffCover.lua(83)
    : attempt to perform arithmetic on local 'curTime' (a nil value)

    was sagt ihr?

    2 Mal editiert, zuletzt von DecanKane (21. Mai 2013 um 01:15)

  • Brauchst nur die abdeckung in dem mod impotieren und die indexe bei:

    Code
    <animParts>
    	<animPart index="0>25|0" id="Laderaumabdeckung" showHelp="true"  rotMin="90 180 -15" rotMax="90 180 240" moveTime="4" />
    	<animPart index="0>25|1" id="Laderaumabdeckung" showHelp="false" rotMin="90 180 15" rotMax="90 180 -240" moveTime="4" />
    </animParts>

    anpassen. Dann sollte das laufen.

  • Hi Tino,

    sorry hab gestern ned geguckt ob die inputBinding's und die l10n einträge vorhanden sind. Die fehlen. Jetzt musst du in der modDesc nur:

    Code
    <inputBindings>
    	<input name="Laderaumabdeckung" key1="KEY_5" />
    </inputBindings>
    
    <l10n>
    	<text name="Laderaumabdeckung"><de>Laderaumabdeckung auf-/zuklappen</de><en>Laderaumabdeckung auf-/zuklappen</en></text>
    </l10n>

    eintragen. Danach sollte das klappen und es sollte auch im Hilfefenster angezeigt werden.