0% found this document useful (0 votes)
30 views6 pages

Neues Textdokument

This document describes an entity made up of several components. The entity represents an item that uses sprites to display images of an unidentified item, background, and timer. It can be picked up and has a script to run an effect when picked up. It is given physics properties like gravity and velocity to move and interact in the world.

Uploaded by

korupt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views6 pages

Neues Textdokument

This document describes an entity made up of several components. The entity represents an item that uses sprites to display images of an unidentified item, background, and timer. It can be picked up and has a script to run an effect when picked up. It is given physics properties like gravity and velocity to move and interact in the world.

Uploaded by

korupt
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

<Entity

_version="1"
name=""
serialize="1"
tags="card_action" >

<_Transform
position.x="-336.909"
position.y="1370"
rotation="0"
scale.x="1"
scale.y="1" >

</_Transform>

<HitboxComponent
_enabled="0"
_tags="enabled_in_world"
aabb_max_x="4"
aabb_max_y="3"
aabb_min_x="-4"
aabb_min_y="-3"
damage_multiplier="1"
is_enemy="1"
is_item="0"
is_player="0"
offset.x="0"
offset.y="0" >

</HitboxComponent>

<ItemActionComponent
_enabled="0"
_tags="enabled_in_world"
action_id="LASER_LUMINOUS_DRILL" >

</ItemActionComponent>

<ItemComponent
_enabled="0"
_tags="enabled_in_world"
always_use_item_name_in_ui="0"
auto_pickup="0"
camera_max_distance="50"
camera_smooth_speed_multiplier="1"
collect_nondefault_actions="0"
custom_pickup_string=""
drinkable="1"
enable_orb_hacks="0"
has_been_picked_by_player="1"
inventory_slot.x="2"
inventory_slot.y="0"
is_all_spells_book="0"
is_consumable="0"
is_equipable_forced="0"
is_frozen="0"
is_hittable_always="0"
is_identified="0"
is_pickable="1"
is_stackable="0"
item_name=""
item_pickup_radius="14.1"
mFramePickedUp="10933"
max_child_items="0"
next_frame_pickable="12503"
npc_next_frame_pickable="0"
permanently_attached="0"
play_hover_animation="0"
play_pick_sound="1"
play_spinning_animation="0"
preferred_inventory="FULL"
remove_default_child_actions_on_death="0"
remove_on_death="0"
remove_on_death_if_empty="0"
spawn_pos.x="-336.909"
spawn_pos.y="1370"
stats_count_as_item_pick_up="1"
ui_description=""
ui_display_description_on_pick_up_hint="0"
ui_sprite=""
uses_remaining="-1" >

</ItemComponent>

<LuaComponent
_enabled="0"
call_init_function="0"
enable_coroutines="0"
execute_every_n_frame="1"
execute_on_added="0"
execute_on_removed="0"
execute_times="0"
mLastExecutionFrame="10933"
mModAppendsDone="0"
remove_after_executed="0"
script_audio_event_dead=""
script_collision_trigger_hit=""
script_collision_trigger_timer_finished=""
script_damage_about_to_be_received=""
script_damage_received=""
script_death=""
script_electricity_receiver_electrified=""
script_electricity_receiver_switched=""
script_enabled_changed=""
script_inhaled_material=""
script_interacting=""
script_item_picked_up="data/scripts/items/shop_effect.lua"
script_kick=""
script_material_area_checker_failed=""
script_material_area_checker_success=""
script_physics_body_modified=""
script_polymorphing_to=""
script_portal_teleport_used=""
script_pressure_plate_change=""
script_shot=""
script_source_file=""
script_teleported=""
script_throw_item=""
script_wand_fired=""
vm_type="SHARED_BY_MANY_COMPONENTS" >

</LuaComponent>

<SimplePhysicsComponent
_enabled="0"
_tags="enabled_in_world"
can_go_up="1" >

</SimplePhysicsComponent>

<SpriteComponent
_enabled="0"
_tags="item_identified,enabled_in_world"
additive="0"
alpha="1"
emissive="0"
fog_of_war_hole="0"
has_special_scale="0"
image_file="data/ui_gfx/gun_actions/luminous_drill_timer.png"
is_text_sprite="0"
kill_entity_after_finished="0"
never_ragdollify_on_death="0"
next_rect_animation=""
offset_animator_offset.x="-0"
offset_animator_offset.y="0.839017"
offset_x="8"
offset_y="17"
rect_animation=""
smooth_filtering="0"
special_scale_x="1"
special_scale_y="1"
text=""
transform_offset.x="0"
transform_offset.y="0"
ui_is_parent="0"
update_transform="1"
update_transform_rotation="1"
visible="1"
z_index="-1.51" >

</SpriteComponent>

<SpriteComponent
_enabled="0"
_tags="enabled_in_world,item_unidentified"
additive="0"
alpha="1"
emissive="0"
fog_of_war_hole="0"
has_special_scale="0"
image_file="data/ui_gfx/gun_actions/unidentified.png"
is_text_sprite="0"
kill_entity_after_finished="0"
never_ragdollify_on_death="0"
next_rect_animation=""
offset_animator_offset.x="-0"
offset_animator_offset.y="0.839017"
offset_x="8"
offset_y="17"
rect_animation=""
smooth_filtering="0"
special_scale_x="1"
special_scale_y="1"
text=""
transform_offset.x="0"
transform_offset.y="0"
ui_is_parent="0"
update_transform="1"
update_transform_rotation="1"
visible="1"
z_index="-1.51" >

</SpriteComponent>

<SpriteComponent
_enabled="0"
_tags="enabled_in_world,item_bg"
additive="0"
alpha="1"
emissive="0"
fog_of_war_hole="0"
has_special_scale="0"
image_file="data/ui_gfx/inventory/item_bg_projectile.png"
is_text_sprite="0"
kill_entity_after_finished="0"
never_ragdollify_on_death="0"
next_rect_animation=""
offset_animator_offset.x="-0"
offset_animator_offset.y="0.839017"
offset_x="10"
offset_y="19"
rect_animation=""
smooth_filtering="0"
special_scale_x="1"
special_scale_y="1"
text=""
transform_offset.x="0"
transform_offset.y="0"
ui_is_parent="0"
update_transform="1"
update_transform_rotation="1"
visible="1"
z_index="-1.5" >

</SpriteComponent>

<SpriteOffsetAnimatorComponent
_enabled="0"
_tags="enabled_in_world"
sprite_id="0"
x_amount="0"
x_phase="16"
x_phase_offset="-23.8138"
x_speed="0"
y_amount="1"
y_speed="2.5" >

</SpriteOffsetAnimatorComponent>

<SpriteOffsetAnimatorComponent
_enabled="0"
_tags="enabled_in_world"
sprite_id="1"
x_amount="0"
x_phase="16"
x_phase_offset="-23.8138"
x_speed="0"
y_amount="1"
y_speed="2.5" >

</SpriteOffsetAnimatorComponent>

<SpriteOffsetAnimatorComponent
_enabled="0"
_tags="enabled_in_world"
sprite_id="2"
x_amount="0"
x_phase="16"
x_phase_offset="-23.8138"
x_speed="0"
y_amount="1"
y_speed="2.5" >

</SpriteOffsetAnimatorComponent>

<SpriteOffsetAnimatorComponent
_enabled="0"
_tags="enabled_in_world"
sprite_id="3"
x_amount="0"
x_phase="16"
x_phase_offset="-23.8138"
x_speed="0"
y_amount="1"
y_speed="2.5" >

</SpriteOffsetAnimatorComponent>

<VelocityComponent
_enabled="0"
_tags="enabled_in_world"
affect_physics_bodies="0"
air_friction="0.55"
apply_terminal_velocity="1"
displace_liquid="1"
gravity_x="0"
gravity_y="400"
limit_to_max_velocity="1"
liquid_death_threshold="0"
liquid_drag="1"
mVelocity.x="0"
mVelocity.y="0"
mass="0.05"
terminal_velocity="1000"
updates_velocity="1" >

</VelocityComponent>

</Entity>

You might also like