Inventory?
Quote from superboi on January 18, 2019, 10:54 amI am working on a portal 2 mod and I want to add in a inventory system. I am wondering if this can be done at all? I need an inventory for a couple things in my mod to work, so if I can add one in that would be great.
I am working on a portal 2 mod and I want to add in a inventory system. I am wondering if this can be done at all? I need an inventory for a couple things in my mod to work, so if I can add one in that would be great.
Quote from Luke18033 on January 19, 2019, 7:30 pmTo do it properly, you'd need access to the source code, which is...not easy to get, to say the least. You could implement it with VScript and Hammer logic somehow, but it would be difficult and probably wouldn't work very well.
Out of curiosity, what do you need an inventory for in a Portal mod?
To do it properly, you'd need access to the source code, which is...not easy to get, to say the least. You could implement it with VScript and Hammer logic somehow, but it would be difficult and probably wouldn't work very well.
Out of curiosity, what do you need an inventory for in a Portal mod?
Quote from superboi on January 19, 2019, 8:34 pmLuke18033 wrote:To do it properly, you'd need access to the source code, which is...not easy to get, to say the least. You could implement it with VScript and Hammer logic somehow, but it would be difficult and probably wouldn't work very well.Out of curiosity, what do you need an inventory for in a Portal mod?
I wanted to add a health system and if you take enough damage from turrets or anything else that doesn't kill you instantly, you can pull up the inventory to use a healing item. I want to know how I would be able to obtain the source code? I've heard people say that they use it for this kind of stuff before so it's possible to get the source code right?
Out of curiosity, what do you need an inventory for in a Portal mod?
I wanted to add a health system and if you take enough damage from turrets or anything else that doesn't kill you instantly, you can pull up the inventory to use a healing item. I want to know how I would be able to obtain the source code? I've heard people say that they use it for this kind of stuff before so it's possible to get the source code right?
Quote from Luke18033 on January 19, 2019, 11:09 pmIt's possible to get the source code, but as I said, it's not easy. I myself don't have source code access, nor do I know exactly how the process of getting it works, but I do know it involves contacting Valve directly and signing a non-disclosure agreement, preventing you from (legally) redistributing or even talking about the code elsewhere. You'll have to talk to someone else about that. I know there are some people on the Discord server who have got access, maybe ask there.
It's possible to get the source code, but as I said, it's not easy. I myself don't have source code access, nor do I know exactly how the process of getting it works, but I do know it involves contacting Valve directly and signing a non-disclosure agreement, preventing you from (legally) redistributing or even talking about the code elsewhere. You'll have to talk to someone else about that. I know there are some people on the Discord server who have got access, maybe ask there.
Quote from superboi on January 20, 2019, 10:31 amLuke18033 wrote:It's possible to get the source code, but as I said, it's not easy. I myself don't have source code access, nor do I know exactly how the process of getting it works, but I do know it involves contacting Valve directly and signing a non-disclosure agreement, preventing you from (legally) redistributing or even talking about the code elsewhere. You'll have to talk to someone else about that. I know there are some people on the Discord server who have got access, maybe ask there.Ok, I'll try asking on the discord server and see if I get an answer.
Ok, I'll try asking on the discord server and see if I get an answer.