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
Organic Shelter Offline
Junior Member

Posts: 22
Threads: 5
Joined: Mar 2018
Reputation: 0
#3
RE: Enemy_Grunt and Enemy_Manpig

(04-08-2018, 04:16 PM)Romulator Wrote: 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).

So that i can make an enemy that has two different states? Like a grunt that walk and crawl?Big Grin
04-09-2018, 02:49 AM
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 Organic Shelter - 04-09-2018, 02:49 AM
RE: Enemy_Grunt and Enemy_Manpig - by Romulator - 04-09-2018, 12:13 PM



Users browsing this thread: 1 Guest(s)