forked from 0ad/0ad
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:
parent
7688e9c93e
commit
e942768b4d
@ -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>
|
||||||
|
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_attack.dae
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_attack.dae
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_death.dae
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_death.dae
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_idle1.dae
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_idle1.dae
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_idle2.dae
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_idle2.dae
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_idle3.dae
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_idle3.dae
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_run.dae
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_run.dae
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_walk.dae
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/animation/quadraped/Croc_walk.dae
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/meshes/skeletal/Croc.dae
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/meshes/skeletal/Croc.dae
(Stored with Git LFS)
Normal file
Binary file not shown.
96
binaries/data/mods/public/art/skeletons/crocodile.xml
Normal file
96
binaries/data/mods/public/art/skeletons/crocodile.xml
Normal 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>
|
BIN
binaries/data/mods/public/art/textures/skins/skeletal/animal_crocodile.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/textures/skins/skeletal/animal_crocodile.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/textures/skins/skeletal/animal_crocodile_norm.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/textures/skins/skeletal/animal_crocodile_norm.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/textures/skins/skeletal/animal_crocodile_spec.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/textures/skins/skeletal/animal_crocodile_spec.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
binaries/data/mods/public/art/textures/ui/session/portraits/gaia/fauna_crocodile.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/textures/ui/session/portraits/gaia/fauna_crocodile.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -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>
|
Loading…
Reference in New Issue
Block a user