The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved]Full Conversion Still pointing to Default Directory
xiphirx Offline
Senior Member

Posts: 662
Threads: 16
Joined: Nov 2010
Reputation: 5
#1
[Solved]Full Conversion Still pointing to Default Directory

Hello, I have modeled my own lantern and would like to replace the default one in my full conversion.

I placed the model in Dazed/models/hand_objects/lantern/dzd_hand_lantern/
There is a lantern.ho file located in Dazed/models/hand_objects/lantern

This is the lantern.ho file
<HandObject>
    <Main
        Model = "dzd_hand_lantern/dzd_hand_lantern.ent"
        Type= "LightSource"
    
    />

    <Settings
        OffsetScale = "1 1 1"
        OffsetRotation = "-15 -5 -46"
        OffsetPosition = "-0.0105 -0.0035 0.002"
            
        HandsAnim_Idle = "Lantern_Idle"
        HandsAnim_Draw = "Lantern_Draw"
        HandsAnim_Holster = "Lantern_Holster"
        
        AttachBoneName = "attachpoint"
                
        FadeInTime = "1"
        FadeOutTime = "1"
        
        HasSwayPhysics = "true"
        MaxSwayVel = "15"
        SwayAngleLimits = "-13 90"
        SwayDownAngleLimits = "-7 80"
        SwayPinDir = "0 0 1"
        SwayGravity = "12"
        SwayFriction = "1.0"
        SwayPlayerSpeedMul = "0.015"
        SwayCameraRollMul = "1"
        
        SkipSwaySubMesh = "Handle"
    />

</HandObject>

I copied the hands over, and edited the hands.ent file
<Entity>
    <EditorSession>
        <Performance CamClipPlanes="0.05 1000" LightsActive="true" PSActive="true" ShowFog="true" ShowSkybox="true" WorldReflection="true" />
        <ViewportConfig BGColor="0.2 0.2 0.2 1" GAmbientLight="true" GPointLight="true" GridSnap="false" GridSnapSeparation="0.25" SelectedViewport="3" UsingEnlargedViewport="true">
            <Viewport CameraPosition="0 0 20" CameraTarget="0 0 0" CameraZoom="0.916291" GridHeight="0" GridPlane="2" Preset="0" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="true" />
            <Viewport CameraPosition="20 0 0" CameraTarget="0 0 0" CameraZoom="0.916291" GridHeight="0" GridPlane="0" Preset="1" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="true" />
            <Viewport CameraPosition="0 20 0" CameraTarget="0 0 0" CameraZoom="0.916291" GridHeight="0" GridPlane="1" Preset="2" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="true" />
            <Viewport CameraPosition="0.752535 0.737806 0.224467" CameraTarget="-0.220334 0.049336 -0.228084" CameraZoom="3.66919" GridHeight="0" GridPlane="1" Preset="3" RenderMode="0" ShowAxes="true" ShowGrid="true" UsingLTCam="true" />
        </ViewportConfig>
    </EditorSession>
    <ModelData>
        <Entities />
        <Mesh Filename="Dazed/models/player/hands/hands.dae">
            <SubMesh Active="true" ID="0" Material="" Name="hand" Rotation="0 0 0" Scale="1 1 1" SubMeshID="0" Tag="" WorldPos="0 0 0" />
        </Mesh>
        <Animations>
            <Animation File="animations/hands_lantern_idle.dae_anim" Name="Lantern_Idle" SpecialEventTime="0" Speed="1" />
            <Animation File="animations/hands_lantern_draw.dae_anim" Name="Lantern_Draw" SpecialEventTime="0" Speed="1" />
            <Animation File="animations/hands_lantern_holster.dae_anim" Name="Lantern_Holster" SpecialEventTime="0" Speed="1" />
        </Animations>
    </ModelData>
    <UserDefinedVariables EntitySubType="" EntityType="PlayerHands" />
</Entity>

Whenever I attempt to bring the lantern up, the game crashes... What is going on? D:

(This post was last modified: 05-15-2011, 04:29 AM by xiphirx.)
05-15-2011, 12:46 AM
Find


Messages In This Thread
[Solved]Full Conversion Still pointing to Default Directory - by xiphirx - 05-15-2011, 12:46 AM



Users browsing this thread: 1 Guest(s)