#Looking for a way to give player a knife subclass from a "Pressed Button"
1 messages · Page 1 of 1 (latest)
Also tried:
- Using game_player_equip but seems impossible to give it a subclass to weapon_knife
- Using point_clientcommand but subclass_change is a protected FCVAR.
bro
not sure if u can do it with game player equip etc
he is very smart
just need to add subclass_id to it?
yep i think so
👌
Just asking other thing @sturdy spear
how hard is to get to 2GB limit on workshop? looking to create a coop map.. is at 800mb atm but i kinda can clean it good..still
if ur hitting 2gb without making a lot of custom assets ur doing something very wrong
nah im using custom thats probably why.. 😉
but not using all of them on the map thats why i tought i could clear it a bit out xd
@sturdy spear is there a way i can make the weapon_knife entitie always stay there after a player picked it up? instead of just giving one?
u can spawn them dynamically when press button
but with subclass_id?
think so yeah
i cant find a way tho
if u make point_template with the weapon_knife inside
never used it in source1 x-x
in source1 weapon_x if constrained would stay there.. xD
Ok found a way
Make a point_template, place the entitie of the weapon_knife on teamplate 1
now on weapon_knife entitie go to outputs and do this
for OnPlayerPickup and OnPlayerUse
🙂
@sturdy spear Now im missing a way to remove the current knife from the player ._ .