Skip to content

Instantly share code, notes, and snippets.

@laspluviosillas
Created April 18, 2013 14:56
Show Gist options
  • Save laspluviosillas/5413389 to your computer and use it in GitHub Desktop.
Save laspluviosillas/5413389 to your computer and use it in GitHub Desktop.
JSON output from CoH2
{
"GameData": {
"upgrade_ext": {
"must_be_in_supply": false,
"$REF": "ebpextensions\\upgrade_ext.lua",
"standard_upgrades": {},
"number_of_standard_slots": 0.0
},
"modifier_ext": {
"$REF": "ebpextensions\\modifier_ext.lua"
},
"type_ext": {
"unit_type_list": {
"unit_type09": "",
"unit_type07": "",
"unit_type02": "grenadiers",
"unit_type08": "",
"unit_type01": "builder",
"unit_type00": "infantry",
"unit_type03": "infantry_rifle",
"unit_type05": "mp_unit",
"unit_type04": "german_infantry",
"unit_type06": "",
"unit_type10": ""
},
"$REF": "ebpextensions\\type_ext.lua",
"weapon_targeting": "automatic"
},
"hit_object_ext": {
"hit_percentage": 1.0,
"hit_material": "human",
"hit_non_neutral": false,
"$REF": "ebpextensions\\hit_object_ext.lua",
"projectile_pass_through": {
"tp_homing": true,
"tp_artillery": true,
"tp_artillery_inf": false,
"tp_homing_inf": true,
"tp_sticky": true,
"tp_throw": true,
"tp_artillery_overwatch": false
},
"pass_through": false
},
"attention_ext": {
"$REF": "ebpextensions\\attention_ext.lua",
"should_face_target": true
},
"moving_ext": {
"deceleration": -1.0,
"high_path_look_ahead_max_dist": 15.0,
"rotation_rate_crouch": 870.0,
"$REF": "ebpextensions\\moving_ext.lua",
"turn_plan": "human",
"pass_type": "land_only",
"on_ice_accel_decel_multiplier": 0.3,
"acceleration": -1.0,
"rotation_rate_prone": 225.0,
"rotation_rate_stand": 870.0,
"on_ice_overturn_scale": 1.3,
"smooth_path": true,
"rotation_rate": 150.0,
"orient_to_terrain": false,
"on_land_overturn_scale": 0.0,
"speed_max": 3.0
},
"action_apply_ext": {
"$REF": "ebpextensions\\action_apply_ext.lua",
"actions": {
"requirement_action": {
"action_table": {
"apply_modifiers_action": {
"$REF": "action\\apply_modifiers_action.lua",
"modifiers": {
"camouflage_enable": {
"value": 1.0,
"target_type_name": "",
"application_type": "apply_to_entity",
"$REF": "modifiers\\camouflage_enable.lua",
"usage_type": "enable",
"exclusive": false,
"modifier_id": ""
}
},
"duration": 0.0,
"permanent": false
}
},
"instant_requirement_check": false,
"$REF": "action\\requirement_action.lua",
"kill_action_on_failed_requirements": false,
"check_self": false,
"validate_all_sub_actions": true,
"no_retrigger": false,
"global_fire_and_forget_on_success": false,
"requirement_table": {
"required_entity_upgrade": {
"$REF": "requirements\\required_entity_upgrade.lua",
"reason": "usage",
"upgrade_name": "camouflage_net_activated",
"is_present": true
},
"required_in_state": {
"in_combat_since": -1.0,
"injured": false,
"$REF": "requirements\\required_in_state.lua",
"not_retreating": false,
"not_moving": true,
"garrisoned": false,
"reason": "usage",
"healed": false,
"leader": false,
"pinned_or_suppressed": false
}
}
}
}
},
"crushee_ext": {
"$REF": "ebpextensions\\crushee_ext.lua",
"on_crushed_actions": {
"timed_action": {
"fire_and_forget": true,
"$REF": "action\\timed_action.lua",
"subactions": {
"change_move_data_action": {
"deceleration_multiplier": 0.3,
"pathfinding_size_y": 0.0,
"$REF": "action\\change_move_data_action.lua",
"pathfinding_size_x": 0.0,
"acceleration_multiplier": 0.3
},
"apply_modifiers_action": {
"$REF": "action\\apply_modifiers_action.lua",
"modifiers": {
"speed_maximum_modifier": {
"positive_tooltip": null,
"value": 0.3,
"negative_tooltip": null,
"target_type_name": "",
"application_type": "apply_to_entity",
"$REF": "modifiers\\speed_maximum_modifier.lua",
"usage_type": "multiplication",
"exclusive": false,
"modifier_id": ""
}
},
"duration": 1.0,
"permanent": false
}
},
"duration": 1.0
}
}
},
"holdable_ext": {
"$REF": "ebpextensions\\holdable_ext.lua",
"holdable": "hold_infantry"
},
"posture_ext": {
"$REF": "ebpextensions\\posture_ext.lua",
"posture_group": "default_posture_group"
},
"casualty_ext": {
"on_rescue_actions": {},
"permanent_casualty": false,
"casualty_modifiers": {
"sight_radius_modifier": {
"positive_tooltip": null,
"value": 0.05,
"negative_tooltip": null,
"target_type_name": "",
"application_type": "apply_to_entity",
"$REF": "modifiers\\sight_radius_modifier.lua",
"usage_type": "multiplication",
"exclusive": false,
"modifier_id": ""
}
},
"$REF": "ebpextensions\\casualty_ext.lua",
"wounded_ui_time_limit": 0.0,
"splat_seconds_after_death_or_rescue": 60.0,
"maximum_death_time": 40.0,
"minimum_death_time": 30.0,
"splat_radius": 2.0,
"splat_filename": "NM_Stains\\wounded"
},
"sim_entity_ext": {
"rotate_snap": 360.0,
"$REF": "ebpextensions\\sim_entity_ext.lua",
"transferable": 0.0,
"is_in_spatial_bucket": true
},
"entity_blueprint_ext": {
"alternate_sua": "armies\\common\\base\\commonhuman\\commonhuman",
"is_visible_in_game": true,
"$REF": "ebpextensions\\entity_blueprint_ext.lua",
"suaTimeStamp": {
"filename": "Data:Art\\armies\\common\\base\\commonhuman\\commonhuman.sua",
"fileTime": null
},
"simbox": {
"offset": {
"z": 0.0,
"y": 1.0,
"x": 0.0
},
"scale": {
"z": 0.5,
"y": 1.0,
"x": 0.5
}
},
"animator": "armies\\german\\soldiers\\grenadier\\grenadier",
"always_revealed_in_fow": false,
"precise_size": -1.0
},
"team_weapon_user_ext": {
"$REF": "ebpextensions\\team_weapon_user_ext.lua"
},
"cold_system_ext": {
"$REF": "ebpextensions\\cold_system_ext.lua"
},
"line_of_sight_ext": {
"is_shot_blocking": false,
"$REF": "ebpextensions\\line_of_sight_ext.lua",
"use_blocking_box": false,
"blocking_box": {
"z": 0.01,
"y": 0.01,
"x": 0.01
},
"does_block_line_of_sight": "Never",
"reveal_center": true
},
"health_ext": {
"regeneration": 0.0,
"criticals": {
"critical_group": {
"critical_info": {
"info": {
"critical": "soldier_flamethrower_explode",
"weight": 50.0,
"applicable_weapons": {
"explosive": true,
"small_arms": true,
"flame": true,
"ballistic": true
}
}
},
"max_health_percentage": 0.0
}
},
"can_repair": false,
"death_actions": {},
"death_seconds": 30.0,
"reveal_to_all_on_death": false,
"rebuilt_use_wreck_owner": false,
"$REF": "ebpextensions\\health_ext.lua",
"target_size": 1.0,
"rear_damage_enabled": false,
"dies_from_broken_ice": true,
"keep_wreck_ownership": false,
"rebuilt_squad": "",
"armor": 1.5,
"is_salvagable_wreck": false,
"remove_from_pathfinding_on_death": true,
"delete_when_dead": true,
"regeneration_disabled": false,
"weapon_priority": 0.0,
"cuttable": false,
"ui_can_scuttle": false,
"force_attacker_memory": false,
"rebuilt_entity": "",
"is_invincible": false,
"receive_weapon_cover_modifiers": true,
"death_event_name": "Death",
"wreck_entity": "",
"rear_armor": 0.0,
"hitpoints": 80.0
},
"sight_ext": {
"detect_camouflage": {
"tp_mine": 0.0,
"tp_global": 10.0
},
"extended_sight_target_info": {
"$REF": "type_ability_target_type\\all.lua"
},
"$REF": "ebpextensions\\sight_ext.lua",
"extended_sight_radius": 350.0,
"extended_sight": true,
"sight_package": {
"cone_start_radius": 0.0,
"cone_angle": 360.0,
"inner_radius": 1.0,
"outer_radius": 35.0,
"outer_height": -3.0,
"inner_height": 2.5
},
"reveal_area_on_death_time": 1.5
},
"camouflage_ext": {
"camouflage_type": "tp_global",
"detection_radius": 4.0,
"camouflage_actions": {
"requirement_action": {
"action_table": {
"upgrade_remove": {
"$REF": "action\\upgrade_remove.lua",
"apply_to_entities_in_squad": true,
"upgrade": "camouflage_net_activated"
}
},
"instant_requirement_check": false,
"$REF": "action\\requirement_action.lua",
"kill_action_on_failed_requirements": false,
"check_self": false,
"validate_all_sub_actions": true,
"no_retrigger": false,
"global_fire_and_forget_on_success": false,
"requirement_table": {
"required_entity_upgrade": {
"$REF": "requirements\\required_entity_upgrade.lua",
"reason": "usage",
"upgrade_name": "camouflage_net_activated",
"is_present": true
},
"required_not": {
"$REF": "requirements\\required_not.lua",
"reason": "usage",
"requirement_table": {
"required_in_state": {
"in_combat_since": -1.0,
"injured": false,
"$REF": "requirements\\required_in_state.lua",
"not_retreating": false,
"not_moving": true,
"garrisoned": false,
"reason": "usage",
"healed": false,
"leader": false,
"pinned_or_suppressed": false
}
}
}
}
}
},
"first_strike_shots": 1.0,
"$REF": "ebpextensions\\camouflage_ext.lua",
"revert_max": 25.0,
"permanently_activated": false,
"attack_priority": 5.0,
"must_be_fully_constructed": false,
"revert_time": 1.5,
"revert_time_on_detection": 1.0,
"chain_revealer": false,
"revert_multiplier": 2.0,
"combat_reset_time": 5.0,
"first_strike_actions": {
"change_target_action": {
"$REF": "action\\change_target_action.lua",
"actions": {
"requirement_action": {
"action_table": {
"timed_action": {
"fire_and_forget": true,
"$REF": "action\\timed_action.lua",
"subactions": {
"apply_modifiers_action": {
"$REF": "action\\apply_modifiers_action.lua",
"modifiers": {
"damage_weapon_modifier": {
"positive_tooltip": null,
"value": 1.5,
"negative_tooltip": null,
"target_type_name": "hardpoint_01",
"application_type": "apply_to_weapon",
"$REF": "modifiers\\damage_weapon_modifier.lua",
"usage_type": "multiplication",
"exclusive": true,
"modifier_id": "ambush_camou_firststrike"
}
},
"duration": 5.0,
"permanent": false
},
"animator_set_state": {
"apply_to_leader_only": true,
"undo_action_state_name": "off",
"$REF": "action\\animator_set_state.lua",
"retrigger": true,
"do_action_state_name": "on",
"state_machine_name": "ability_attack_buff_state"
},
"delay": {
"delay_min": 0.0,
"delayed_actions": {
"ui_unit_modifier_action": {
"hotkey_name": "",
"$REF": "action\\ui_unit_modifier_action.lua",
"screen_name": null,
"icon_name": "ability_soviet_defensive_weapons",
"help_text": null,
"die_with_creator": false
}
},
"$REF": "action\\delay.lua",
"progress_bar": false,
"delay": 0.125,
"randomize": false
}
},
"duration": 5.0
}
},
"instant_requirement_check": true,
"$REF": "action\\requirement_action.lua",
"kill_action_on_failed_requirements": false,
"check_self": false,
"validate_all_sub_actions": true,
"no_retrigger": false,
"global_fire_and_forget_on_success": false,
"requirement_table": {
"required_slot_item": {
"display_requirement": true,
"$REF": "requirements\\required_slot_item.lua",
"check_item_on_entity": false,
"slot_item": "ambush_camo_slot_item",
"reason": "usage",
"min_owned": 1.0,
"max_owned": 10.0
}
}
}
},
"change_target_type": "squad"
}
}
},
"ui_ext": {
"speech_code_cover": {
"code_1": "",
"code_3": "",
"code_2": ""
},
"hotkey_name": "",
"selection_name": "soldier",
"speech_directory": "Axis\\Generic",
"decorator_offset": 0.3,
"minimap_team_only": false,
"kill_type": "infantry",
"has_speech_code": true,
"minimap_teamcolor": false,
"$REF": "ebpextensions\\ui_ext.lua",
"show_in_build_log": true,
"selection_type": "squad_select",
"minimap_color_r": 255.0,
"ap_killed_kicker": true,
"speaker_alt": {
"code_1": "gre",
"code_3": "",
"code_2": "inf"
},
"ap_loss_kicker": true,
"speaker": {
"code_1": "gr",
"code_3": "",
"code_2": "xs"
},
"portrait_icon_summer": "",
"selection_scale": 1.0,
"portrait_icon_winter": "Icons_demo_demo_grenadier_squad",
"0x87A3807A": "",
"cullsphere_selectable": false,
"speech_code_2": {
"code_1": "gr",
"code_3": "",
"code_2": "in"
},
"icon_name": "unit_german_grenadier",
"minimap_icon": "",
"minimap_color_a": 255.0,
"ui_priority": null,
"obb_selectable": false,
"minimap_icon_scale": 1.0,
"minimap_color_b": 255.0,
"reveal_for_decryption": true,
"0xBB6F3C23": "",
"show_entity_appearance": true,
"ghost_enable": false,
"sloppy_selectable": true,
"minimap_enable": true,
"minimap_color_g": 255.0,
"tacmap_team_only": false,
"speech_code_3": {
"code_1": "gre",
"code_3": "",
"code_2": "inf"
}
},
"modifier_apply_ext": {
"$REF": "ebpextensions\\modifier_apply_ext.lua",
"modifiers": {}
},
"cover_ext": {
"tp_open": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {
"animator_set_action": {
"allies_only": false,
"fire_and_forget": true,
"is_terrain_only": false,
"$REF": "action\\animator_set_action.lua",
"action_name": "UI\\Cover\\Negative_Cover",
"duration": 0.0
}
},
"safety_value": 0.0
},
"tp_z_ice": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {},
"safety_value": 0.0
},
"tp_water": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": true
},
"actions": {
"animator_set_action": {
"allies_only": false,
"fire_and_forget": true,
"is_terrain_only": false,
"$REF": "action\\animator_set_action.lua",
"action_name": "UI\\Cover\\Negative_Cover",
"duration": 0.0
},
"apply_modifiers_action": {
"$REF": "action\\apply_modifiers_action.lua",
"modifiers": {
"posture_speed_modifier": {
"value": -1.0,
"target_type_name": "",
"application_type": "apply_to_entity",
"$REF": "modifiers\\posture_speed_modifier.lua",
"usage_type": "addition",
"exclusive": false,
"modifier_id": ""
}
},
"duration": 0.0,
"permanent": false
}
},
"safety_value": -0.3
},
"tp_zz_mud": {
"speed_multiplier": 0.7,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {
"requirement_action": {
"action_table": {
"upgrade_add": {
"$REF": "action\\upgrade_add.lua",
"apply_to_entities_in_squad": false,
"upgrade": "can_camouflage",
"trigger_publish_event": false
}
},
"instant_requirement_check": true,
"$REF": "action\\requirement_action.lua",
"kill_action_on_failed_requirements": false,
"check_self": false,
"validate_all_sub_actions": true,
"no_retrigger": false,
"global_fire_and_forget_on_success": false,
"requirement_table": {
"required_entity_upgrade": {
"$REF": "requirements\\required_entity_upgrade.lua",
"reason": "usage",
"upgrade_name": "can_camouflage",
"is_present": false
}
}
}
},
"safety_value": -0.5
},
"$REF": "ebpextensions\\cover_ext.lua",
"tp_heavy": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {
"animator_set_action": {
"allies_only": false,
"fire_and_forget": true,
"is_terrain_only": false,
"$REF": "action\\animator_set_action.lua",
"action_name": "UI\\Cover\\Heavy_Cover",
"duration": 0.0
},
"requirement_action": {
"action_table": {
"upgrade_add": {
"$REF": "action\\upgrade_add.lua",
"apply_to_entities_in_squad": false,
"upgrade": "can_camouflage",
"trigger_publish_event": false
}
},
"instant_requirement_check": true,
"$REF": "action\\requirement_action.lua",
"kill_action_on_failed_requirements": false,
"check_self": false,
"validate_all_sub_actions": true,
"no_retrigger": false,
"global_fire_and_forget_on_success": false,
"requirement_table": {
"required_entity_upgrade": {
"$REF": "requirements\\required_entity_upgrade.lua",
"reason": "usage",
"upgrade_name": "can_camouflage",
"is_present": false
}
}
}
},
"safety_value": 0.5
},
"tp_zz_team_weapon_heavy": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {},
"safety_value": -0.5
},
"tp_defcover_narrow": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {},
"safety_value": 0.0
},
"tp_z_snow": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {},
"safety_value": 0.0
},
"tp_light": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {
"animator_set_action": {
"allies_only": false,
"fire_and_forget": true,
"is_terrain_only": false,
"$REF": "action\\animator_set_action.lua",
"action_name": "UI\\Cover\\Light_Cover",
"duration": 0.0
},
"requirement_action": {
"action_table": {
"upgrade_add": {
"$REF": "action\\upgrade_add.lua",
"apply_to_entities_in_squad": false,
"upgrade": "can_camouflage",
"trigger_publish_event": false
}
},
"instant_requirement_check": true,
"$REF": "action\\requirement_action.lua",
"kill_action_on_failed_requirements": false,
"check_self": false,
"validate_all_sub_actions": true,
"no_retrigger": false,
"global_fire_and_forget_on_success": false,
"requirement_table": {
"required_entity_upgrade": {
"$REF": "requirements\\required_entity_upgrade.lua",
"reason": "usage",
"upgrade_name": "can_camouflage",
"is_present": false
}
}
}
},
"safety_value": 0.4
},
"tp_zz_deep_snow": {
"speed_multiplier": 0.45,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {
"requirement_action": {
"action_table": {
"upgrade_add": {
"$REF": "action\\upgrade_add.lua",
"apply_to_entities_in_squad": false,
"upgrade": "can_camouflage",
"trigger_publish_event": false
}
},
"instant_requirement_check": true,
"$REF": "action\\requirement_action.lua",
"kill_action_on_failed_requirements": false,
"check_self": false,
"validate_all_sub_actions": true,
"no_retrigger": false,
"global_fire_and_forget_on_success": false,
"requirement_table": {
"required_entity_upgrade": {
"$REF": "requirements\\required_entity_upgrade.lua",
"reason": "usage",
"upgrade_name": "can_camouflage",
"is_present": false
}
}
}
},
"safety_value": 0.0
},
"tp_defcover": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {},
"safety_value": 0.0
},
"tp_z_bunker": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {},
"safety_value": 0.0
},
"tp_smoke": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {
"animator_set_action": {
"allies_only": false,
"fire_and_forget": true,
"is_terrain_only": false,
"$REF": "action\\animator_set_action.lua",
"action_name": "UI\\Cover\\Negative_Cover",
"duration": 0.0
}
},
"safety_value": 0.0
},
"tp_garrison_halftrack": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {},
"safety_value": 0.0
},
"tp_negative": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {
"animator_set_action": {
"allies_only": false,
"fire_and_forget": true,
"is_terrain_only": false,
"$REF": "action\\animator_set_action.lua",
"action_name": "UI\\Cover\\Negative_Cover",
"duration": 0.0
}
},
"safety_value": -0.3
},
"tp_garrison_cover": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {},
"safety_value": 0.0
},
"tp_z_emplacement": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {},
"safety_value": 0.0
},
"tp_trench": {
"speed_multiplier": 1.0,
"posture": {
"prevent_standing": false,
"prevent_prone": false
},
"actions": {},
"safety_value": 0.0
}
},
"ability_ext": {
"abilities": {
"ability": "grenadier_antitank_rifle_grenade_ability_mp"
},
"$REF": "ebpextensions\\ability_ext.lua"
},
"cost_ext": {
"$REF": "ebpextensions\\cost_ext.lua",
"scavenge_percentage_returns": {
"popcap": 0.0,
"action": 0.0,
"fuel": 0.0,
"command": 0.0,
"munition": 0.0,
"manpower": 0.0
},
"time_cost": {
"time_seconds": 6.0,
"cost": {
"popcap": 0.0,
"action": 0.0,
"fuel": 0.0,
"command": 0.0,
"munition": 0.0,
"manpower": 60.0
}
}
},
"population_ext": {
"medic_pop": 0.0,
"$REF": "ebpextensions\\population_ext.lua",
"personnel_pop": 1.0,
"vehicle_pop": 0.0
},
"combat_ext": {
"sight_hardpoint": null,
"$REF": "ebpextensions\\combat_ext.lua",
"reject_attack_command": false,
"hardpoints": {
"hardpoint": {
"parent_hardpoint": -1.0,
"receives_attack_commands": false,
"weapon_table": {
"weapon": {
"type": "default",
"length": 0.0,
"origin": {
"z": 0.0,
"y": 1.5,
"x": 0.0
},
"weapon": "grenadier_kar_98k_rifle_mp",
"heading": {
"z": 1.0,
"y": 0.0,
"x": 0.0
}
}
}
}
},
"kill_actions": {}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment