You must be logged in to post messages.
Please login or register

Scenario Design and Discussion
Moderated by Sebastien, Mr Wednesday

Hop to:    
Welcome! You are not logged in. Please Login or Register.5 replies
Age of Kings Heaven » Forums » Scenario Design and Discussion » I need help with AI
Bottom
Topic Subject:I need help with AI
tomatereloco
Squire
posted 08-01-08 07:26 PM CT (US)         
I need a AI for my scenarios that inmobilizes the other player's units and bans them to change diplomacy.

Sorry for my grammar mistakes

Tom... (really a simple signature :P (I always put that face :P))
AuthorReplies:
hunnic paladin
Squire
posted 08-01-08 07:46 PM CT (US)     1 / 5       
http://aok.heavengames.com/blacksmith/showfile.php?fileid=4122
http://aok.heavengames.com/blacksmith/showfile.php?fileid=4206
http://aok.heavengames.com/blacksmith/showfile.php?fileid=4167

H U N N I C ~ P A L A D I N
HP is a very nice guy who'd rather be polite and nod his head in agreement to other people's opinions, than act tough and bluntly. -Andanu Trisatya
On another note, I read that you are 13, I must say that I think that you are very knowledgeable for 13. -street (That was a long time ago...)
Mystery Maze III - Currently Stalled - 39.8% Complete
tomatereloco
Squire
posted 08-01-08 09:47 PM CT (US)     2 / 5       
I need an unchangeable diplomacy AI for the other players and at the same time an inmbolile units AI
AnastasiaKafka
Squire
posted 08-01-08 10:07 PM CT (US)     3 / 5       
I'm not aware of any other specific AI dealing with diplomacy as you described. Other than the immobile AI's of course. One work around however is to use looping triggers to maintain a desired diplomacy. Also, we might be able to remove the diplomacy rules from a specific AI.

"I take it that this is the Anastasia Scud pines for?" - Epic Commander
"What Ana said. Use sugar and the whip." - aka the Pilot
"I think you will realize the emphasis was on Ana and Cake." - Monk
WizardBoy
Squire
posted 08-02-08 05:59 AM CT (US)     4 / 5       
; Copy paste from here

; This bans the AI player to be allied to player 2
; Using the same code you can make the other diplomacy bans
; Important things to know is:

; - Change the 2 to a number:
; between 1 and 8 to specify that player been
; affected by the AI.

; - Change the ally to another stance:
; Available options:
; - ally
; - neutral
; - enemy.

; For every player that is banned to change...
; you need to make a seperate rule.
; For every player to another player...
; you need to make this...
; kind of small rules.
; To understand what a rule is...
; the below set of lines form together a rule.
; A rule start with "(defrule" and ends with ")"
(defrule
(players-stance 2 ally)
=>
(set-stance 2 enemy)
)

If you still have questions, please ask.

(_(_(_ World of Warcraft _)_)_)
(_(_(_(_(_( = [|]Level: 85 Pierce [|] = )_)_)_)_)_)
(_(_(_(_(_(_(_(_( = [|] Class: Warrior[|] = )_)_)_)_)_)_)_)_)
(_(_(_(_(_(_(_(_( = [|]Race: Human [|] = )_)_)_)_)_)_)_)_)
(_(_(_( = WizardBoy: | Proud member of AOK = Click to add population = )_)_)_)
tomatereloco
Squire
posted 08-04-08 09:03 PM CT (US)     5 / 5       
so I have to put:

(defrule
(Players-stance 2 ally)
=>
8set-stance 2 enemy)

)

To make all players be enemy of player 2?

Tom... (really a simple signature :P (I always put that face :P))
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames