Half-Life: Alyx

Half-Life: Alyx

Expand the world of Half-Life: Alyx
Browse the Half-Life: Alyx Workshop to find the best new addons created by the community, or install the free tools yourself and start making your own Half-Life: Alyx content.
Learn More
DannDaMANN 12 Aug, 2023 @ 6:32pm
info_hlvr_equip_player entity not working
Just like the title says. I am trying to make a game, but I do not want the player starting with any weapons. I spawn the entity info_hlvr_equip_player in the world, edit the in settings, but no matter how I compile the map the player always starts with the same thing (pistol 10, shotgun 6, smg 30). I have even made sure my changes where saved by going back in the properties for the entity, end it was in fact saved. Is there something else I need to do?

EDIT: I have investigated the problem more. There is a universal problem with my hammer editor and for some reason it will have all my changes in a properties tab that I have just made in blue. I can not find a way to permanently save these. When I watch Youtube videos they just close out of the properties tab and be on their merry way, but that is not the case for me. Can someone please help?
Last edited by DannDaMANN; 12 Aug, 2023 @ 7:03pm
< >
Showing 1-2 of 2 comments
JediPunk 3 5 Sep, 2023 @ 9:26pm 
hello. did you find any solution yet?

i can only guess and say what i would do in your postition.

1. check you energygun: "item_hlvr_weapon_energygun" . the gun can spawn empty (default) or you can change the number to spawn the pistol with ammo in it. under the tab spawnflags is a tab called : "Number of bullets in the clip" = -1 (-1 equal no bullets

2. in the info_hlvr_equip_player entety is a setting called "Equip on map start" . is it set on or off?
- default is 1 (on)

3. do you use the output "Equip now" ? (look in the "input" tab from the info_hlvr_equip_player entity. ) or any other input that might create your problem? "Equip now" output is used to add the Grabby Gloves for example or the "Multitool".

4. do have 2 maps the player travel from map A to map B ? the player keeps its ammo and stuff when changing the map.

5. maybe delete or reset your info_hlvr_equip_player entity and place a new one.

6. if you have multiple info_hlvr_equip_player entities, give them unique names.

7. is there a second info_hlvr_equip_player entity in you map? maybe with the same name?

8. did you set the "pistol ammo" to anything else then -1 inside the info_hlvr_equip_player?
-1 = empty (no ammo) 1-999999 add ammo to your player when starting.
Last edited by JediPunk; 5 Sep, 2023 @ 9:29pm
DannDaMANN 6 Sep, 2023 @ 4:48am 
Originally posted by deadman:
hello. did you find any solution yet?

i can only guess and say what i would do in your postition.

1. check you energygun: "item_hlvr_weapon_energygun" . the gun can spawn empty (default) or you can change the number to spawn the pistol with ammo in it. under the tab spawnflags is a tab called : "Number of bullets in the clip" = -1 (-1 equal no bullets

2. in the info_hlvr_equip_player entety is a setting called "Equip on map start" . is it set on or off?
- default is 1 (on)

3. do you use the output "Equip now" ? (look in the "input" tab from the info_hlvr_equip_player entity. ) or any other input that might create your problem? "Equip now" output is used to add the Grabby Gloves for example or the "Multitool".

4. do have 2 maps the player travel from map A to map B ? the player keeps its ammo and stuff when changing the map.

5. maybe delete or reset your info_hlvr_equip_player entity and place a new one.

6. if you have multiple info_hlvr_equip_player entities, give them unique names.

7. is there a second info_hlvr_equip_player entity in you map? maybe with the same name?

8. did you set the "pistol ammo" to anything else then -1 inside the info_hlvr_equip_player?
-1 = empty (no ammo) 1-999999 add ammo to your player when starting.

Hey, for some reason just a few days after I posted this it actually started working again by itself, I think the problem was with hammer not saving the entity properties. Thanks for trying to help anyway!
< >
Showing 1-2 of 2 comments
Per page: 1530 50