DI-Guy SDK Documentation  13.7
diguy_dis_constants.h File Reference

Go to the source code of this file.

Enumerations

enum  {
  DIGUY_DIS_LIFEFORM_UNUSED = 0, DIGUY_DIS_LIFEFORM_UPRIGHT_STANDING_STILL = 1, DIGUY_DIS_LIFEFORM_UPRIGHT_WALKING = 2, DIGUY_DIS_LIFEFORM_UPRIGHT_RUNNING = 3,
  DIGUY_DIS_LIFEFORM_KNEELING = 4, DIGUY_DIS_LIFEFORM_PRONE = 5, DIGUY_DIS_LIFEFORM_CRAWLING = 6, DIGUY_DIS_LIFEFORM_SWIMMING = 7,
  DIGUY_DIS_LIFEFORM_PARACHUTING = 8, DIGUY_DIS_LIFEFORM_JUMPING = 9, DIGUY_DIS_LIFEFORM_SITTING = 10, DIGUY_DIS_LIFEFORM_SQUATTING = 11,
  DIGUY_DIS_LIFEFORM_CROUCHING = 12, DIGUY_DIS_LIFEFORM_WADING = 13
}
 Lifeform state values from an Entity State PDU. More...
 
enum  { DIGUY_DIS_PRIMARY_WEAPON_NOT_PRESENT = 0, DIGUY_DIS_PRIMARY_WEAPON_STOWED = 1, DIGUY_DIS_PRIMARY_WEAPON_DEPLOYED = 2, DIGUY_DIS_PRIMARY_WEAPON_IN_FIRING_POSITION = 3 }
 Primary weapon position values from an Entity State PDU. More...
 
enum  { DIGUY_DIS_SECONDARY_WEAPON_NOT_PRESENT = 0, DIGUY_DIS_SECONDARY_WEAPON_STOWED = 1, DIGUY_DIS_SECONDARY_WEAPON_DEPLOYED = 2, DIGUY_DIS_SECONDARY_WEAPON_IN_FIRING_POSITION = 3 }
 Secondary weapon position values from an Entity State PDU. More...
 
enum  {
  DIGUY_DIS_DAMAGE_NONE = 0, DIGUY_DIS_DAMAGE_SLIGHT = 1, DIGUY_DIS_DAMAGE_MODERATE = 2, DIGUY_DIS_DAMAGE_DESTROYED = 3,
  DIGUY_DIS_DAMAGE_STATE_COUNT
}
 Damage appearance values from an Entity State PDU. More...
 
enum  { DIGUY_DIS_SMOKE_NOT_SMOKING = 0, DIGUY_DIS_SMOKE_SMOKE_PLUME = 1, DIGUY_DIS_SMOKE_ENGINE_SMOKE = 2, DIGUY_DIS_SMOKE_ENGINE_SMOKE_AND_SMOKE_PLUME = 3 }
 Smoke appearance values from an Entity State PDU. More...
 
enum  { DIGUY_DIS_TRAILING_EFFECT_NONE = 0, DIGUY_DIS_TRAILING_EFFECT_SMALL = 1, DIGUY_DIS_TRAILING_EFFECT_MEDIUM = 2, DIGUY_DIS_TRAILING_EFFECT_LARGE = 3 }
 Trailing effect values from an Entity State PDU. More...
 
enum  { DIGUY_DIS_FLAMES_NONE = 0, DIGUY_DIS_FLAMES_PRESENT = 1 }
 Flames appearance values from an Entity State PDU. More...
 
enum  { DIGUY_DIS_POWER_PLANT_OFF = 0, DIGUY_DIS_POWER_PLANT_ON = 1 }
 Power plant status values from an Entity State PDU. More...
 
enum  { DIGUY_DIS_MISSILE_TRAIL_OFF = 0, DIGUY_DIS_MISSILE_TRAIL_ON = 1 }
 This enumeration lists missile trail status values from an Entity State PDU. More...
 
enum  { DIGUY_DIS_FOCUS_TARGET = 10240 }
 This enumeration lists the Articulated part info for DI-Guy's gazing. More...
 
enum  diguyCustomPDUType {
  DIGUY_CUSTOM_PDU_ID_ESCAPE_RESERVED = 0, DIGUY_CUSTOM_PDU_ID_SET_CHAR_TYPE, DIGUY_CUSTOM_PDU_ID_SET_CHAR_APPEARANCE, DIGUY_CUSTOM_PDU_ID_SET_CHAR_ACTION,
  DIGUY_CUSTOM_PDU_ID_SET_CHAR_VISIBLE, DIGUY_CUSTOM_PDU_ID_SET_CHAR_PAUSED, DIGUY_CUSTOM_PDU_ID_SET_SCENARIO_FRAME = 6, DIGUY_CUSTOM_PDU_ID_SET_SCENARIO_PLAYBACK_MODE,
  DIGUY_CUSTOM_PDU_ID_LOAD_SCENARIO_CAMERA, DIGUY_CUSTOM_PDU_ID_RESET, DIGUY_CUSTOM_PDU_ID_HAIL, DIGUY_CUSTOM_PDU_ID_LOAD_SCENARIO_FILE,
  DIGUY_CUSTOM_PDU_ID_SET_CAMERA_DETAILS, DIGUY_CUSTOM_PDU_ID_XC_LOAD_SCENARIO = 13, DIGUY_CUSTOM_PDU_ID_XC_LOAD_SCENARIO_COMPLETE, DIGUY_CUSTOM_PDU_ID_XC_MERGE_SCENARIO,
  DIGUY_CUSTOM_PDU_ID_XC_MERGE_SCENARIO_COMPLETE, DIGUY_CUSTOM_PDU_ID_XC_SET_TIN_TOD, DIGUY_CUSTOM_PDU_ID_XC_TIME_NOW, DIGUY_CUSTOM_PDU_ID_XC_CONTROL,
  DIGUY_CUSTOM_PDU_ID_XC_TRIGGER_SCRIPT, DIGUY_CUSTOM_PDU_ID_XC_EVAL_SCRIPT, DIGUY_CUSTOM_PDU_ID_XC_SET_FF_SPEED, DIGUY_CUSTOM_PDU_ID_XC_TRIGGER_SIGNAL,
  DIGUY_CUSTOM_PDU_ID_XC_RESET_SCENARIO, DIGUY_CUSTOM_PDU_ID_XC_ENTER_SLAVE_MODE, DIGUY_CUSTOM_PDU_ID_XC_EXIT_SLAVE_MODE, DIGUY_CUSTOM_PDU_ID_VARIABLE_STATE,
  DIGUY_CUSTOM_PDU_ID_SAVE_SCENARIO, DIGUY_CUSTOM_PDU_ID_SAVE_SCENARIO_COMPLETE, DIGUY_CUSTOM_PDU_ID_AI_SEND_MESSAGE_TO_CHARACTER, DIGUY_CUSTOM_PDU_ID_AI_SEND_MESSAGE_TO_GROUP,
  DIGUY_CUSTOM_PDU_ID_AI_BROADCAST_MESSAGE, DIGUY_CUSTOM_PDU_ID_AI_BROADCAST_MESSAGE_TO_GROUP, DIGUY_CUSTOM_PDU_ID_BEGIN_APPEARANCE_EFFECT, DIGUY_CUSTOM_PDU_ID_END_APPEARANCE_EFFECT,
  DIGUY_CUSTOM_PDU_ID_STOP_APPEARANCE_EFFECT, DIGUY_CUSTOM_PDU_ID_SET_SCENE_OBJECT_BIT, DIGUY_CUSTOM_PDU_ID_BROADCAST_EXERCISE_DATETIME, DIGUY_CUSTOM_PDU_ID_REQUEST_EXERCISE_DATETIME_BROADCAST,
  DIGUY_CUSTOM_PDU_ID_SET_SHAPE_VARIATION, DIGUY_CUSTOM_PDU_ID_EXECUTE_GESTURE, DIGUY_CUSTOM_PDU_ID_CHARACTER_SCALE, DIGUY_CUSTOM_PDU_ID_SET_SHAPE_VARIATION_2,
  DIGUY_CUSTOM_PDU_ID_END_GESTURE, DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED0, DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED1, DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED2,
  DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED3, DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED4, DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED5, DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED6,
  DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED7, DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED8, DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED9, DIGUY_CUSTOM_PDU_ID_COUNT
}
 This enumeration lists the message IDs for DI-Guy's custom pdus, not all are usable outside of diguyscenario. More...
 

Variables

comment line count365comment line count366comment line count367
 
const int DIGUY_CUSTOM_PDU_ID_SET_SHAPE_VARIATION_VERSION = 1
 

Enumeration Type Documentation

anonymous enum

Lifeform state values from an Entity State PDU.

Enumerator
DIGUY_DIS_LIFEFORM_UNUSED 
DIGUY_DIS_LIFEFORM_UPRIGHT_STANDING_STILL 
DIGUY_DIS_LIFEFORM_UPRIGHT_WALKING 
DIGUY_DIS_LIFEFORM_UPRIGHT_RUNNING 
DIGUY_DIS_LIFEFORM_KNEELING 
DIGUY_DIS_LIFEFORM_PRONE 
DIGUY_DIS_LIFEFORM_CRAWLING 
DIGUY_DIS_LIFEFORM_SWIMMING 
DIGUY_DIS_LIFEFORM_PARACHUTING 
DIGUY_DIS_LIFEFORM_JUMPING 
DIGUY_DIS_LIFEFORM_SITTING 
DIGUY_DIS_LIFEFORM_SQUATTING 
DIGUY_DIS_LIFEFORM_CROUCHING 
DIGUY_DIS_LIFEFORM_WADING 
anonymous enum

Primary weapon position values from an Entity State PDU.

Enumerator
DIGUY_DIS_PRIMARY_WEAPON_NOT_PRESENT 
DIGUY_DIS_PRIMARY_WEAPON_STOWED 
DIGUY_DIS_PRIMARY_WEAPON_DEPLOYED 
DIGUY_DIS_PRIMARY_WEAPON_IN_FIRING_POSITION 
anonymous enum

Secondary weapon position values from an Entity State PDU.

Enumerator
DIGUY_DIS_SECONDARY_WEAPON_NOT_PRESENT 
DIGUY_DIS_SECONDARY_WEAPON_STOWED 
DIGUY_DIS_SECONDARY_WEAPON_DEPLOYED 
DIGUY_DIS_SECONDARY_WEAPON_IN_FIRING_POSITION 
anonymous enum

Damage appearance values from an Entity State PDU.

Enumerator
DIGUY_DIS_DAMAGE_NONE 
DIGUY_DIS_DAMAGE_SLIGHT 
DIGUY_DIS_DAMAGE_MODERATE 
DIGUY_DIS_DAMAGE_DESTROYED 
DIGUY_DIS_DAMAGE_STATE_COUNT 
anonymous enum

Smoke appearance values from an Entity State PDU.

Enumerator
DIGUY_DIS_SMOKE_NOT_SMOKING 
DIGUY_DIS_SMOKE_SMOKE_PLUME 
DIGUY_DIS_SMOKE_ENGINE_SMOKE 
DIGUY_DIS_SMOKE_ENGINE_SMOKE_AND_SMOKE_PLUME 
anonymous enum

Trailing effect values from an Entity State PDU.

Enumerator
DIGUY_DIS_TRAILING_EFFECT_NONE 
DIGUY_DIS_TRAILING_EFFECT_SMALL 
DIGUY_DIS_TRAILING_EFFECT_MEDIUM 
DIGUY_DIS_TRAILING_EFFECT_LARGE 
anonymous enum

Flames appearance values from an Entity State PDU.

Enumerator
DIGUY_DIS_FLAMES_NONE 
DIGUY_DIS_FLAMES_PRESENT 
anonymous enum

Power plant status values from an Entity State PDU.

Enumerator
DIGUY_DIS_POWER_PLANT_OFF 
DIGUY_DIS_POWER_PLANT_ON 
anonymous enum

This enumeration lists missile trail status values from an Entity State PDU.

Enumerator
DIGUY_DIS_MISSILE_TRAIL_OFF 
DIGUY_DIS_MISSILE_TRAIL_ON 
anonymous enum

This enumeration lists the Articulated part info for DI-Guy's gazing.

Enumerator
DIGUY_DIS_FOCUS_TARGET 

This enumeration lists the message IDs for DI-Guy's custom pdus, not all are usable outside of diguyscenario.

DIGUY_CUSTOM_PDU_ID_SET_CHAR_TYPE

DIGUY_CUSTOM_PDU_ID_SET_CHAR_APPEARANCE

  • Contents: String A, String B, String C, Float D
  • Meaning: Set the character appearance to A. If strings B and C are present (either both or neither), they set the head appearance (B) and hand item appearance (C). The final float (D) is not optional (and is expected, even if B and C are not given), sets the body weight ratio (valid range 0.5 - 2.0, defaults to 1.0).

DIGUY_CUSTOM_PDU_ID_SET_CHAR_ACTION

  • Contents: String A, String B, [Float C, Bool D, Float E_x, Float E_y, Float E_z]
  • Meaning: Set the character action to A, the second string is either "p" or "" (the empty string). A value of "p" for the second string indicates that the action is paused. Characters are typically paused if the sending application such as DI-Guy Scenario has been playing and the user hits "pause" on the VCR control. The remaining arguments are optional. Float C represents the speed modifier that force action was called with. Bool D indicates whether the transition uses motion offsets to reposition the character. Floats E_x, E_y, and E_z are an adjustment vector that can be used to slide the character into position during the transition.

DIGUY_CUSTOM_PDU_ID_SET_CHAR_VISIBLE

  • Contents: Long Boolean

DIGUY_CUSTOM_PDU_ID_SET_SCENARIO_FRAME

  • Contents: Long val
  • Meaning: call diguyScenario::set_frame_desired(val)

DIGUY_CUSTOM_PDU_ID_SET_SCENARIO_PLAYBACK_MODE

  • Contents: Long val
  • Meaning: call diguyScenario::set_playback_mode(val)

DIGUY_CUSTOM_PDU_ID_LOAD_SCENARIO_CAMERA

DIGUY_CUSTOM_PDU_ID_RESET

DIGUY_CUSTOM_PDU_ID_HAIL

DIGUY_CUSTOM_PDU_ID_LOAD_SCENARIO_FILE

  • Contents: string
  • Meaning: call diguyScenario::load(string)

DIGUY_CUSTOM_PDU_ID_SET_CAMERA_DETAILS

  Internal Use only

DIGUY_CUSTOM_PDU_ID_XC_LOAD_SCENARIO

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • String => Filename
    • String => Reference name

DIGUY_CUSTOM_PDU_ID_XC_LOAD_SCENARIO_COMPLETE

  • Contents: string
  • Meaning: Indicates scenario has finished loading

DIGUY_CUSTOM_PDU_ID_XC_MERGE_SCENARIO

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • NetFlt32 => Time of Day
    • NetFlt32[3] => Refx, Refy, Refz
    • NetFlt32[3] => x, y, z
    • NetFlt32[3] => w,r,p
    • String => Filename
    • String => Reference name

DIGUY_CUSTOM_PDU_ID_XC_MERGE_SCENARIO_COMPLETE

  • Contents: string
  • Meaning: Indicates scenario has finished loading

DIGUY_CUSTOM_PDU_ID_XC_SET_TIN_TOD

DIGUY_CUSTOM_PDU_ID_XC_TIME_NOW

  • Contents:
    • NetFlt32 => seconds since midnight
    • NetFlt32 => seconds to smooth
  • Meaning: call diguyScenario::set_sync_info()

DIGUY_CUSTOM_PDU_ID_XC_CONTROL

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • String => Command ("RUN", "STOP", "RESET", "FF", "REWIND")

DIGUY_CUSTOM_PDU_ID_XC_TRIGGER_SCRIPT

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • String Script name

DIGUY_CUSTOM_PDU_ID_XC_EVAL_SCRIPT

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • String => Script text

DIGUY_CUSTOM_PDU_ID_XC_SET_FF_SPEED

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • NetFlt32 => Speed multiple

DIGUY_CUSTOM_PDU_ID_XC_TRIGGER_SIGNAL

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • String => Signal to trigger

DIGUY_CUSTOM_PDU_ID_XC_RESET_SCENARIO

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host

DIGUY_CUSTOM_PDU_ID_XC_ENTER_SLAVE_MODE

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host

DIGUY_CUSTOM_PDU_ID_XC_EXIT_SLAVE_MODE

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host

DIGUY_CUSTOM_PDU_ID_VARIABLE_STATE

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • String => variable
    • String => value

DIGUY_CUSTOM_PDU_ID_SAVE_SCENARIO

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • NetU16 => use_user_name
    • String => file name

DIGUY_CUSTOM_PDU_ID_SAVE_SCENARIO_COMPLETE

  • Contents:
    • String => file name

DIGUY_CUSTOM_PDU_ID_AI_SEND_MESSAGE_TO_CHARACTER

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • NetU16 => target AI network number
    • String => sender
    • String => message_type
    • String => message
    • String => message_params
  • Meaning: call
    1 diguyCharacter::agent_accept_message(sender,
    2  message_type,
    3  message,
    4  message_params);
    on character with diguyCharacter::get_network_entity_number() == target AI network number

DIGUY_CUSTOM_PDU_ID_AI_SEND_MESSAGE_TO_GROUP

  • Contents:
    • String => group_name
    • String => sender
    • String => message_type
    • String => message
    • String => message_params
  • Meaning: call
    1 diguyCharacterGroup::send_message_to_all_members(sender,
    2  message_type,
    3  message,
    4  message_params);

DIGUY_CUSTOM_PDU_ID_AI_BROADCAST_MESSAGE

  • Contents:
    • String => sender
    • NetFlt32 => radius
    • String => message_type
    • String => message
    • String => message_params
  • Meaning: call
    1 diguyCharacter::agent_broadcast_message(sender,
    2  radius,
    3  message_type,
    4  message,
    5  message_params);
    Where character is the sender of message.

DIGUY_CUSTOM_PDU_ID_AI_BROADCAST_MESSAGE_TO_GROUP

  • Contents:
    • String => sender
    • String => group_name
    • NetFlt32 => radius
    • String => message_type
    • String => message
    • String => message_params
  • Meaning: call
    1 diguyCharacter::agent_broadcast_message_to_group(group_name,
    2  radius,
    3  message_type,
    4  message,
    5  message_params);
    Where character is the sender of message.

DIGUY_CUSTOM_PDU_ID_BEGIN_APPEARANCE_EFFECT

  • Contents:
    • String => appearance effect
    • bool => flag if theres extended data
  • Optional extended data:
    • NetFlt32 => override scale
    • NetFlt32[3] => override_offset x, y, z
    • NetFlt32 => override duration
  • Meaning: call
    1 diguyCharacter::begin_appearance_effect(app_name, link_name, override_scale,
    2  override_offset_x, override_offset_y, override_offset_z,
    3  override_duration,
    or
    1 diguyCharacter::begin_appearance_effect(app_name);

DIGUY_CUSTOM_PDU_ID_END_APPEARANCE_EFFECT ( Gradual Stop )

  • Contents:
  • String => appearance_effect_name
    • String => link_name
  • Meaning: call
    1 diguyCharacter::end_appearance_effect(appearance_effect_name,link_name)

DIGUY_CUSTOM_PDU_ID_STOP_APPEARANCE_EFFECT ( Instant Stop )

  • Contents:
  • String => appearance_effect_name
    • String => link_name
  • Meaning: call
    1 diguyCharacter::stop_appearance_effect(appearance_effect_name, link_name)

DIGUY_CUSTOM_PDU_ID_SET_SCENE_OBJECT_BIT

  • Contents:
  • bool => true false
  • Meaning: call
    1 diguyCharacter::set_is_scene_object(value)

DIGUY_CUSTOM_PDU_ID_BROADCAST_EXERCISE_DATETIME

internal use only

  • Contents:
    • NetU16 => Target_site
    • NetU16 => Target_host
    • NetU16[7] => year, month, day, hour, minute, second, msec
  • Meaning: call bdiScenario::set_network_datetime(network_datetime);

DIGUY_CUSTOM_PDU_ID_REQUEST_EXERCISE_DATETIME_BROADCAST

Unused

DIGUY_CUSTOM_PDU_ID_SET_SHAPE_VARIATION_2

  • Contents:
  • complicated: a series of NetU16 ( link index ), NetU16 (shape index ) followed by a slightly compressed chunk of pixel data. should probably only happen once per character, DI-Guy 13 adds a force update and a version number to this PDU.
1 int offset = 0;
2 short version = 0;
3 pdu->pullShort(version, offset);
4 
5 if(version != DIGUY_CUSTOM_PDU_ID_SET_SHAPE_VARIATION_VERSION){
6  return;
7 }
8 bool force = 0;
9 pdu->pullBool(force, offset);
10 if(character->get_has_texture_variations() && !force ){
11  return;
12 }
13 character->set_shape_texture_variations_no_effect(1);
14 
15 short link_index = 0;
16 while ( pdu->pullShort(link_index,offset) )
17 {
18  short shape_index = 0;
19  pdu->pullShort(shape_index, offset);
20 
21  bdiLink * link = character->get_link_at_index(link_index);
22  if(link)
23  {
24  bdiShape * shape = link->get_shape(shape_index);
25  if(!shape )
26  {
27  // we're done here character's don't match
28  break;
29  }
30  const unsigned char * data_blob = NULL;
31  int bytes_read;
32  if ( pdu->pullUnsignedData(data_blob, offset, bytes_read) )
33  {
34  // note pull the data first ignore if variation is already set.
35  if(!shape->get_has_custom_variation() || force)
36  {
37  // special value to register that rampdata is loaded off network
38  shape->set_variation_index(-2);
39 
40  unsigned char * data_blob_copy = shape->get_unique_ramp_data();
41  int new_data = 0;
42  if(!data_blob_copy){
43  new_data = 1;
44  data_blob_copy = new unsigned char [ shape->get_unique_ramp_data_size()*4 ];
45  }
46  // fill out the 0th index with nothing (that
47  data_blob_copy[0] = 128;
48  data_blob_copy[1] = 128;
49  data_blob_copy[2] = 128;
50  data_blob_copy[3] = 255;
51 
52  int q;
53  for(q = 0; q < bytes_read/3; q++)
54  {
55  data_blob_copy[(q+1)*4+3] = 255;;
56  }
57  // fill the rest of the buffer with padding
58  for( ; q < shape->get_unique_ramp_data_size()-1; q++)
59  {
60  data_blob_copy[(q+1)*4] = 128;
61  data_blob_copy[(q+1)*4+1] = 128;
62  data_blob_copy[(q+1)*4+2] = 128;
63  data_blob_copy[(q+1)*4+3] = 255;
64  }
65  if(new_data){
66  shape->set_unique_ramp_data(data_blob_copy);
67  }
68  else{
69  shape->update_variation_texture();
70  }
71  }
72  }
73  }
74 }

DIGUY_CUSTOM_PDU_ID_EXECUTE_GESTURE

  • Contents:
    • String => gesture_name
    • Long => reps
    • NetFlt32 => overall_duration
    • NetFlt32 => channel_A_weight
  • Meaning: call diguyCharacter::execute_gesture(gesture_name,reps, overall_duration, channel_A_weight);

DIGUY_CUSTOM_PDU_ID_CHARACTER_SCALE

  • Contents:
    • NetFlt32[3] => scale x,y,z
    • NetFlt32 => body_weight (optional added in 13.2)
  • Meaning: call diguyCharacter::set_scale(x,y,z); if body_weight was found in pdu call diguyCharacter::set_weight_scale(body_weight);

DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED0 DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED9

Enumerator
DIGUY_CUSTOM_PDU_ID_ESCAPE_RESERVED 
DIGUY_CUSTOM_PDU_ID_SET_CHAR_TYPE 
DIGUY_CUSTOM_PDU_ID_SET_CHAR_APPEARANCE 
DIGUY_CUSTOM_PDU_ID_SET_CHAR_ACTION 
DIGUY_CUSTOM_PDU_ID_SET_CHAR_VISIBLE 
DIGUY_CUSTOM_PDU_ID_SET_CHAR_PAUSED 
DIGUY_CUSTOM_PDU_ID_SET_SCENARIO_FRAME 
DIGUY_CUSTOM_PDU_ID_SET_SCENARIO_PLAYBACK_MODE 
DIGUY_CUSTOM_PDU_ID_LOAD_SCENARIO_CAMERA 
DIGUY_CUSTOM_PDU_ID_RESET 
DIGUY_CUSTOM_PDU_ID_HAIL 
DIGUY_CUSTOM_PDU_ID_LOAD_SCENARIO_FILE 
DIGUY_CUSTOM_PDU_ID_SET_CAMERA_DETAILS 
DIGUY_CUSTOM_PDU_ID_XC_LOAD_SCENARIO 
DIGUY_CUSTOM_PDU_ID_XC_LOAD_SCENARIO_COMPLETE 
DIGUY_CUSTOM_PDU_ID_XC_MERGE_SCENARIO 
DIGUY_CUSTOM_PDU_ID_XC_MERGE_SCENARIO_COMPLETE 
DIGUY_CUSTOM_PDU_ID_XC_SET_TIN_TOD 
DIGUY_CUSTOM_PDU_ID_XC_TIME_NOW 
DIGUY_CUSTOM_PDU_ID_XC_CONTROL 
DIGUY_CUSTOM_PDU_ID_XC_TRIGGER_SCRIPT 
DIGUY_CUSTOM_PDU_ID_XC_EVAL_SCRIPT 
DIGUY_CUSTOM_PDU_ID_XC_SET_FF_SPEED 
DIGUY_CUSTOM_PDU_ID_XC_TRIGGER_SIGNAL 
DIGUY_CUSTOM_PDU_ID_XC_RESET_SCENARIO 
DIGUY_CUSTOM_PDU_ID_XC_ENTER_SLAVE_MODE 
DIGUY_CUSTOM_PDU_ID_XC_EXIT_SLAVE_MODE 
DIGUY_CUSTOM_PDU_ID_VARIABLE_STATE 
DIGUY_CUSTOM_PDU_ID_SAVE_SCENARIO 
DIGUY_CUSTOM_PDU_ID_SAVE_SCENARIO_COMPLETE 
DIGUY_CUSTOM_PDU_ID_AI_SEND_MESSAGE_TO_CHARACTER 
DIGUY_CUSTOM_PDU_ID_AI_SEND_MESSAGE_TO_GROUP 
DIGUY_CUSTOM_PDU_ID_AI_BROADCAST_MESSAGE 
DIGUY_CUSTOM_PDU_ID_AI_BROADCAST_MESSAGE_TO_GROUP 
DIGUY_CUSTOM_PDU_ID_BEGIN_APPEARANCE_EFFECT 
DIGUY_CUSTOM_PDU_ID_END_APPEARANCE_EFFECT 
DIGUY_CUSTOM_PDU_ID_STOP_APPEARANCE_EFFECT 
DIGUY_CUSTOM_PDU_ID_SET_SCENE_OBJECT_BIT 
DIGUY_CUSTOM_PDU_ID_BROADCAST_EXERCISE_DATETIME 
DIGUY_CUSTOM_PDU_ID_REQUEST_EXERCISE_DATETIME_BROADCAST 
DIGUY_CUSTOM_PDU_ID_SET_SHAPE_VARIATION 
DIGUY_CUSTOM_PDU_ID_EXECUTE_GESTURE 
DIGUY_CUSTOM_PDU_ID_CHARACTER_SCALE 
DIGUY_CUSTOM_PDU_ID_SET_SHAPE_VARIATION_2 
DIGUY_CUSTOM_PDU_ID_END_GESTURE 
DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED0 
DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED1 
DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED2 
DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED3 
DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED4 
DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED5 
DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED6 
DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED7 
DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED8 
DIGUY_CUSTOM_PDU_ID_PLUGIN_RESERVED9 
DIGUY_CUSTOM_PDU_ID_COUNT 

Variable Documentation

comment line count365comment line count366comment line count367
const int DIGUY_CUSTOM_PDU_ID_SET_SHAPE_VARIATION_VERSION = 1