Difference between revisions of "Weapon uzi"
From Obsidian Conflict Wiki
(→Keyvalues) |
|||
Line 16: | Line 16: | ||
*'''Custom Script''' ''customweaponscript'' <string> Name of a script in the folder ( scripts/customweapons/ ) which should be loaded instead of the weapons default script. Leave Blank for default weapon settings. | *'''Custom Script''' ''customweaponscript'' <string> Name of a script in the folder ( scripts/customweapons/ ) which should be loaded instead of the weapons default script. Leave Blank for default weapon settings. | ||
− | |||
− | |||
*'''Min Players Before Spawn''' ''minplayerstospawn'' <integer> Minimum number of players that must be ingame before this weapon will spawn or respawn. Only works on weapons that respawn. | *'''Min Players Before Spawn''' ''minplayerstospawn'' <integer> Minimum number of players that must be ingame before this weapon will spawn or respawn. Only works on weapons that respawn. |
Latest revision as of 21:40, 18 February 2012
This Page contains informations about an Obsidian Conflict Entity, which means it is only availible for Obsidian Conflict or rather in that form it is explained. |
Contents
Entity description
The Uzi is a submachine gun that has more rate of fire than the default SMG MP7, as well as a bit of more accuracy. If another uzi is found, it can be picked and make it dual-welded, making more damage. It uses the ammo of the SMG. If is carring two uzis, with the alt. button you can choose if use a single uzi or both.
The reload time using both uzis are longer than only using one, think it before use it in a fight.
Keyvalues
- Name targetname <target_source> The name that other entities refer to this entity by.
- Pitch Yaw Roll (Y Z X) angles <angle> This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- spawnflags spawnflags <flags>
- Custom Script customweaponscript <string> Name of a script in the folder ( scripts/customweapons/ ) which should be loaded instead of the weapons default script. Leave Blank for default weapon settings.
- Min Players Before Spawn minplayerstospawn <integer> Minimum number of players that must be ingame before this weapon will spawn or respawn. Only works on weapons that respawn.
- Start Fade Dist/Pixels fademindist <float> Distance at which the prop starts to fade (<0 = use fademaxdist). If 'Screen Space Fade' is selected, this represents the number of pixels wide covered by the prop when it starts to fade.
- End Fade Dist/Pixels fademaxdist <float> Maximum distance at which the prop is visible (0 = don't fade out). If 'Screen Space Fade' is selected, this represents the *minimum* number of pixels wide covered by the prop when it fades.
- Fade Scale fadescale <float> If you specify a fade in the worldspawn, or if the engine is running under dx7, then the engine will forcibly fade out props even if fademindist/fademaxdist isn't specified. This scale factor gives you some control over the fade. Using 0 here turns off the forcible fades.
Flags
- Start constrained
- Deny player pickup (reserve for npc)
- Not puntuable by Gravity Gun
- Do not respawn
- Do not return to Spawn Location if moved
Inputs
- Kill Removes this entity from the world.
- KillHierarchy Removes this entity and all its children from the world.
- AddOutput <string> Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
- FireUser1 Causes this entity's OnUser1 output to be fired.