Frictional Games Forum (read-only)
How to use "special" pigs? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: How to use "special" pigs? (/thread-24763.html)



How to use "special" pigs? - LordOfDragons - 03-05-2014

Im doing a mod and while working i thought about this:

In amfp, there were special wretches. I mean those who ... are special '-'

Ugh what i mean: How can i place an animated wretch (with sounds?) In a map.
With animated, i mean pigs which are sleeping, playing with blocks or eating.
I think i need to add the sound in by myself...But how?

If i could do that anyhow, that'd be cool.


RE: How to use "special" pigs? - Red - 03-05-2014

I do not know much about this, but i remember there being new commands added with the update, which can animate these "manpigs", i can be wrong though.
The updated command list you can find from the aamfp assests update thread.


RE: How to use "special" pigs? - LordOfDragons - 03-05-2014

(03-05-2014, 09:18 PM)Red Wrote: I do not know much about this, but i remember there being new commands added with the update, which can animate these "manpigs", i can be wrong though.
The updated command list you can find from the aamfp assests update thread.

Oh. I dont know if i can figure out how to use them... pretty new. But i will have a look at patriks thread and test a bit.


RE: How to use "special" pigs? - Mudbill - 03-05-2014

Red is correct, though it doesn't look like the animations include those. This is what it said at the bottom of the thread.

ManPig animations

To be sure the ManPig entity type behaves correctly, the entity should have following animations set in its .ent file:
  • IdleBiped
  • IdleBipedExtra1
  • IdleBipedExtra2
  • WalkBiped
  • RunBiped
  • FleeBiped
  • NoticeBiped
  • ThreatLoopBiped
  • AttackBiped1
  • AttackBiped2
  • AttackBiped3
  • BiteBiped
  • ChargeBiped
  • IdleQuadruped
  • IdleQuadrupedExtra1
  • IdleQuadrupedExtra2
  • WalkQuadruped
  • RunQuadruped
  • FleeQuadruped
  • ThreatLoopQuadruped
  • NoticeQuadruped
  • AttackQuadruped1
  • AttackQuadruped2
  • AttackQuadruped3
  • BiteQuadruped
  • ChargeQuadruped

So yeah, I'm afraid I don't know how to do this. It must be possible though. Perhaps the animation is one of these "Extra" ones, but I get the feeling they are just little variations they do at random.


RE: How to use "special" pigs? - Red - 03-05-2014

Oh, PlayPropAnimation, that could do the thing, try that.


RE: How to use "special" pigs? - LordOfDragons - 03-05-2014

Hm if i can handle this...
The new scripts are... well new to me. I will try.


RE: How to use "special" pigs? - Red - 03-05-2014

Good luck with that, i haven't figured it out yet either.


RE: How to use "special" pigs? - LordOfDragons - 03-05-2014

Mhh... Maybe someone who already did this can help? On the patch thread i dont see anything.