Last active: Never
Not logged in [Login - Register]
Portal Portal   Search the forums Search   Frequently Asked Questions FAQ   View member list Member List   Staff Staff List   View Topic Activity Topic Activity   Forum Stats Stats   Board Rules Board Rules   Downloads Downloads
Go To Bottom

Printable Version | Subscribe | Add to Favorites  
Author: Subject: AI Accracy
Iceman
Owner/Admin
*********

Avatar

Avatar


Posts: 1272
Registered: 2-4-06
Location: Adelaide South Australia
Member Is Offline

Mood: Very happy

smug.gif 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






http://www.dfreload.com/eagle/sigs/16.gif

http://www.dfreload.com/sigs/doc_bar.gif

http://www.dfreload.com/sig/teamreload3.gif

View user's profile Visit user's homepage View All Posts By User U2U Member
Vegas_Bear
Private


Avatar



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
View user's profile View All Posts By User U2U Member
KU43
Recruit


Avatar



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.
View user's profile View All Posts By User U2U Member
ShadowZ
Administrator
********

Avatar

Avatar


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. :E




Time is not my enemy, although we do have many disagreements...


http://www.dfreload.com/shadowz/SGMod/SGSig.jpg http://www.dfreload.com/shadowz/MarkSigR.gif
View user's profile View All Posts By User U2U Member

  Go To Top





Powered by XMB
Developed By The XMB Group © 2001-2008