Add textured, normal-mapped, animated Nile crocodile to the game. Need to do a female version, possibly a saltwater croc version for mauryan maps?

Add crocodile entity, which is about similar to the lion.
Add a (temporary?) crocodile portrait.
It uses the lion sounds which are probably the closest we have right
now.

This was SVN commit r14399.
This commit is contained in:
wraitii 2013-12-26 22:33:06 +00:00
parent 7688e9c93e
commit e942768b4d
15 changed files with 200 additions and 7 deletions

View File

@ -1,10 +1,25 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<actor version="1"> <actor version="1">
<castshadow/> <castshadow/>
<group> <group>
<variant name="crocodile"> <variant frequency="1" name="crocodile">
<mesh>skeletal/crocodile.dae</mesh> <animations>
<textures><texture file="null_gray.dds" name="baseTex"/></textures> <animation file="quadraped/Croc_fem_idle1.dae" name="idle" speed="11"/>
</variant> <animation file="quadraped/Croc_fem_idle2.dae" name="idle" speed="11"/>
</group> <animation file="quadraped/Croc_fem_idle3.dae" name="idle" speed="25"/>
<animation file="quadraped/Croc_fem_idle3.dae" name="idle" speed="20"/>
<animation file="quadraped/Croc_fem_walk.dae" name="Walk" speed="20"/>
<animation file="quadraped/Croc_fem_run.dae" name="Run" speed="15"/>
<animation event="0.47" file="quadraped/Croc_fem_attack.dae" name="attack_melee" speed="70"/>
<animation file="quadraped/Croc_fem_death.dae" name="Death" speed="110"/>
</animations>
<mesh>skeletal/Croc_fem.dae</mesh>
<textures>
<texture file="skeletal/animal_crocodile.png" name="baseTex"/>
<texture file="skeletal/animal_crocodile_norm.png" name="normTex"/>
<texture file="skeletal/animal_crocodile_spec.png" name="specTex"/>
</textures>
</variant>
</group>
<material>basic_trans_parallax_spec.xml</material>
</actor> </actor>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
binaries/data/mods/public/art/meshes/skeletal/Croc.dae (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,96 @@
<skeletons>
<standard_skeleton title="Crocodile" id="Crocodile">
<bone name="Main">
<bone name="Spine1">
<bone name="Neck">
<bone name="TopJaw">
</bone>
<bone name="BottomJaw">
</bone>
<bone name="BottomJaw_helper">
</bone>
</bone>
<bone name="FrontLKnee">
<bone name="FrontLLeg">
<bone name="FrontLFoot">
</bone>
</bone>
</bone>
<bone name="FrontRKnee">
<bone name="FrontRLeg">
<bone name="FrontRFoot">
</bone>
</bone>
</bone>
<bone name="Spine2">
<bone name="BackLKnee">
<bone name="BackLLeg">
<bone name="BackLFoot">
</bone>
</bone>
</bone>
<bone name="BackRKnee">
<bone name="BackRLeg">
<bone name="BackRFoot">
</bone>
</bone>
</bone>
<bone name="Tail1">
<bone name="Tail2">
<bone name="Tail3">
</bone>
</bone>
</bone>
</bone>
</bone>
</bone>
</standard_skeleton>
<skeleton title="BlenderCrocodile" target="Crocodile">
<identifier><root>crocodile</root></identifier>
<bone name="Main"><target>Main</target>
<bone name="Spine1"><target>Spine1</target>
<bone name="Neck"><target>Neck</target>
<bone name="TopJaw"><target>TopJaw</target>
</bone>
<bone name="BottomJaw"><target>BottomJaw</target>
</bone>
<bone name="BottomJaw_helper"><target>BottomJaw_helper</target>
</bone>
</bone>
<bone name="FrontLKnee"><target>FrontLKnee</target>
<bone name="FrontLLeg"><target>FrontLLeg</target>
<bone name="FrontLFoot"><target>FrontLFoot</target>
</bone>
</bone>
</bone>
<bone name="FrontRKnee"><target>FrontRKnee</target>
<bone name="FrontRLeg"><target>FrontRLeg</target>
<bone name="FrontRFoot"><target>FrontRFoot</target>
</bone>
</bone>
</bone>
<bone name="Spine2"><target>Spine2</target>
<bone name="BackLKnee"><target>BackLKnee</target>
<bone name="BackLLeg"><target>BackLLeg</target>
<bone name="BackLFoot"><target>BackLFoot</target>
</bone>
</bone>
</bone>
<bone name="BackRKnee"><target>BackRKnee</target>
<bone name="BackRLeg"><target>BackRLeg</target>
<bone name="BackRFoot"><target>BackRFoot</target>
</bone>
</bone>
</bone>
<bone name="Tail1"><target>Tail1</target>
<bone name="Tail2"><target>Tail2</target>
<bone name="Tail3"><target>Tail3</target>
</bone>
</bone>
</bone>
</bone>
</bone>
</bone>
</skeleton>
</skeletons>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_wild_aggressive">
<Attack>
<Melee>
<Hack>30.0</Hack>
<Pierce>0.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>8.0</MaxRange>
<RepeatTime>2000</RepeatTime>
</Melee>
</Attack>
<Footprint>
<Circle radius="2.5"/>
<Height>1.5</Height>
</Footprint>
<Identity>
<Civ>gaia</Civ>
<SpecificName>Nile Crocodile</SpecificName>
<Icon>gaia/fauna_crocodile.png</Icon>
</Identity>
<Obstruction>
<Unit radius="2.4"/>
</Obstruction>
<Position>
<Anchor>pitch-roll</Anchor>
</Position>
<Sound>
<SoundGroups>
<select>actor/fauna/animal/lion_select.xml</select>
<attack>actor/fauna/animal/lion_attack.xml</attack>
<death>actor/fauna/animal/lion_select.xml</death>
</SoundGroups>
</Sound>
<UnitMotion>
<WalkSpeed>2.0</WalkSpeed>
<Run>
<Speed>18.0</Speed>
</Run>
</UnitMotion>
<Vision>
<Range>20</Range>
</Vision>
<VisualActor>
<Actor>fauna/crocodile.xml</Actor>
</VisualActor>
</Entity>