Iceman
|
posted on 23-5-09 at 05:33 |
|
|
AI Accracy
This wac file will incease the killing accracy of the AI with each extra human player joining that game.
The lower the number of the accuracyspread the higher the AI Accracy becomes
//.....ACCURACY....
if (humans == 1) then
accuracyspread = 14
elseif
(humans == 2) then
accuracyspread = 13
elseif
(humans == 3) then
accuracyspread = 11
elseif
(humans == 4) then
accuracyspread = 10
elseif
(humans == 5) then
accuracyspread = 8
elseif
(humans == 6) then
accuracyspread = 7
elseif
(humans == 7) then
accuracyspread = 6
elseif
(humans == 8) then
accuracyspread = 5
elseif
(humans > 8) then
accuracyspread = 4
endif
|
|
Vegas_Bear
Private
Posts: 3
Registered: 16-3-09
Member Is Offline
|
posted on 19-8-09 at 17:00 |
|
|
Here is another method...
if gt(humans,0) and le(humans,2) and elapse(120) then
accuracyspread = 15
endif
if gt(humans,2) and le(humans,6) and elapse(120) then
accuracyspread = 10
endif
if gt(humans,6) and elapse(120) then
accuracyspread = 5
endif
|
|
KU43
Recruit
Posts: 1
Registered: 4-1-07
Member Is Offline
Mood: No Mood
|
posted on 13-12-11 at 08:23 |
|
|
Looks like I'm going to learn something today. This is the first time I have seen the elseif command.
|
|
ShadowZ
Administrator
      
Posts: 486
Registered: 20-2-09
Location: Texas, U.S.A.
Member Is Offline
Mood: Not enough hours in a day
|
posted on 14-12-11 at 07:47 |
|
|
Yep, just when you thought you knew everything there is, you stumble across something that proves you wrong.
Sometimes its fun, though, keeps the mind sharp.
Time is not my enemy, although we do have many disagreements...

|
|