Please or Register to create posts and topics.

Unlockable sourcemod content...?

In my mod, The IRIS Initiative, i would like to have advanced challenge versions of certain puzzles which the player could unlock by doing certain things in certain maps, and also would like to prevent players skipping chapters. I have a VERY vague idea on how to do this, but i'd like some help. what i'm thinking, is that i could run a vscript that edits my mod's "extras.txt" which it uses as it's single player menu. this would be very difficult because a) i never figured out how to run a vscript that somebody else made and b) i have no idea how to vscript at all. not to mention, it would be a script writing a script, and i heard that can be very buggy at times.

ImageImage
===========================
Im blue, a Clean Christian Furry with Autism.

I have NO idea about how you could do this.

I think it's impossible but I'm not a Vscripter.

oh my god please HELP ME

please
opticalprocessor wrote:
I have NO idea about how you could do this.

I think it's impossible but I'm not a Vscripter.

thanks for summarizing. :lol:

ImageImage
===========================
Im blue, a Clean Christian Furry with Autism.

For security reasons VScripts cannot read or write files (imagine what would happen if someone released a map that overwrote vbsp.exe with a virue). It should be possible using a logic_auto and env_global, but I don't know how well that works in Portal 2, and you'd need to rewrite the elevator transition logic slightly.

Falsi sumus crusto!