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
Model Editor Help Enemy_Grunt and Enemy_Manpig
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: Enemy_Grunt and Enemy_Manpig

They will both function as enemies as intended by the game - following pathnodes when directed, set active/inactive the same ways, etc. They will also use the same functions for calling out random dialogue if done so in the Model Editor's User Defined Variables.

The main difference between the two is that the Manpig allows for different standing positions. As I recall, the Manpig can be upright (biped) or can be on all fours (quadruped), swapping between the two when invoked by code:

void ChangeManPigPose(string&in asName, string&in asPoseType);

Requires 1.3

Changes the pose a specified ManPig.

asName - Internal name of the enemy
asPoseType- Name of the ManPig pose to use. Can be “Biped” or “Quadruped”

By adjusting values in the Model Editor, I believe you can change the speeds of the Manpig in these states (for example, slower in Biped, faster in Quadruped).

Therefore, you can create an enemy that has two different states; they do not necessarily need to be Bipedal or Quadrupedal, but that will be the code used (unless you create a custom function for them).

Discord: Romulator#0001
[Image: 3f6f01a904.png]
04-08-2018, 04:16 PM
Find


Messages In This Thread
Enemy_Grunt and Enemy_Manpig - by Organic Shelter - 04-08-2018, 02:47 PM
RE: Enemy_Grunt and Enemy_Manpig - by Romulator - 04-08-2018, 04:16 PM
RE: Enemy_Grunt and Enemy_Manpig - by Romulator - 04-09-2018, 12:13 PM



Users browsing this thread: 1 Guest(s)