Goldsrc inventory Created 9 years ago2015-11-20 21:58:25 UTC by Yashka Yashka

Created 9 years ago2015-11-20 21:58:25 UTC by Yashka Yashka

Posted 9 years ago2015-11-20 21:58:25 UTC Post #327496
Is it possible to create an inventory for the player with an interface of some sort in Goldsource? I've seen it in Source, but haven't found anything about Goldsource despite extensive searching.
Posted 9 years ago2015-11-20 23:02:09 UTC Post #327497
You could do it crudely with a trigger_camera that points to a rooms outside your normal map, textured black. Then you could use env_renders and/or func_door_toggles to make "items" in your inventory appear. (this might work for things like keycards and such)

If you need to be able to select items, use a trigger_teleport instead, temporarily sending the player to a place he can physicallly pickup/activate/use things in the inventory.
Captain Terror Captain Terrorwhen a man loves a woman
Posted 9 years ago2015-11-20 23:33:50 UTC Post #327498
Hm, yeah, that's one way. :D

What about modifying the engine and making an inventory through coding? Could that be possible?
Posted 9 years ago2015-11-20 23:47:55 UTC Post #327499
I'm sure just about anything is possible through coding. The trick is finding someone familiar enough with it to be able to help you :P
Jessie JessieTrans Rights <3
Posted 9 years ago2015-11-21 09:09:41 UTC Post #327500
cry of fear has it

also isnt the weapons hud an inventory interface already
Posted 9 years ago2015-11-23 03:15:00 UTC Post #327507
You could probably code another slot in the weapon select menu to be an inventory of sorts, sure.
I mean, I couldn't, but someone might.
Jessie JessieTrans Rights <3
You must be logged in to post a response.