Dod ammo box: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Doesn't use m_iTeamNum.)
 
m (Classifying as model entity)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{CD|CAmmoBox|file1=dod_ammo_box.cpp}}
{{CD|CAmmoBox|file1=dod_ammo_box.cpp}}
{{stub}}{{ent not in fgd|codeonly=1}}
{{stub}}{{ent not in fgd|codeonly=1}}
{{this is a|point entity|name=dod_ammo_box|game=Day of Defeat: Source}} An ammo box, which can be used by the team of the player who dropped it.  
{{this is a|model entity|name=dod_ammo_box|game=Day of Defeat: Source}} An ammo box, which can be used by the team of the player who dropped it.  


If placed directly in the map, the ammo box will be display the Allied ammo model, but will not be able to be picked up by either team, as the team cannot be set via keyvalues.
If placed directly in the map, the ammo box will be display the Allied ammo model, but will not be able to be picked up by either team, as the team cannot be set via keyvalues. The team also cannot be set via [[VScript]], as it is not part of the [[DATADESC]] or [[send table]].

Latest revision as of 04:30, 19 May 2025

C++ Class hierarchy
CAmmoBox
CItem
CBaseAnimating
CBaseEntity
C++ dod_ammo_box.cpp

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can only be configured through code.

dod_ammo_box is a model entity available in Day of Defeat: Source Day of Defeat: Source. An ammo box, which can be used by the team of the player who dropped it.

If placed directly in the map, the ammo box will be display the Allied ammo model, but will not be able to be picked up by either team, as the team cannot be set via keyvalues. The team also cannot be set via VScript, as it is not part of the DATADESC or send table.