Skip to content

Commit ca83e29

Browse files
authored
* Added BaseEntity.origin * Added ServerClass.instance_baseline_index * Revert "Added ServerClass.instance_baseline_index" This reverts commit 60dcfb6. * Moved first bunch of properties from Entity to BaseEntity * Added methods to retrieve QAngle keyvalues Added missing new line characters. Fixed creating copies when setting color keyvalues. Moved angles from Entity to BaseEntity * Removed render_amt It's not required anymore, because alpha can now be set via render_color * Added target_name and owner_handle * Moved more properties to BaseEntity * Added shim for setting player speed * Moved color to BaseEntity * Moved stop_sound to BaseEntity * Fixed BaseEntity.stop_sound() error on loading Updated documentation. * Moved get_eye_location from Player to BaseEntity * Switched some properties to use the network property method * Renamed FindDataMapOffset * Forgot to commit this * Fixed SP not loading on CS:GO * Removed redundant entry * Updated documentation
1 parent 279baa3 commit ca83e29

File tree

20 files changed

+1056
-197
lines changed

20 files changed

+1056
-197
lines changed

addons/source-python/data/source-python/entities/CBaseEntity.ini

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -19,68 +19,3 @@
1919
set_parent_attachment = SetParentAttachment
2020
set_parent_attachment_maintain_offset = SetParentAttachmentMaintainOffset
2121
use = Use
22-
23-
24-
[keyvalue]
25-
26-
avelocity = avelocity
27-
base_velocity = basevelocity
28-
class_name = classname
29-
damage_filter = damagefilter
30-
effects = effects
31-
friction = friction
32-
global_name = globalname
33-
gravity = gravity
34-
hammerid = hammerid
35-
health = health
36-
ltime = ltime
37-
max_health = max_health
38-
parent_name = parentname
39-
render_color = rendercolor
40-
render_mode = rendermode
41-
shadow_cast_dist = shadowcastdist
42-
spawn_flags = spawnflags
43-
speed = speed
44-
target = target
45-
velocity = velocity
46-
view_ofs = view_ofs
47-
water_level = waterlevel
48-
49-
# =========================================================================
50-
# >> Hard-coded KeyValues
51-
# =========================================================================
52-
53-
[[angles]]
54-
name = angles
55-
type = VECTOR
56-
57-
[[origin]]
58-
name = origin
59-
type = VECTOR
60-
61-
[[render_amt]]
62-
name = renderamt
63-
type = SHORT
64-
65-
[[target_name]]
66-
name = targetname
67-
type = STRING
68-
69-
70-
[property]
71-
72-
maxs = m_Collision.m_vecMaxs
73-
mins = m_Collision.m_vecMins
74-
solid_type = m_Collision.m_nSolidType
75-
solid_flags = m_Collision.m_usSolidFlags
76-
collision_group = m_CollisionGroup
77-
rotation = m_angRotation
78-
render = m_clrRender
79-
elasticity = m_flElasticity
80-
ground_entity = m_hGroundEntity
81-
owner_handle = m_hOwnerEntity
82-
team_index = m_iTeamNum
83-
render_fx = m_nRenderFX
84-
render_mode_prop = m_nRenderMode
85-
move_type = movetype
86-
parent_inthandle = m_pParent

addons/source-python/data/source-python/entities/CBasePlayer.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
[property]
88

9-
speed = localdata.m_flLaggedMovementValue
109
is_ducked = m_Local.m_bDucked
1110
in_ducking = m_Local.m_bDucking
1211
flags = m_fFlags

addons/source-python/data/source-python/entities/bms/CBaseFlex.ini

Lines changed: 0 additions & 5 deletions
This file was deleted.

addons/source-python/data/source-python/entities/csgo/CBaseGrenade.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
damage = m_flDamage
44
thrower = m_hThrower
55
is_live = m_bIsLive
6-
velocity = m_vecVelocity
76
detonate_time = m_flDetonateTime
87
damage_radius = m_DmgRadius

addons/source-python/data/source-python/entities/csgo/CBasePlayer.ini

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,3 @@ srv_check = False
6464
offset_windows = 3816
6565
offset_linux = 3840
6666
type = INT
67-
68-
69-
[property]
70-
71-
[[view_offset]]
72-
name = localdata.m_vecViewOffset[0]
73-
type = Vector

addons/source-python/data/source-python/entities/l4d2/CBasePlayer.ini

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,3 @@
3535
[[post_think]]
3636
offset_linux = 357
3737
offset_windows = 356
38-
39-
40-
[property]
41-
42-
[[view_offset]]
43-
name = m_vecViewOffset[0]
44-
type = Vector

addons/source-python/data/source-python/entities/orangebox/cstrike/CBasePlayer.ini

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,3 @@
1919
offset_linux = 420
2020
offset_windows = 419
2121
arguments = POINTER, POINTER
22-
23-
24-
[property]
25-
26-
[[view_offset]]
27-
name = localdata.m_vecViewOffset[0]
28-
type = Vector

addons/source-python/data/source-python/entities/orangebox/episodic/CBaseFlex.ini

Lines changed: 0 additions & 5 deletions
This file was deleted.

addons/source-python/data/source-python/entities/orangebox/hl2/CBaseFlex.ini

Lines changed: 0 additions & 5 deletions
This file was deleted.

addons/source-python/data/source-python/entities/orangebox/hl2mp/CBaseFlex.ini

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)