HomeWildfire Games

Hippopotamus model by @Micket, animations by @Alexandermb, textures by @Stan…

Description

Hippopotamus model by @Micket, animations by @Alexandermb, textures by @Stan based on CC-BY-SA textures, see credits and thread for links.
Fixes: #1969

Comments by: @Nescio, @wowgetoffyourcellphone.

Event Timeline

As posted on the forums, please change template to:

<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_fauna_hunt_aggressive">
  <Armour>
    <Hack>3</Hack>
    <Pierce>4</Pierce>
    <Crush>5</Crush>
  </Armour>
  <Attack>
    <Melee>
      <Damage>
        <Hack>12</Hack>
        <Pierce>12</Pierce>
      </Damage>
      <MaxRange>3</MaxRange>
    </Melee>
  </Attack>
  <Footprint>
    <Square width="2.5" depth="5"/>
    <Height>1.5</Height>
  </Footprint>
  <Health>
    <Max>200</Max>
  </Health>
  <Identity>
    <GenericName>Hippopotamus</GenericName>
    <SpecificName>Hippopotamus amphibius</SpecificName>
    <Icon>gaia/fauna_hippopotamus.png</Icon>
  </Identity>
  <Loot>
    <xp>50</xp>
  </Loot>
  <Position>
    <Anchor>pitch</Anchor>
  </Position>
  <ResourceSupply>
    <Amount>400</Amount>
  </ResourceSupply>
  <Selectable>
    <Overlay>
      <Texture>
        <MainTexture>circle/256x256.png</MainTexture>
        <MainTextureMask>circle/256x256_mask.png</MainTextureMask>
      </Texture>
    </Overlay>
  </Selectable>
  <Sound>
    <SoundGroups>
      <select>actor/fauna/animal/lion_select.xml</select>
      <attack_melee>actor/fauna/animal/lion_attack.xml</attack_melee>
      <death>actor/fauna/animal/lion_death.xml</death>
    </SoundGroups>
  </Sound>
  <VisualActor>
    <Actor>fauna/hippopotamus.xml</Actor>
  </VisualActor>
</Entity>

(That corrects parent and saves unnecessary duplicate lines.)

It's probably none of my business but I notice that at every art commit and I don't want to bother artists with that (as it's not important).
In the art folders there is something like 1600 "UTF-8" vs 9900 "utf-8".
It mostly depends on the author and the editor he used I guess.
That's kinda a friday debate but both choices are ok (the first one is the official one iirc, the second one seems more consistent with everything else here).

ps/trunk/binaries/data/mods/public/art/actors/fauna/hippopotamus.xml
<?xml version="1.0" encoding="UTF-8"?>
ps/trunk/binaries/data/mods/public/art/skeletons/hippopotamus_armature.xml
<?xml version='1.0' encoding='utf-8'?>
Stan added a comment.Apr 26 2020, 8:49 AM

It's probably none of my business but I notice that at every art commit and I don't want to bother artists with that (as it's not important).
In the art folders there is something like 1600 "UTF-8" vs 9900 "utf-8".
It mostly depends on the author and the editor he used I guess.
That's kinda a friday debate but both choices are ok (the first one is the official one iirc, the second one seems more consistent with everything else here).

It annoyed me two for some time, at least now all xml files have headers. The python script I use to generate skeletons seemingly does use utf-8 the actor editor as well. So I guess the UTF-8 using files I edited by hand :S

<?xml version='1.0' encoding='utf-8'?>

Although I know it doesn't really matter, (both have the same function), why the single quotes? The simulation templates have double quotes, as is also recommended by https://trac.wildfiregames.com/wiki/Coding_Conventions#XML