weapons.scripts module

Provides weapon scripts functionalities.

class weapons.scripts.WeaponInfo(*args, *, wrap=False, auto_dealloc=True)

Bases: memory.manager.CustomType

accuracy_divisor

Return the instance attribute value.

accuracy_offset

Return the instance attribute value.

accuracy_quadratic

Return the instance attribute value.

active_icon

Return the instance attribute value.

addon_model

Return the instance attribute value.

ai_addon

Return the instance attribute value.

alternate_inaccuracy_crouch

Return the instance attribute value.

alternate_inaccuracy_fire

Return the instance attribute value.

alternate_inaccuracy_jump

Return the instance attribute value.

alternate_inaccuracy_ladder

Return the instance attribute value.

alternate_inaccuracy_land

Return the instance attribute value.

alternate_inaccuracy_move

Return the instance attribute value.

alternate_inaccuracy_reload

Return the instance attribute value.

alternate_inaccuracy_stand

Return the instance attribute value.

alternate_spread

Return the instance attribute value.

animation_prefix

Return the instance attribute value.

auto_switch_from

Return the instance attribute value.

auto_switch_to

Return the instance attribute value.

autoaim_icon

Return the instance attribute value.

bot_audible_range

Return the instance attribute value.

burst_sound

Return the instance attribute value.

can_equip_with_shield

Return the instance attribute value.

class_name

Return the instance attribute value.

crosshair_delta_distance

Return the instance attribute value.

crosshair_icon

Return the instance attribute value.

crosshair_minimum_distance

Return the instance attribute value.

cycle_time

Return the instance attribute value.

damage

Return the instance attribute value.

default_price

Return the instance attribute value.

default_primary_clip

Return the instance attribute value.

default_secondary_clip

Return the instance attribute value.

double_npc_sound

Return the instance attribute value.

double_sound

Return the instance attribute value.

dropped_model

Return the instance attribute value.

empty_sound

Return the instance attribute value.

fired_bullets

Return the instance attribute value.

flags

Return the instance attribute value.

full_auto

Return the instance attribute value.

idle_interval

Return the instance attribute value.

inaccuracy_crouch

Return the instance attribute value.

inaccuracy_fire

Return the instance attribute value.

inaccuracy_jump

Return the instance attribute value.

inaccuracy_ladder

Return the instance attribute value.

inaccuracy_land

Return the instance attribute value.

inaccuracy_move

Return the instance attribute value.

inaccuracy_reload

Return the instance attribute value.

inaccuracy_stand

Return the instance attribute value.

inactive_icon

Return the instance attribute value.

is_built_right_handed

Return the instance attribute value.

is_flipping_allowed

Return the instance attribute value.

is_hud_elements_loaded

Return the instance attribute value.

is_melee

Return the instance attribute value.

is_script_parsed

Return the instance attribute value.

maximum_inaccuracy

Return the instance attribute value.

maximum_player_speed

Return the instance attribute value.

maximum_primary_clip

Return the instance attribute value.

maximum_secondary_clip

Return the instance attribute value.

melee_hit_sound

Return the instance attribute value.

melee_hit_world_sound

Return the instance attribute value.

melee_miss_sound

Return the instance attribute value.

muzzle_flash_scale

Return the instance attribute value.

muzzle_flash_style_index

Return the instance attribute value.

parse

Return the virtual function.

penetration

Return the instance attribute value.

player_animation_extension

Return the instance attribute value.

position

Return the instance attribute value.

previous_price

Return the instance attribute value.

price

Return the instance attribute value.

primary_ammo_icon

Return the instance attribute value.

primary_ammo_name

Return the instance attribute value.

primary_ammo_type

Return the instance attribute value.

print_name

Return the instance attribute value.

range

Return the instance attribute value.

range_modifier

Return the instance attribute value.

recovery_time_crouch

Return the instance attribute value.

recovery_time_stand

Return the instance attribute value.

reload_npc_sound

Return the instance attribute value.

reload_sound

Return the instance attribute value.

rumble_effect

Return the instance attribute value.

secondary_ammo_icon

Return the instance attribute value.

secondary_ammo_name

Return the instance attribute value.

secondary_ammo_type

Return the instance attribute value.

shield_view_model

Return the instance attribute value.

show_usage_hint

Return the instance attribute value.

silencer_model

Return the instance attribute value.

single_npc_sound

Return the instance attribute value.

single_sound

Return the instance attribute value.

slot_index

Return the instance attribute value.

small_icon

Return the instance attribute value.

special_sound_1

Return the instance attribute value.

special_sound_2

Return the instance attribute value.

special_sound_3

Return the instance attribute value.

spread

Return the instance attribute value.

sprite_count

Return the instance attribute value.

taunt_sound

Return the instance attribute value.

team_index

Return the instance attribute value.

time_to_idle

Return the instance attribute value.

weapon_armor_radio

Return the instance attribute value.

weapon_type_index

Return the instance attribute value.

weight

Return the instance attribute value.

world_model

Return the instance attribute value.

wrong_team_message

Return the instance attribute value.

zommed_autoaim_icon

Return the instance attribute value.

zoomed_crosshair_icon

Return the instance attribute value.