Transitioning to another map and taking information also?
Firstly:
I would like to transition from one map to another?
Secondly:
I would like to transfer information from one map to another, possibly using env_globals?
Can anyone help with this please?
As for level transitions, the logic is mostly in the elevator instances, so you might wanna try that out. what kind of information are you trying to carry over an env_global?
MrTwoVideoCards wrote:
Yeah you edited your post after I replied, but they read out as statements requiring permission, versus questions.As for level transitions, the logic is mostly in the elevator instances, so you might wanna try that out. what kind of information are you trying to carry over an env_global?
I reaslised after lol, schoolboy error 
I am trying to send a variable of 'level_complete' so that returning to some kind of coop hub could check each level/chamber off as "chamber 1 complete" and open/unlock the next.
would be good if it could store progress, so thatthe next time the users went to the hub it would remembertheir progress.
My house mate is doing some mods for css and source mod so can help with some code if need be, just need to get an idea of which direction to go? 
I am not sure if anyone has figured out how to exactly work with vscripts yet though. It's not even fully documented on the VDC either, so we might have to wait on making our own hub worlds for a while.
But hey if you can figure it out, you'll be the first. 
or perhaps where is a good place to start looking?
We have had a browse through some of the scripts in scripts/vscripts/ including 'mp_coop_transition_list.nut' which seems to be the main script to handle the level/chapter information, this is called both at the end of the level and at the hub.
It seems nbranch is the day selector 1 - 5 (6 is there to allow length of day only, possibly for recording how long you play..)
and nStartLevel is the level within that day
But this is as far as we have got.
Am looking at using a different way of achiving this, but need to know how to transfer information from map to map, or better still store it on the computer somehow? and retrieve this when needed, do you know of any good tuts on this? maybe use env_global but can't find anything decent around the web 
I would also suggest you use the most basic of map transition stuff before you start using instances, since I have a feeling that the straight up stock instances for the elevators won't do what you want. Open up the Coop level exit instance (with the disassembly machine, etc.) and make a modified copy of that to use.
Doesn't stop us trying
Do you know where I can find some good information or even a tutorial on env_globals?
I have had a look on [url]developer.valvesoftware.com/wiki/Env_global[/url]
need some examples really
Actually I don't know if env_global is what you are looking for though. It's been a long time since I've done through-transition states. You can possibly use the "counter" option but that seems limiting.
I found this http://dhost.info/entguide/entities/env_global.html which helps me understand it a little beter. I think this could work.
Now to figure out how to send the players to a set map name...
I normally map for css so this is all new to me 