hello, i made a ammo and medic cabinets, and they are invisible for some reason, i can get ammo and health but for some reason i cannot see the ammo nor the health
thanks in advance,
forbidden
hello, i made a ammo and medic cabinets, and they are invisible for some reason, i can get ammo and health but for some reason i cannot see the ammo nor the health
thanks in advance,
forbidden
Somewhere here in the forums is a link to a working prefab.
Not sure but as far as I remember it has something to do with trigger_health / trigger_ammo brush size.
They have to be bigger than the model of the cabinet.
Which tutorial are you using?
im not using a tutorial i just opened the goldrush map and went off wat they had in there health and ammo things. but i must have missed something and i was hoping someone would know what i overlooked
Short Version:
[ul]
[li]Cabinets[/li] [list]
[li]Ammo-Cabinet[/li] [list]
[li]misc_cabinet_supply[/li] “misc/misc_cabinet_supply”
Key: targetname
Value: cabinet_ammo_model
[li]trigger_ammo[/li] trigger-brush and origin-brush
“trigger/trigger_ammo”
Key: target
Value: cabinet_ammo_model
additional possible keys:
Key: ammototal total available ammo
Key: ammorate ammo per package
[/ul]
[li]Health-Cabinet[/li] [ul]
[li]misc_cabinet_health[/li] "misc/misc_cabinet_health"
Key: targetname
Value: cabinet_health_model
[li]trigger_heal[/li] trigger-brush and origin-brush
"trigger/trigger_heal"
Key: target
Value: cabinet_health_model
additional possible keys:
Key: healtotal total available health
Key: healrate health per package
[/ul]
[/list]
[li]Ingame- / Command map representation[/li] [ul]
[li]misc_commandmap_marker[/li] "misc/misc_commandmap_marker"
Key: targetname
Value: cabinet_cm_marker
[li]trigger_objective_info[/li] trigger-brush and origin-brush
"trigger/trigger_objective_info"
Key: target
Value: cabinet_cm_marker
Key: customimage
Value: gfx/limbo/cm_healthammo
Key: track
Value: ammo and health cabinet!
Key: spawnflags
Value: choose "axis_objective" + "allied_objective" + "is_healthammocabinet"
[/ul]
[/list]
Note:
The used target / targetname keys from Goldrush could be different from the example above.
You could give all the entities that haven’t got a targetname a name.
Not sure if clipbrushes are necessary.
Taken from a tutorial.
You should also search the link of the prefab.