The skill cvar is limited to a value between 0 and 3. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Caleb 'Ghoul' Delnay > Sent: Sunday, January 04, 2004 3:33 PM > To: [EMAIL PROTECTED] > Subject: [hlcoders] Adding a new skill level and Steam > > Alright, for my mod I'm messing around with adding a new > difficulty level > above Hard. At a glance it's obvious the difficulty level is > controlled > by the "skill" cvar, but I've noticed something. It appears that the > engine caps the value of the skill cvar to 3. I set it to 4, > started a > new game, and noticed in the console it said: > > GAME SKILL LEVEL:3 > > It should be 4. So I typed "skill" into the console and Steam's > auto-complete put "skill 3", I removed the 3 and just sent > skill, "skill > is 3". Now that kind of puts a hindrance on adding another > difficulty > level since it can't go above 3. I know I can hack around it pretty > easily if I add a cvar to my mod and use that, but that > forces players to > edit their game.cfg and add that cvar in if they want to play that > difficulty. Since mod cvars can't be modified before the dll/map is > loaded as they don't exist. > > Now all of this is in Steam like I mentioned. Using GFCScape > by Nem I was > able to extract the NewGameDialog.res file and add a new > radio button for > the skill choices. But I don't know what to (or if I even > can) edit to > make Steam start with my own skill level. Right now it just > starts the HL > Hazard course similar to the training radio button. > > So does anyone have any ideas? Thanks. > > -- > Caleb 'Ghoul' Delnay > www.nocensmundus.net > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders