Creating a Megacharger
Jump to navigation
Jump to search
Introduction
This guide will show you how to create megachargers seen in dm_lockdown. This is a good way to make megachargers distinct from normal chargers in your deathmatch map.
Creation
The Charger
Create an item_suitcharger
entity, set its name to megacharger
and tick the Citadel recharger
flag.
Enter the following outputs:
Charger Model
Create prop_dynamic
entity and enter the following properties:
Property Name | Value |
---|---|
World Model | models/props_combine/Combine_Dispenser.mdl |
Disable Shadows | Yes |
Collisions | Not Solid |
Position the model so it covers the suitcharger's model.
Charger Glow
Create an env_sprite
entity and enter the following properties:
Property Name | Value |
---|---|
Name | megacharger_light |
Render FX | Slow Pulse |
Render Mode | World Space Glow |
FX Color | 0 255 0 |
Scale | 0.25 |
Size of Glow Proxy Geometry. | 5 |
Charger Light
Create a light
entity and enter the following properties:
Property Name | Value |
---|---|
Name | megacharger_light_ |
Pitch Yaw Roll | -60 0 -90 |
Brightness | 0 255 64 25 |
Inner angle | 5 |
Outer angle | 30 |
Pitch | -60 |