Skip to content

Example 0x10 : NPC

iamkisly edited this page Nov 27, 2016 · 1 revision

017087 - NPC.pro

77 00 00 00 | OBJ_HEADER
FF FF 00 00 | OBJ_TYPE -> PROTOTYPE
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | NULL
01 00 00 00 B2 58 BA 00 BF 42 00 00 02 00 00 00 AA 58 BA 00 7F 92 71 C1 | GUID -> PROTO_ID
10 00 00 00 | TYPE
11 60 E0 38 03 00 00 00 04 2E 40 00 00 00 00 00 64 B0 11 00 | FLAGS

00 20 00 28 | obj_f_current_aid
00 | obj_f_location
00 00 00 00 | obj_f_offset_x
00 00 00 00 | obj_f_offset_y
01 00 30 90 | obj_f_shadow

01 ? obj_f_overlay_fore
04 00 00 00 07 00 00 00 04 00 00 00 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
02 00 00 00 7F 00 00 00 00 00 00 00 

01 ? obj_f_overlay_back
04 00 00 00 07 00 00 00 03 00 00 00 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
02 00 00 00 7F 00 00 00 00 00 00 00 

01 ? obj_f_underlay
04 00 00 00 04 00 00 00 01 00 00 00 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
02 00 00 00 0F 00 00 00 00 00 00 00 

00 00 00 00 | obj_f_blit_flags
FF FF FF 00 | obj_f_blit_color
FF 00 00 00 | obj_f_blit_alpha
64 00 00 00 | obj_f_blit_scale
00 00 00 00 | obj_f_light_flags
FF FF FF FF | obj_f_light_aid
00 00 00 00 | obj_f_light_color

00 ? obj_f_overlay_light_flags

01 ? obj_f_overlay_light_aid
04 00 00 00 04 00 00 00 07 00 00 00 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
02 00 00 00 0F 00 00 00 00 00 00 00 

00 ? obj_f_overlay_light_color

30 40 00 00 | obj_f_flags
00 00 00 00 | obj_f_spell_flags
00 00 00 00 | obj_f_blocking_mask 
00 19 00 00 | obj_f_name
AB 42 00 00 | obj_f_description
00 20 00 28 | obj_f_aid
FF FF FF FF | obj_f_destroyed_aid
00 00 00 00 | obj_f_AC
00 00 00 00 | obj_f_hp_pts
FE FF FF FF | obj_f_hp_adj
00 00 00 00 | obj_f_hp_damage
04 00 00 00 | obj_f_material
00 | obj_f_resistance_idx
00 | obj_f_scripts_idx
14 00 00 00 | obj_f_sound_effect
01 00 00 00 | obj_f_category
00 | obj_f_pad_ias_1
00 | obj_f_pad_i64as_1

00 00 00 00 | obj_f_critter_flags
00 00 00 00 | obj_f_critter_flags2

01 | obj_f_critter_stat_base_idx
04 00 00 00 1C 00 00 00 00 00 00 00 
08 00 00 00 14 00 00 00 08 00 00 00 08 00 00 00 08 00 00 00 08 00 00 00 08 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 64 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14 00 00 00 01 00 00 00 00 00 00 00 
02 00 00 00 FF FF FF 0F 00 00 00 00 

01 | obj_f_critter_basic_skill_idx
04 00 00 00 0C 00 00 00 06 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
02 00 00 00 FF 0F 00 00 00 00 00 00 

01 | obj_f_critter_tech_skill_idx
04 00 00 00 04 00 00 00 02 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
02 00 00 00 0F 00 00 00 00 00 00 00 

01 | obj_f_critter_spell_tech_idx
04 00 00 00 19 00 00 00 05 00 00 00 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
02 00 00 00 FF FF FF 01 00 00 00 00 

00 00 00 00 | obj_f_critter_fatigue_pts
00 00 00 00 | obj_f_critter_fatigue_adj
00 00 00 00 | obj_f_critter_fatigue_damage
00 00 00 00 | obj_f_critter_crit_hit_chart
01 | obj_f_critter_effects_idx
04 00 00 00 02 00 00 00 01 00 00 00 
40 00 00 00 4B 00 00 00 
02 00 00 00 03 00 00 00 00 00 00 00 
01 | obj_f_critter_effect_cause_idx
04 00 00 00 02 00 00 00 03 00 00 00 
00 00 00 00 02 00 00 00 
02 00 00 00 03 00 00 00 00 00 00 00 
00 | obj_f_critter_fleeing_from
F0 03 00 00 | obj_f_critter_portrait
00 | obj_f_critter_gold
00 | obj_f_critter_arrows
00 | obj_f_critter_bullets
00 | obj_f_critter_power_cells
00 | obj_f_critter_fuel
00 00 00 00 | obj_f_critter_inventory_num
00 | obj_f_critter_inventory_list_idx
00 00 00 00 | obj_f_critter_inventory_source
AB 42 00 00 | obj_f_critter_description_unknown
00 | obj_f_critter_follower_idx
00 | obj_f_critter_teleport_dest

00 00 00 00 | obj_f_critter_teleport_map
00 00 00 00 | obj_f_critter_death_time
00 00 00 00 | obj_f_critter_auto_level_scheme

00 00 00 00 | obj_f_critter_pad_i_1
00 00 00 00 | obj_f_critter_pad_i_2
00 00 00 00 | obj_f_critter_pad_i_3
00 | obj_f_critter_pad_ias_1
00 | obj_f_critter_pad_i64as_1

00 00 00 00 | obj_f_pc_flags
00 | obj_f_npc_leader
00 00 00 00 | obj_f_npc_ai_data
00 | obj_f_npc_combat_focus
00 | obj_f_npc_who_hit_me_last
A0 00 00 00 | obj_f_npc_experience_worth
A0 00 00 00 | obj_f_npc_experience_pool
00 | obj_f_npc_waypoints_idx
00 00 00 00 | obj_f_npc_waypoint_current
00 | obj_f_npc_standpoint_day
00 | obj_f_npc_standpoint_night
00 00 00 00 | obj_f_npc_origin
00 00 00 00 | obj_f_npc_faction
2C 01 00 00 | obj_f_npc_retail_price_multiplier
00 | obj_f_npc_substitute_inventory
32 00 00 00 | obj_f_npc_reaction_base
00 00 00 00 | obj_f_npc_social_class
00 | obj_f_npc_reaction_pc_idx
00 | obj_f_npc_reaction_level_idx
00 | obj_f_npc_reaction_time_idx
02 00 00 00 | obj_f_npc_wait
00 00 00 00 | obj_f_npc_generator_data
00 00 00 00 | obj_f_npc_pad_i_1
00 | obj_f_npc_damage_idx
00 | obj_f_npc_shit_list_idx