Beiträge von TimoBloss


    GE in text öfnen unten eintragen

    Das Meindes du?


    XML
    <foldingParts>
    <foldingPart componentJointIndex="0" anchorActor="0" animationClip="foldRightClipSource" rootNode="10" speedScale="0.7" />
    <foldingPart componentJointIndex="1" anchorActor="0" animationClip="foldLeftClipSource" rootNode="13" speedScale="0.8" />
    <foldingParts>


    Das auch noch?


    XML
    <components count="3">
    <component1 centerOfMass="0 0 -1.3" solverIterationCount="25" />
    <component2 centerOfMass="2.6 -0.4 -0.15" solverIterationCount="25" />
    <component3 centerOfMass="-2.6 -0.4 -0.15" solverIterationCount="25" />
    <joint component1="0" component2="1" index="0>9" rotLimit="0 0 0" transLimit="0 0 0" />
    <joint component1="0" component2="2" index="0>12" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>

    ich hab eine LUA so versucht geht aber nicht
    [lua]--
    -- ScaniaV8
    -- Specialization for ScaniaV8 mod
    --
    -- @author Timo Bloss
    -- @date 10/01/09
    --
    -- Copyright (C) GIANTS Software GmbH, Confidential, All Rights Reserved.
    ScaniaV8 = {};
    function lizard2000.prerequisitesPresent(specializations)
    return SpecializationUtil.hasSpecialization(Motorized, specializations);
    end;
    function ScaniaV8:load(i3dFile)
    self.AnimationStart = false;
    end;
    function ScaniaV8:delete()
    delete(self.burnerSoundId);
    end;
    function ScaniaV8:mouseEvent(posX, posY, isDown, isUp, button)
    end;
    function ScaniaV8:keyEvent(unicode, sym, modifier, isDown)
    end;
    function ScaniaV8:update(dt)
    if self:getIsActiveForInput() and self:getIsActiveForSound() and InputBinding.isPressed(InputBinding.SCANIAV8_DOWN) then
    then self.AnimationStart "tipAnimationClipSource ab";
    self.AnimationStart = true;
    end;
    end;
    if self:getIsActiveForInput() and self:getIsActiveForSound() and InputBinding.isPressed(InputBinding.SCANIAV8_UP) then
    then self.AnimationStart "tipAnimationClipSource auf";
    self.AnimationStart = true;
    end;
    end;
    end;
    function ScaniaV8:draw()
    g_currentMission:addHelpButtonText(g_i18n:getText("down"), InputBinding.SCANIAV8_DOWN);
    g_currentMission:addHelpButtonText(g_i18n:getText("up"), InputBinding.SCANIAV8_UP);
    end;
    [/lua]