Go Back   Novahq.net Forum > Games > Joint Operations
FAQ Community Calendar Today's Posts Search

Joint Operations Anything about the Joint Operations series of games.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-15-2023, 05:33 AM
Carcharadon is offline Carcharadon
Registered User

Join Date: Feb 2006
Posts: 19

AI Accuracy Wac Script (Difficulty Adjustment)

Hi there,

since i saw a lot of Maps made the same mistake about the AI Accuracy Wac Script, i thought i should share how this is done correctly.

A Difficulty Adjustment/AI Accuracy Wac Script looks like this:

//Difficulty Adjustment


if (humans == 1) then accuracyspread = 15
elseif (humans == 2) then accuracyspread = 10
elseif (humans == 3) then accuracyspread = 7
elseif (humans == 4) then accuracyspread = 4
elseif (humans >= 5) then accuracyspread = 1
endif


This script only works if both Accuracy Values for each Enemy/AI is below 100! Example: Accuracy 1 = 70, Accuracy = 90.

I’ve played the last Months a lot of Maps that had this AI Setup: Accuracy1 = 75 & Accuracy2 = 100. Means, there is no Difficulty Adjustment in-Game because of the Accuracy2 100 Value! With Accuracy2 = 95 it would work just fine.

I hope, this is Helpful for new Maps in the Future or if some Mapmakers would like to adjust there old(er) Maps.


Cheers
Ennio
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:37 AM.




Powered by vBulletin®