Skip to content

Update data for "dod" #473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@
[[eye_angle]]
name = m_angEyeAngles[0]
type = QAngle


[virtual_function]

# _ZN10CDODPlayer13GiveNamedItemEPKci
[[give_named_item]]
offset_linux = 401
offset_windows = 400
arguments = STRING, INT
return_type = POINTER
213 changes: 150 additions & 63 deletions addons/source-python/data/source-python/weapons/dod.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,113 +6,200 @@

[weapons]

[[30cal]]
tags = "all"
# =========================================================================
# PRIMARY WEAPONS
# =========================================================================
[[garand]]
slot = 0
clip = 8
ammoprop = 4
tags = "all,primary,rifle"

[[amerknife]]
tags = "all"
[[thompson]]
slot = 0
clip = 30
ammoprop = 8
tags = "all,primary"

[[bar]]
tags = "all"
slot = 0
clip = 20
ammoprop = 9
tags = "all,primary"

[[basebomb]]
tags = "all"
[[spring]]
slot = 0
clip = 5
ammoprop = 7
tags = "all,primary,rifle"

[[basedodgrenade]]
tags = "all"
[[30cal]]
slot = 0
clip = 150
ammoprop = 10
tags = "all,primary,machinegun"

[[bazooka]]
tags = "all"

[[c96]]
tags = "all"

[[colt]]
tags = "all"

[[dod_base]]
tags = "all"
slot = 0
clip = 1
ammoprop = 12
tags = "all,primary,explosive"

[[dod_base_gun]]
tags = "all"

[[dod_base_melee]]
tags = "all"
[[k98]]
slot = 0
clip = 5
ammoprop = 5
tags = "all,primary,rifle"

[[dodbaserpg]]
tags = "all"
[[mp40]]
slot = 0
clip = 30
ammoprop = 8
tags = "all,primary"

[[frag_ger]]
tags = "all"
[[mp44]]
slot = 0
clip = 30
ammoprop = 8
tags = "all,primary"

[[frag_ger_live]]
tags = "all"
[[k98_scoped]]
slot = 0
clip = 5
ammoprop = 5
tags = "all,primary,rifle"

[[frag_us]]
tags = "all"
[[mg42]]
slot = 0
clip = 250
ammoprop = 11
tags = "all,primary,machinegun"

[[frag_us_live]]
tags = "all"
[[pschreck]]
slot = 0
clip = 1
ammoprop = 12
tags = "all,primary,explosive"

# =========================================================================
# SECONDARY WEAPONS
# =========================================================================
[[colt]]
slot = 1
clip = 7
ammoprop = 1
tags = "all,secondary,pistol"

[[garand]]
tags = "all"
[[m1carbine]]
slot = 1
clip = 15
ammoprop = 6
tags = "all,secondary,rifle"

[[ifm_base]]
tags = "all"
[[p38]]
slot = 1
clip = 8
ammoprop = 2
tags = "all,secondary,pistol"

[[ifm_base_camera]]
tags = "all"
[[c96]]
slot = 0
clip = 20
ammoprop = 3
tags = "all,secondary,pistol"

# =========================================================================
# MELEE WEAPONS
# =========================================================================
[[amerknife]]
slot = 2
clip = -1
ammoprop = -1
tags = "all,melee"

[[ifm_steadycam]]
tags = "all"
[[spade]]
slot = 2
clip = -1
ammoprop = -1
tags = "all,melee"

# =========================================================================
# PROJECTILE WEAPONS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the projectile entities using the weapon_ prefix?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

# =========================================================================
[[riflegren_us]]
slot = 3
clip = -1
ammoprop = 21
tags = "all,grenade,explosive"

[[k98]]
tags = "all"
[[smoke_us]]
slot = 2
clip = -1
ammoprop = 17
tags = "all,grenade"

[[k98_scoped]]
tags = "all"
[[frag_us]]
slot = 3
clip = -1
ammoprop = 13
tags = "all,grenade,explosive"

[[m1carbine]]
tags = "all"
[[riflegren_ger]]
slot = 3
clip = -1
ammoprop = 22
tags = "all,grenade,explosive"

[[mg42]]
tags = "all"
[[smoke_ger]]
slot = 2
clip = -1
ammoprop = 18
tags = "all,grenade"

[[mp40]]
[[frag_ger]]
slot = 3
clip = -1
ammoprop = 14
tags = "all,grenade,explosive"

# =========================================================================
# UNKNOWN WEAPONS
# =========================================================================
[[dod_base]]
tags = "all"

[[mp44]]
[[basebomb]]
tags = "all"

[[p38]]
[[basedodgrenade]]
tags = "all"

[[pschreck]]
[[dod_base_gun]]
tags = "all"

[[riflegren_ger]]
[[dod_base_melee]]
tags = "all"

[[riflegren_ger_live]]
[[dodbaserpg]]
tags = "all"

[[riflegren_us]]
[[frag_ger_live]]
tags = "all"

[[riflegren_us_live]]
[[frag_us_live]]
tags = "all"

[[smoke_ger]]
[[ifm_base]]
tags = "all"

[[smoke_us]]
[[ifm_base_camera]]
tags = "all"

[[spade]]
[[ifm_steadycam]]
tags = "all"

[[spring]]
[[riflegren_ger_live]]
tags = "all"

[[thompson]]
[[riflegren_us_live]]
tags = "all"