Page 1 of 1

Custom challenges and championships [in 2.4]

PostPosted: 25 Jan 2014, 06:35
by Wuzzy
Hi, I have created a new challenge and a new championship.

New endurance challenge:
{l Code}: {l Select All Code}
   <challenge name="Bridge Blaster" ver="1" difficulty="4" type="2"
         descr="Race with the 360 on bridged tracks as fast as you can while avoiding the walls." >
      <car names="360" />
      <hud minimap="1" chkArrow="1" chkBeam="1" trkGhost="1" />
      <sim mode="normal" damage="2" boost="0" flip="0" rewind="1" carChng="0" abs="0" tcs="0" />
      <pass avgPoints="12" />
      <tracks>
         <t name="W12-Peaks" laps="4" passPoints="12" />
         <t name="F9-MadMntn" laps="2" passPoints="9" />
         <t name="I9-Web" laps="1" passPoints="9" />
      </tracks>
   </challenge>

Include this code into challenges.xml to use.

New scenery championship:
{l Code}: {l Select All Code}
   <champ name="Mountain Trails" ver="1" difficulty="2" type="5"
                        descr="On-road tracks in mountain environments.">
      <t name="D2-Mntn" laps="3"/>
      <t name="G5-Climb"/>
      <t name="J20-JungleMaze"/>
      <t name="O4-MossyMntn" laps="2"/>
      <t name="F10-MntnTrail" laps="2"/>
      <t name="F13-Castle" laps="2" />
      <t name="F12-HighPeaks"/>
      <t name="M3-Mudlake" laps="2" />
      <t name="W7-LJs-Mntn" laps="4" />
      <t name="W13-MtFog" laps="3" />
      <t name="W11-Glacier" laps="1" />
        </champ>

Include this code into championships.xml to use.

Please playtest before you consider an inclusion into the game.

Edit: Updated “Bridge Blaster” challenge for Stunt Rally version 2.3.
Edit 2: Updated “Mountain Trails” as well …

Re: Custom challenges and championships

PostPosted: 27 Jan 2014, 23:46
by dimproject
Mountain Trails - cool!

Bridge Blaster - hard
In tab Setup need set:
Steering range multipliers
Simulation - 0.7
Surface - 0.8
0W12-Peaks - can't pass (10-11 points)
F9-MadMntn - (4-5 points) or car damage over in this track
I9-Web - long difficult track (2-3 points).
10 4 2 (avgPoints = 7)

Re: Custom challenges and championships

PostPosted: 09 Feb 2014, 19:29
by dimproject
These files are readies for playing.
config.zip
(9.62 KiB) Downloaded 775 times

CryHam, this challenge, championship is good?

Re: Custom challenges and championships

PostPosted: 04 Aug 2014, 03:16
by Wuzzy
Here’s a new challenge:
{l Code}: {l Select All Code}
        <challenge name="OT Challenge" ver="1" difficulty="2" type="2"
            descr="Drive the OT through some easy slow tracks." >
           <car names="OT" />
           <hud minimap="1" chkArrow="1" chkBeam="1" trkGhost="1" />
           <sim mode="normal" damage="2" boost="0" flip="0" rewind="1" carChng="0" abs="0" tcs="0" />
           <pass avgPoints="14.5" />
           <tracks>
               <t name="T1-Autumn" laps="1" passPoints="10.0" />
               <t name="M2-Bumps" laps="1" passPoints="12.0" />
               <t name="I4-Sunset" laps="1" passPoints="11.7" />
               <t name="J1-Curly" laps="1" passPoints="8.0" />
               <t name="J12-Fog" laps="1" passPoints="12.0" />
           </tracks>
        </challenge>


The OT Challenge. Drive the OT through 5 easy tracks.

Re: Custom challenges and championships

PostPosted: 05 Aug 2014, 19:39
by CryHam
Woah. Totally forgot about this post.
I added all 3. With some tweaks and somewhat different name and descr.

Re: Custom challenges and championships

PostPosted: 05 Aug 2014, 22:10
by Wuzzy
Sorry, Mountain Trails does not work correctly, the winter tracks have incorrect names (“0W” instead of “W”).

Re: Custom challenges and championships

PostPosted: 05 Aug 2014, 22:22
by CryHam
Ah. Thanks, fixed.

Re: Custom challenges and championships

PostPosted: 06 Aug 2014, 05:28
by Wuzzy
Okay, here’s a small experiment with a new challenge “type”: The singleton (single challenge). This is still highly experimental.

A single challenge is a challenge with only 1 track and the goal is to get 10 points. 1 lap, no boost, full damage and ES only. I chose ES simply because almost all SR tracks have an ES ghost. Other cars would be just be estimations.
Because of the lack of an better option, I put the challenges into the “Special” tab.

Image

I have created a challenge for every pre-installed track except the test tracks. All challenges are indentical in their rules with two exceptions: W13-MtFog, D12-Sandstorm. Those challenges do not allow checkpoint aids, to make these challenges slightly more interesting. Maybe it could be neccessary to weaken or even disable the damage for a few tracks.
Warning! Editing challenges.xml may destroy your challenge progress. (I am not sure). To install the new challenges, download single_challenges.xml and insert the contents somewhere in the “Special” section of your challenges.xml.




Why have I done this? Well, because I think a challenge for every single track might be interesting. The player can try to beat the track ghost and keep progress. Using the quick race for that is rather poor since the game does not care about the car, about using or not using boost etc. So it is not really comparable. Also: Stunt Rally simply has was too few challenges. And, besides, this is how I wanted challenges to be in the first place. ;-) But I am still fine with the current challenge system, because it is already pretty powerful. But I guess its full potential has still not been really used yet.



I have written a small Lua script (chalgen.lua) to automatically generate the challenges. This Lua script also needs a file called “tracks.txt” which contains a list of all tracks. This list was semi-automatically created by grepping trhough the track folder. I should come up with a full-autoted script somehow. Just run the Lua script with the Lua interpreter and it will generate a file called “single_challenges.xml”. I manually edited the output for W13-MtFog and D12-Sandstorm.

Currently, the generated challenges all have the difficulty “medium”. I would like to change that to be equal to the track’s difficulty but I do not now yet how I could extract the difficulty level automatically.

Re: Custom challenges and championships

PostPosted: 06 Aug 2014, 14:48
by CryHam
I don't like it that much.
Firstly it's just always 1 car ES. The game isn't about just 1 car, right. It's just that it is used for track ghosts.
Secondly there is a lot of them, aren't either colored nor sorted, just a bulk load of tracks in list, most users probably don't know what scenery is it or what track by name, too much to click through, Tracks list is much better for it.
Thirdly, that all is what single race is meant for. There was a discussion about if boost setup should have own records in .txt, right now hasn't.

Editing challenges.xml won't destroy your challenge progress. Only if you change number of tracks in a challenge or challenge name or it's version then progress will reset for that challenge.
But it is always safer to back up your progress before such edits.

I think we have a lot of challenges. Sure, we can have more. But for me a challenge has to have some added art in it, like a motive or specific combination of tracks or conditions etc.