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
Adding a Penumbra Monster /!\ 1 New Problems
Jordo76 Offline
Member

Posts: 57
Threads: 7
Joined: Sep 2010
Reputation: 0
#1
Adding a Penumbra Monster /!\ 1 New Problems

After resolving the old problem, 1 more problems saw by Hardam (in Penumbra Enemy Päck Thread) appeared :
1)How to make the dog compatible with Path Nodes

We need to find how to fix this !
And the Penumbra monsters will be ours !

OLD PROBLEM :
Spoiler below!

Hello,
I'm working on my custom story again and i downloaded Penumbra Convert Pack but saw that the dog had no animations & sounds so i fixed this myself and added them manually,i already done that for the infected (that now work perfectly) and now it's the dog but i figured out that the .ent was "corrupted" from the beginning as it make the level editor crash when he open the enemy folder (where the dog folder is).
I hope you can help me finding the source of the problem.

The Exception Reason :
Leveleditor.exe caused an EXCEPTION_ACCESS_VIOLATION in module MSVCP71.dll at 0023:7C3A4F6C,
std::basic_string<chat,std::char_traits<char>,std::allocator<char>
>::Grow()+0018byte(s)

The .ent of the dog :
<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 180" CameraTarget="0 0 0" CameraZoom="0" GridHeight="0" GridPlane="2" Preset="0" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="false" />
<Viewport CameraPosition="180 0 0" CameraTarget="0 0 0" CameraZoom="0" GridHeight="0" GridPlane="0" Preset="1" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="false" />
<Viewport CameraPosition="0 180 0" CameraTarget="0 0 0" CameraZoom="0" GridHeight="0" GridPlane="1" Preset="2" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="false" />
<Viewport CameraPosition="1.51252 1.27831 1.59636" CameraTarget="-0.329078 0.437666 -0.0201461" CameraZoom="2.96013" GridHeight="0" GridPlane="1" Preset="3" RenderMode="0" ShowAxes="true" ShowGrid="true" UsingLTCam="false" />
</ViewportConfig>
</EditorSession>
<ModelData>
<Entities />
<Mesh Filename="dog/character_dog_idle.dae">
<SubMesh Active="true" ID="0" Material="" Name="polySurface2" Rotation="0 0 0" Scale="1 1 1" SubMeshID="0" Tag="" WorldPos="0 0 0" />
<SubMesh Active="true" ID="1" Material="" Name="polySurface44" Rotation="0 0 0" Scale="1 1 1" SubMeshID="1" Tag="" WorldPos="0 0 0" />
<SubMesh Active="true" ID="2" Material="" Name="polySurface45" Rotation="0 0 0" Scale="1 1 1" SubMeshID="2" Tag="" WorldPos="0 0 0" />
</Mesh>
<Bones>
<Bone ID="1" Name="Hips" />
<Bone ID="2" Name="Spine" />
<Bone ID="3" Name="Spine1" />
<Bone ID="4" Name="Spine2" />
<Bone ID="5" Name="Spine3" />
<Bone ID="6" Name="Neck" />
<Bone ID="7" Name="Neck1" />
<Bone ID="8" Name="Head" />
<Bone ID="9" Name="joint8" />
<Bone ID="10" Name="jaw" />
<Bone ID="11" Name="jawend" />
<Bone ID="12" Name="LeftShoulder" />
<Bone ID="13" Name="LeftArm" />
<Bone ID="14" Name="LeftForeArm" />
<Bone ID="15" Name="LeftHand" />
<Bone ID="16" Name="LeftHand_joint13" />
<Bone ID="17" Name="RightShoulder" />
<Bone ID="18" Name="RightArm" />
<Bone ID="19" Name="RightForeArm" />
<Bone ID="20" Name="RightHand" />
<Bone ID="21" Name="RightHand_joint13" />
<Bone ID="22" Name="Tail" />
<Bone ID="23" Name="tailend" />
<Bone ID="24" Name="LeftUpLeg" />
<Bone ID="25" Name="LeftLeg" />
<Bone ID="26" Name="LeftFoot" />
<Bone ID="27" Name="LeftToeBase" />
<Bone ID="28" Name="LeftFootIndex1" />
<Bone ID="29" Name="RightUpLeg" />
<Bone ID="30" Name="RightLeg" />
<Bone ID="31" Name="RightFoot" />
<Bone ID="32" Name="RightToeBase" />
<Bone ID="33" Name="RightFootIndex1" />
</Bones>
<Shapes />
<Bodies />
<Joints />
<Animations>
<Animation File="Animation/character_dog_idle.dae_anim" Name="Idle" SpecialEventTime="1.22032e-033" Speed="1" />
<Animation File="Animation/character_dog_run.dae_anim" Name="Run" SpecialEventTime="0" Speed="0.2" >
<Event Time="1.0" Type="PlaySound" Value="dog/enemy_dog_step" />
<Event Time="3.0" Type="PlaySound" Value="dog/enemy_dog_step" />
</Animation>
<Animation File="Animation/character_dog_walk.dae_anim" Name="Walk" SpecialEventTime="1.22032e-033" Speed="1" >
<Event Time="0.8" Type="PlaySound" Value="dog/enemy_dog_step" />
<Event Time="2.47" Type="PlaySound" Value="dog/enemy_dog_step" />
</Animation>
<Animation File="Animation/character_dog_attack01.dae_anim" Name="SwingClaws01" SpecialEventTime="0.65" Speed="2.1">
<Event Time="0.1" Type="PlaySound" Value="dog/enemy_dog_step" />
<Event Time="0.4" Type="PlaySound" Value="dog/enemy_dog_attack" />
</Animation>
<Animation File="Animation/character_dog_attack02.dae_anim" Name="SwingClaws02" SpecialEventTime="0.5" Speed="1.5">
<Event Time="0.2" Type="PlaySound" Value="dog/enemy_dog_step" />
<Event Time="0.4" Type="PlaySound" Value="dog/enemy_dog_attack" />
</Animation>
<Animation File="Animation/character_dog_attack02.dae_anim" Name="BreakDoor" SpecialEventTime="0.5" Speed="1.5">
<Event Time="0.2" Type="PlaySound" Value="dog/enemy_dog_break_door" />
</Animation>
<Animation File="Animation/character_dog_attack_low.dae_anim" Name="SwingLaunch" SpecialEventTime="0.45" Speed="2.0">
<Event Time="0.2" Type="PlaySound" Value="dog/enemy_dog_attack" />
</Animation>
<Animation File="Animation/character_dog_angry.dae_anim" Name="Flinch" SpecialEventTime="0" Speed="1">
</Animation>
<Animation File="Animation/character_dog_angry.dae_anim" Name="Notice1" SpecialEventTime="0" Speed="1">
<Event Time="0.01" Type="PlaySound" Value="dog/enemy_dog_angry" />
</Animation>
<Animation File="Animation/character_dog_angry.dae_anim" Name="Notice2" SpecialEventTime="0" Speed="1">
<Event Time="0.01" Type="PlaySound" Value="dog/enemy_dog_angry" />
</Animation>
</Animations>
</ModelData>
<UserDefinedVariables EntitySubType="" EntityType="Enemy_Grunt">
<Var Name="Health" Value="100" />
<Var Name="Toughness" Value="0" />
<Var Name="SightRange" Value="13" />
<Var Name="DarknessSightRange" Value="5" />
<Var Name="HearVolume" Value="0.55" />
<Var Name="FOV" Value="120" />
<Var Name="FOVXMul" Value="1" />
<Var Name="ActivationDistance" Value="20" />
<Var Name="MaxRegenHealth" Value="100" />
<Var Name="RegenHealthSpeed" Value="5" />
<Var Name="DangerMusic" Value="dog/Penumbra_BP_D1" />
<Var Name="DangerMusicPrio" Value="0" />
<Var Name="SearchMusic" Value="" />
<Var Name="SearchMusicPrio" Value="0" />
<Var Name="AttackMusic" Value="dog/Penumbra_BP_F1" />
<Var Name="AttackMusicPrio" Value="0" />
<Var Name="PlayerSearchMaxAngle" Value="45" />
<Var Name="PlayerSearchMinDistMul" Value="0.5" />
<Var Name="PlayerSearchMaxDistMul" Value="2" />
<Var Name="PlayerSearchTime" Value="10" />
<Var Name="PlayerPatrolMaxAngle" Value="110" />
<Var Name="PlayerPatrolMinDist" Value="8" />
<Var Name="PlayerPatrolMaxDist" Value="18" />
<Var Name="Body_Size" Value="1.2 1.85 1.2" />
<Var Name="Body_Mass" Value="50" />
<Var Name="Body_AccurateClimbing" Value="true" />
<Var Name="Body_MaxNoSlideSlopeAngle" Value="45" />
<Var Name="Body_MaxPushMass" Value="40" />
<Var Name="Body_PushForce" Value="200" />
<Var Name="Body_CharacterMaxPushMass" Value="20" />
<Var Name="Body_CharacterPushForce" Value="100" />
<Var Name="Body_MaxStepSize" Value="0.5" />
<Var Name="Body_StepClimbSpeed" Value="6" />
<Var Name="Body_OffsetRot" Value="0 180 0" />
<Var Name="Body_OffsetTrans" Value="0 -0.02 0" />
<Var Name="Walk_ForwardSpeed" Value="1.3" />
<Var Name="Walk_BackwardSpeed" Value="0.4" />
<Var Name="Walk_ForwardAcc" Value="2" />
<Var Name="Walk_ForwardDeacc" Value="18" />
<Var Name="Run_ForwardSpeed" Value="5.1" />
<Var Name="Run_BackwardSpeed" Value="2" />
<Var Name="Run_ForwardAcc" Value="4" />
<Var Name="Run_ForwardDeacc" Value="8" />
<Var Name="TurnSpeedMul" Value="6" />
<Var Name="TurnMaxSpeed" Value="12" />
<Var Name="TurnMinBreakAngle" Value="10" />
<Var Name="TurnBreakMul" Value="2" />
<Var Name="MoveSpeedAnimMul" Value="1.2" />
<Var Name="StoppedToWalkSpeed" Value="0.15" />
<Var Name="WalkToStoppedSpeed" Value="0.1" />
<Var Name="WalkToRunSpeed" Value="3.2" />
<Var Name="RunToWalkSpeed" Value="2.8" />
<Var Name="WaterStepSpeedWalk" Value="3" />
<Var Name="WaterStepSpeedRun" Value="5" />
<Var Name="WaterStepSpeedMisc" Value="3" />
<Var Name="HitPS_Sword" Value="hit/blood.ps" />
<Var Name="HitSound_Sword" Value="dog/enemy_dog_bite.snt" />
<Var Name="HitPS_Club" Value="hit/blood.ps" />
<Var Name="HitSound_Club" Value="dog/enemy_dog_bite.snt" />
<Var Name="HitPS_Bullet" Value="hit/blood.ps" />
<Var Name="HitSound_Bullet" Value="dog/enemy_dog_bite.snt" />
<Var Name="HitPS_Dud" Value="" />
<Var Name="HitSound_Dud" Value="" />
<Var Name="AmbientSound_Idle" Value="" />
<Var Name="AmbientMinTime_Idle" Value="1" />
<Var Name="AmbientMaxTime_Idle" Value="3" />
<Var Name="AmbientSound_Alert" Value="" />
<Var Name="AmbientMinTime_Alert" Value="1" />
<Var Name="AmbientMaxTime_Alert" Value="3" />
<Var Name="AmbientSound_Hunt" Value="" />
<Var Name="AmbientMinTime_Hunt" Value="1" />
<Var Name="AmbientMaxTime_Hunt" Value="3" />
<Var Name="NormalAttackDistance" Value="1.9" />
<Var Name="NormalDamageSize" Value="1 1.6 1.75" />
<Var Name="NormalDamageOffset" Value="0 0 1.2" />
<Var Name="NormalAttackHitSound" Value="" />
<Var Name="NormalAttackDamage" Value="30 60" />
<Var Name="NormalAttackForce" Value="30 5" />
<Var Name="NormalAttackStrength" Value="1" />
<Var Name="NormalDamageType" Value="Claws" />
<Var Name="BreakDoorAttackDamage" Value="26 26" />
<Var Name="BreakDoorAttackForce" Value="30 5" />
<Var Name="BreakDoorAttackStrength" Value="6" />
<Var Name="BreakDoorAttackHitSound" Value="" />
<Var Name="BreakDoorDamageType" Value="BloodSplat" />
<Var Name="NoticeSound" Value="dog/enemy_dog_angry" />
<Var Name="EnabledSound" Value="dog/enemy_dog_howl" />
<Var Name="GroggyDamageCount" Value="1" />
<Var Name="AlertToHuntDistance" Value="9" />
<Var Name="AlertToInstantHuntDistance" Value="2.5" />
<Var Name="HuntPauseMinTime" Value="2" />
<Var Name="HuntPauseMaxTime" Value="4.5" />
<Var Name="IncreaseAlertSpeedDistance" Value="6" />
<Var Name="IncreasedAlertSpeedMul" Value="1.5" />
<Var Name="AlertRunTowardsToHuntLimit" Value="30" />
<Var Name="AlertRunTowardsCheckDistance" Value="6" />
<Var Name="IdleExtraTimeMin" Value="2" />
<Var Name="IdleExtraTimeMax" Value="6" />
<Var Name="IdleExtraNum" Value="3" />
</UserDefinedVariables>
</Entity>


Hope you can help me.
Thank You.

(This post was last modified: 07-11-2011, 12:38 AM by Jordo76.)
07-08-2011, 09:34 PM
Website Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#2
RE: Adding a Penumbra Monster

moved to Custom Stories & Modifications
07-08-2011, 10:05 PM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#3
RE: Adding a Penumbra Monster

You need to add animations manually and set entity file with custom variables.

07-08-2011, 10:45 PM
Website Find
Jordo76 Offline
Member

Posts: 57
Threads: 7
Joined: Sep 2010
Reputation: 0
#4
RE: Adding a Penumbra Monster

I did,here :
Spoiler below!

<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 180" CameraTarget="0 0 0" CameraZoom="0" GridHeight="0" GridPlane="2" Preset="0" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="false" />
<Viewport CameraPosition="180 0 0" CameraTarget="0 0 0" CameraZoom="0" GridHeight="0" GridPlane="0" Preset="1" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="false" />
<Viewport CameraPosition="0 180 0" CameraTarget="0 0 0" CameraZoom="0" GridHeight="0" GridPlane="1" Preset="2" RenderMode="1" ShowAxes="true" ShowGrid="true" UsingLTCam="false" />
<Viewport CameraPosition="1.51252 1.27831 1.59636" CameraTarget="-0.329078 0.437666 -0.0201461" CameraZoom="2.96013" GridHeight="0" GridPlane="1" Preset="3" RenderMode="0" ShowAxes="true" ShowGrid="true" UsingLTCam="false" />
</ViewportConfig>
</EditorSession>
<ModelData>
<Entities />
<Mesh Filename="dog/character_dog_idle.dae">
<SubMesh Active="true" ID="0" Material="" Name="polySurface2" Rotation="0 0 0" Scale="1 1 1" SubMeshID="0" Tag="" WorldPos="0 0 0" />
<SubMesh Active="true" ID="1" Material="" Name="polySurface44" Rotation="0 0 0" Scale="1 1 1" SubMeshID="1" Tag="" WorldPos="0 0 0" />
<SubMesh Active="true" ID="2" Material="" Name="polySurface45" Rotation="0 0 0" Scale="1 1 1" SubMeshID="2" Tag="" WorldPos="0 0 0" />
</Mesh>
<Bones>
<Bone ID="1" Name="Hips" />
<Bone ID="2" Name="Spine" />
<Bone ID="3" Name="Spine1" />
<Bone ID="4" Name="Spine2" />
<Bone ID="5" Name="Spine3" />
<Bone ID="6" Name="Neck" />
<Bone ID="7" Name="Neck1" />
<Bone ID="8" Name="Head" />
<Bone ID="9" Name="joint8" />
<Bone ID="10" Name="jaw" />
<Bone ID="11" Name="jawend" />
<Bone ID="12" Name="LeftShoulder" />
<Bone ID="13" Name="LeftArm" />
<Bone ID="14" Name="LeftForeArm" />
<Bone ID="15" Name="LeftHand" />
<Bone ID="16" Name="LeftHand_joint13" />
<Bone ID="17" Name="RightShoulder" />
<Bone ID="18" Name="RightArm" />
<Bone ID="19" Name="RightForeArm" />
<Bone ID="20" Name="RightHand" />
<Bone ID="21" Name="RightHand_joint13" />
<Bone ID="22" Name="Tail" />
<Bone ID="23" Name="tailend" />
<Bone ID="24" Name="LeftUpLeg" />
<Bone ID="25" Name="LeftLeg" />
<Bone ID="26" Name="LeftFoot" />
<Bone ID="27" Name="LeftToeBase" />
<Bone ID="28" Name="LeftFootIndex1" />
<Bone ID="29" Name="RightUpLeg" />
<Bone ID="30" Name="RightLeg" />
<Bone ID="31" Name="RightFoot" />
<Bone ID="32" Name="RightToeBase" />
<Bone ID="33" Name="RightFootIndex1" />
</Bones>
<Shapes />
<Bodies />
<Joints />
<Animations>
<Animation File="Animation/character_dog_idle.dae_anim" Name="Idle" SpecialEventTime="1.22032e-033" Speed="1" />
<Animation File="Animation/character_dog_run.dae_anim" Name="Run" SpecialEventTime="0" Speed="0.2" >
<Event Time="1.0" Type="PlaySound" Value="dog/enemy_dog_step" />
<Event Time="3.0" Type="PlaySound" Value="dog/enemy_dog_step" />
</Animation>
<Animation File="Animation/character_dog_walk.dae_anim" Name="Walk" SpecialEventTime="1.22032e-033" Speed="1" >
<Event Time="0.8" Type="PlaySound" Value="dog/enemy_dog_step" />
<Event Time="2.47" Type="PlaySound" Value="dog/enemy_dog_step" />
</Animation>
<Animation File="Animation/character_dog_attack01.dae_anim" Name="SwingClaws01" SpecialEventTime="0.65" Speed="2.1">
<Event Time="0.1" Type="PlaySound" Value="dog/enemy_dog_step" />
<Event Time="0.4" Type="PlaySound" Value="dog/enemy_dog_attack" />
</Animation>
<Animation File="Animation/character_dog_attack02.dae_anim" Name="SwingClaws02" SpecialEventTime="0.5" Speed="1.5">
<Event Time="0.2" Type="PlaySound" Value="dog/enemy_dog_step" />
<Event Time="0.4" Type="PlaySound" Value="dog/enemy_dog_attack" />
</Animation>
<Animation File="Animation/character_dog_attack02.dae_anim" Name="BreakDoor" SpecialEventTime="0.5" Speed="1.5">
<Event Time="0.2" Type="PlaySound" Value="dog/enemy_dog_break_door" />
</Animation>
<Animation File="Animation/character_dog_attack_low.dae_anim" Name="SwingLaunch" SpecialEventTime="0.45" Speed="2.0">
<Event Time="0.2" Type="PlaySound" Value="dog/enemy_dog_attack" />
</Animation>
<Animation File="Animation/character_dog_angry.dae_anim" Name="Flinch" SpecialEventTime="0" Speed="1">
</Animation>
<Animation File="Animation/character_dog_angry.dae_anim" Name="Notice1" SpecialEventTime="0" Speed="1">
<Event Time="0.01" Type="PlaySound" Value="dog/enemy_dog_angry" />
</Animation>
<Animation File="Animation/character_dog_angry.dae_anim" Name="Notice2" SpecialEventTime="0" Speed="1">
<Event Time="0.01" Type="PlaySound" Value="dog/enemy_dog_angry" />
</Animation>
</Animations>
</ModelData>
<UserDefinedVariables EntitySubType="" EntityType="Enemy_Grunt">
<Var Name="Health" Value="100" />
<Var Name="Toughness" Value="0" />
<Var Name="SightRange" Value="13" />
<Var Name="DarknessSightRange" Value="5" />
<Var Name="HearVolume" Value="0.55" />
<Var Name="FOV" Value="120" />
<Var Name="FOVXMul" Value="1" />
<Var Name="ActivationDistance" Value="20" />
<Var Name="MaxRegenHealth" Value="100" />
<Var Name="RegenHealthSpeed" Value="5" />
<Var Name="DangerMusic" Value="dog/Penumbra_BP_D1" />
<Var Name="DangerMusicPrio" Value="0" />
<Var Name="SearchMusic" Value="" />
<Var Name="SearchMusicPrio" Value="0" />
<Var Name="AttackMusic" Value="dog/Penumbra_BP_F1" />
<Var Name="AttackMusicPrio" Value="0" />
<Var Name="PlayerSearchMaxAngle" Value="45" />
<Var Name="PlayerSearchMinDistMul" Value="0.5" />
<Var Name="PlayerSearchMaxDistMul" Value="2" />
<Var Name="PlayerSearchTime" Value="10" />
<Var Name="PlayerPatrolMaxAngle" Value="110" />
<Var Name="PlayerPatrolMinDist" Value="8" />
<Var Name="PlayerPatrolMaxDist" Value="18" />
<Var Name="Body_Size" Value="1.2 1.85 1.2" />
<Var Name="Body_Mass" Value="50" />
<Var Name="Body_AccurateClimbing" Value="true" />
<Var Name="Body_MaxNoSlideSlopeAngle" Value="45" />
<Var Name="Body_MaxPushMass" Value="40" />
<Var Name="Body_PushForce" Value="200" />
<Var Name="Body_CharacterMaxPushMass" Value="20" />
<Var Name="Body_CharacterPushForce" Value="100" />
<Var Name="Body_MaxStepSize" Value="0.5" />
<Var Name="Body_StepClimbSpeed" Value="6" />
<Var Name="Body_OffsetRot" Value="0 180 0" />
<Var Name="Body_OffsetTrans" Value="0 -0.02 0" />
<Var Name="Walk_ForwardSpeed" Value="1.3" />
<Var Name="Walk_BackwardSpeed" Value="0.4" />
<Var Name="Walk_ForwardAcc" Value="2" />
<Var Name="Walk_ForwardDeacc" Value="18" />
<Var Name="Run_ForwardSpeed" Value="5.1" />
<Var Name="Run_BackwardSpeed" Value="2" />
<Var Name="Run_ForwardAcc" Value="4" />
<Var Name="Run_ForwardDeacc" Value="8" />
<Var Name="TurnSpeedMul" Value="6" />
<Var Name="TurnMaxSpeed" Value="12" />
<Var Name="TurnMinBreakAngle" Value="10" />
<Var Name="TurnBreakMul" Value="2" />
<Var Name="MoveSpeedAnimMul" Value="1.2" />
<Var Name="StoppedToWalkSpeed" Value="0.15" />
<Var Name="WalkToStoppedSpeed" Value="0.1" />
<Var Name="WalkToRunSpeed" Value="3.2" />
<Var Name="RunToWalkSpeed" Value="2.8" />
<Var Name="WaterStepSpeedWalk" Value="3" />
<Var Name="WaterStepSpeedRun" Value="5" />
<Var Name="WaterStepSpeedMisc" Value="3" />
<Var Name="HitPS_Sword" Value="hit/blood.ps" />
<Var Name="HitSound_Sword" Value="dog/enemy_dog_bite.snt" />
<Var Name="HitPS_Club" Value="hit/blood.ps" />
<Var Name="HitSound_Club" Value="dog/enemy_dog_bite.snt" />
<Var Name="HitPS_Bullet" Value="hit/blood.ps" />
<Var Name="HitSound_Bullet" Value="dog/enemy_dog_bite.snt" />
<Var Name="HitPS_Dud" Value="" />
<Var Name="HitSound_Dud" Value="" />
<Var Name="AmbientSound_Idle" Value="" />
<Var Name="AmbientMinTime_Idle" Value="1" />
<Var Name="AmbientMaxTime_Idle" Value="3" />
<Var Name="AmbientSound_Alert" Value="" />
<Var Name="AmbientMinTime_Alert" Value="1" />
<Var Name="AmbientMaxTime_Alert" Value="3" />
<Var Name="AmbientSound_Hunt" Value="" />
<Var Name="AmbientMinTime_Hunt" Value="1" />
<Var Name="AmbientMaxTime_Hunt" Value="3" />
<Var Name="NormalAttackDistance" Value="1.9" />
<Var Name="NormalDamageSize" Value="1 1.6 1.75" />
<Var Name="NormalDamageOffset" Value="0 0 1.2" />
<Var Name="NormalAttackHitSound" Value="" />
<Var Name="NormalAttackDamage" Value="30 60" />
<Var Name="NormalAttackForce" Value="30 5" />
<Var Name="NormalAttackStrength" Value="1" />
<Var Name="NormalDamageType" Value="Claws" />
<Var Name="BreakDoorAttackDamage" Value="26 26" />
<Var Name="BreakDoorAttackForce" Value="30 5" />
<Var Name="BreakDoorAttackStrength" Value="6" />
<Var Name="BreakDoorAttackHitSound" Value="" />
<Var Name="BreakDoorDamageType" Value="BloodSplat" />
<Var Name="NoticeSound" Value="dog/enemy_dog_angry" />
<Var Name="EnabledSound" Value="dog/enemy_dog_howl" />
<Var Name="GroggyDamageCount" Value="1" />
<Var Name="AlertToHuntDistance" Value="9" />
<Var Name="AlertToInstantHuntDistance" Value="2.5" />
<Var Name="HuntPauseMinTime" Value="2" />
<Var Name="HuntPauseMaxTime" Value="4.5" />
<Var Name="IncreaseAlertSpeedDistance" Value="6" />
<Var Name="IncreasedAlertSpeedMul" Value="1.5" />
<Var Name="AlertRunTowardsToHuntLimit" Value="30" />
<Var Name="AlertRunTowardsCheckDistance" Value="6" />
<Var Name="IdleExtraTimeMin" Value="2" />
<Var Name="IdleExtraTimeMax" Value="6" />
<Var Name="IdleExtraNum" Value="3" />
</UserDefinedVariables>
</Entity>

Forgot to give you the .ent of the dog
Also,the dog work perfectly in the Model Viewer.
(This post was last modified: 07-08-2011, 10:47 PM by Jordo76.)
07-08-2011, 10:46 PM
Website Find
Jordo76 Offline
Member

Posts: 57
Threads: 7
Joined: Sep 2010
Reputation: 0
#5
RE: Adding a Penumbra Monster

I'm sorry to announce (for anyone who love the Darkness but hate the dog) that i found a solution, i can't create it in the editor,so i'm creating it IN GAME !
A Simple CreateEntityAtArea(string& asEntityName, string& asEntityFile, string& asAreaName, bool abFullGameSave); and the dog is created and fully functional (some problem about speed tough but can be changed in the .ent)
Also a little freeze when he spawn, it's sad but at least he work !
07-10-2011, 02:22 PM
Website Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#6
RE: Adding a Penumbra Monster

Jordo you can try creating it on-start then setting it inactive a second later. Use a fade-out & fade-in function so the player doesn't ever notice the freeze. It's a trick I often use on maps where a lot of objects start off in midair and need to fall and settle (often causing some screen lag).

07-10-2011, 02:38 PM
Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#7
RE: Adding a Penumbra Monster

Jordo would you ming sharing the fixed files with us? A dog in custom stories will be nice.Wink
(This post was last modified: 07-10-2011, 03:39 PM by plutomaniac.)
07-10-2011, 03:38 PM
Find
Jordo76 Offline
Member

Posts: 57
Threads: 7
Joined: Sep 2010
Reputation: 0
#8
RE: Adding a Penumbra Monster

Your sir, palistov, deserve a medal.
This was an excellent idea, for the file of the dog i didn't fixed the speed yet but i'm doing everything i can to fix it (too slow)
But i will send you a pack containing the infected and the dog with the sound & the music i promise Smile
Anyway does someone know how to make a monster run to a patrol node ?
Here is it Plutomaniac :
Here
(This post was last modified: 07-10-2011, 05:56 PM by Jordo76.)
07-10-2011, 05:26 PM
Website Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#9
RE: Adding a Penumbra Monster

very nice, thank you.
07-10-2011, 09:32 PM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#10
RE: Adding a Penumbra Monster

Glad I could help Smile

AddEnemyPatrolNode("doggie", "PathNodeArea_1", 5, "");
AddEnemyPatrolNode("doggie", "PathNodeArea_2", 5, "");
AddEnemyPatrolNode("doggie", "PathNodeArea_3", 5, "");

Using those lines of script will give your furry little friend a patrol path. He/she will patrol that path (in order) until something suspicious catches its attention. At each node the doggie will wait for 5 seconds (you can change it, but even with a value of 0 there is still a pause of a second or two).

Make sure you create an abundance of extra node areas (monster AI requires them so they can walk around obstacles and walls, etc. Space them out no more than 1 meter.

(This post was last modified: 07-10-2011, 11:31 PM by palistov.)
07-10-2011, 11:31 PM
Find




Users browsing this thread: 2 Guest(s)