Challenge Script syntax

Avatar
msleeper
4,095 Posts
Member
Posted Oct 17, 2007

Just found this, a great read for anyone who makes a custom map. This will make it so we can have our maps be loadable via the "Bonus Map" interface, so less-than-experienced users can play them without having to enable the console.

http://developer.valvesoftware.com/wiki ... nge_Script

Advertisement
Registered users don't see ads! Register now!
Avatar
Gumby22don
6 Posts
Posted Oct 18, 2007
Replied 5 hours later
Coulda sworn I registered here a couple of weeks ago, but turns out this is my first post. Given I'm at work each evening, and this is where I do mapping, please forgive me for less than active post history.

That said,

I found this wiki entry a few days ago, but thinking about it - won't it replace the user's normal challenge entries if you change that file? This would mean they can only have one map installed at a time, making it just as annoying as having to load maps in console. I could be wrong - need someone to do some tests.

Don
have a great day

Avatar
msleeper
4,095 Posts
Member
Posted Oct 18, 2007
Replied 31 minutes later
I'm going to try to play with this when I get a chance, but I am pretty sure the whole purpose of the system is so that multiple maps can be installed. There will be a seperate BNS file for each map which will have the challenges.
Avatar
espen180
307 Posts
Posted Oct 18, 2007
Replied 1 hour later
I got this working yesterday, but I have yet to figue out how to end the challenge and display the results.
Avatar
Gumby22don
6 Posts
Posted Oct 18, 2007
Replied 24 minutes later
Someone has done this on another map (linked from another thread here: http://forums.steampowered.com/forums/s ... p?t=612396)
It has the three challenges set up, and the map folder includes the challenge script and map and grid files, all self contained in folders under the guy's name. Seems like the setup we should be working towards.

The thread talks about this folder setup, with another guy's reccomendations.

Don
have a great day

Avatar
espen180
307 Posts
Posted Oct 18, 2007
Replied 6 hours later
Too bad he's reluctant to say how he did it.
Avatar
msleeper
4,095 Posts
Member
Posted Oct 18, 2007
Replied 4 hours later
If there is a download for his map, download it and FUCK AT FULL FORCE to see how his folders are laid out.
Avatar
Gumby22don
6 Posts
Posted Oct 19, 2007
Replied 11 hours later
folder layout is straightforward - he even included a nodegraph, so its a great example. The challenge script should even work as a good example for anyone else working with this.

I think espen08 is only worried about the end of challenge in the bsp, setting up the last elevator as a "end map" function.

Don
have a great day

Avatar
Mapster
396 Posts
Posted Oct 19, 2007
Replied 16 minutes later
You know whats funny... i was JUST going to find out how to make a challenge script map.

You bet me this time msleeper!

Advertisement
Registered users don't see ads! Register now!
Avatar
msleeper
4,095 Posts
Member
Posted Oct 19, 2007
Replied 2 hours later
Needs more Dr. Claw voice.