New Challenge Script (CHL) compiler

Another question about the challenge.chl's

Where there different versions of the challenge.chl's? Not as in different operating systems but as in charter creature name changes and a different over all behavior of lythes and nemises creature?

Only asking because after reveiwing the old mac files specifically.......\scripts\quest\ SetupComputerCreatures.txt

Half way down is this text

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
begin script SetupLethysCreature(PlayerNumber, CreaturePos, CreatureSize)

ComputerCreature = 0

start

// LOAD THE COMPUTER CREATURE
// T_LOAD T_CREATURE constant string T_PLAYER expression T_AT coord_expression
load creature CREATURE_TYPE_WOLF "LethysCreature" player PlayerNumber at [CreaturePos]
ComputerCreature = get player PlayerNumber creature

// Set the computer creature name to 'Laetes'
set ComputerCreature name HELP_TEXT_LETHYS_CREATURE_NAME_01

// Make the computer creature fully mature
set ComputerCreature DEVELOPMENT_PHASE_FULLY_MATURE development

// Set the size of the computer creature
enable ComputerCreature auto scale CreatureSize

I noticed that the name for lethys creature is suppose to be "Laetes"?????
But when I ran the copy of bw(2001) I have, I noticed lethys creatures name was "chugworth" when fighting.

Also was reading the file called ....\scripts\Land2ComputerAI; trying to see if I understand what I'm reading.

//------------------------------------------------------------------------------------------------------------------------
// The computer player intelligence for the start of the level.
//------------------------------------------------------------------------------------------------------------------------
begin script SetUpComputerPlayersAtStartOfLand2
// Put creatures at their respective Temples + 20 metres
KhazarCreaturePos = marker at [2540.93,78.97,1916.63]
LethysCreaturePos = marker at [1050.88,147.59,3607.17]
KhazarScale = 1.2
LethysScale = 1.5
start
// set computer player 3 personality "DefeatPlayer" 1.0
set computer player 2 personality "ExpandInfluence" 0.20
set computer player 3 personality "ExpandInfluence" 0.20

set computer player 2 attitude to player 3 to 0.25
set computer player 3 attitude to player 2 to 0.25
set computer player 1 attitude to player 1 to -1
set player 1 ally with player 2 percentage 1

/*********** SETUP COMPUTER PLAYERS CREATURES FOR LAND 2 ***********/

// Parameters are: (Player number, Position to place creature, Creatures size)

run background script SetupKhazarCreature(2, KhazarCreaturePos, KhazarScale)
run background script SetupLethysCreature(3, LethysCreaturePos, LethysScale)

/*********** SETUP COMPUTER PLAYERS CREATURES - FINISHED ***********/

end script SetUpComputerPlayersAtStartOfLand2

This was just the first quarter of the file. But if I'm understanding what I'm reading things like

set computer player 3 personality "DefeatPlayer" 1.0............ drive the ai to attack and is maxed out??? and if the number changes to 0.5 would cut down the amount of attacks from "computer player 3."


set computer player 1 attitude to player 1 to -1............ makes it so computer player 1(does that mean lethys after khazar is destroyed?) has a 100% negative attitude toward player 1 causing them to attack more??? So if my guesses are correct and I'm understanding what I'm reading changing simple values like this determines the aggresiveness of lethys???

Thanks for the help.
 
Back
Top