Difficulty

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Difficulty

Post by Alcoholic »

first of all, is there a way you can play custom maps on settings other than easy? when i use maplist, its always on easy..

now for another question: can you manually change the difficulty setting?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Type skill 0 (easy), skill 1 (normal) or skill 2 (hard) in console.
Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

ok, and how do i change it with script?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

setcvar skill 2

But it has little use, since you have to restart the server to notice the changes.
Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

is there anyway i can force the difficulty? like in the prespawn stage or something?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

No I don't think so. You can try though.
Image
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

level.skill = setcvar skill

if(level.skill == "0")
{
$germanenemy.accuracy = 0
//make him real sucky in shooting
}
if(level.skill == "1")
{
$germanenemy.accuracy = 100
}

we can also use this to make the hit damage amount by bombs, or number of enemies spawned.
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

yeah but i want the difficulty for more weapon damage.
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

hmmm, more AI and better AI accuracy increase damages :wink:
Live to map, not map to live.
-mohaa_rox, .map
moderator
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Try this:
$player damage_multiplier 10

Or try some other values if it doesn't give the right effect.
Image
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Post by Alcoholic »

lol x 10 thats like 1 hit kill. that works gr8 though thxx.
Post Reply