Thread Tools
Old November 20, 2002, 17:50   #1
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 08:20
Local Date: November 1, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Doubt about goals.txt !
Quote:
ThreatenBonus - Flat bonus to give to this goal if an associated threat has been given
The bonus to the goal of this entry in the goals.txt is given to the civilization who just made threat or for the one that was threatened?

-Thanks in advance
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old November 21, 2002, 06:44   #2
child of Thor
Call to Power II Democracy GameCTP2 Source Code Project
Emperor
 
child of Thor's Avatar
 
Local Time: 11:20
Local Date: November 1, 2010
Join Date: Jan 2002
Location: UK
Posts: 3,272
I can't answer the question directly, but i don't think i've ever seen an AI change it's stance after you threaten them - i use it just to justify to myself that they had it coming!?
__________________
'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

Bush's Republican=Neo-con for all intent and purpose. be afraid.
child of Thor is offline  
Old November 21, 2002, 12:29   #3
mapfi
Call to Power II Democracy GameCall to Power II Multiplayer
Prince
 
Local Time: 12:20
Local Date: November 1, 2010
Join Date: Jul 2002
Location: San Francisco, CA
Posts: 848
I've seen the threat of declaring war work and I wasn't even much ahead of the AI. It was however a vanilla game. Never ever have I seen threatening work in the mods.
mapfi is offline  
Old November 21, 2002, 14:40   #4
Peter Triggs
CTP2 Source Code ProjectCivilization IV Creators
King
 
Local Time: 11:20
Local Date: November 1, 2010
Join Date: Jan 2000
Location: Gone Fishin, Canada
Posts: 1,059
This ThreatenBonus doesn't have anything to do with diplomatic threats, it's based on military/geographic threats. Check out 'How does the AI task it's units'; there's a link in the Resources For Modmakers thread.
Peter Triggs is offline  
Old November 21, 2002, 14:55   #5
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 08:20
Local Date: November 1, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
There is two similar stuff:

Code:
GOAL_INCITE_REVOLUTION {
  AvoidWatchfulCity

  SquadClass:Special

  TargetType:City

  TargetOwner:HotEnemy
  TargetOwner:ColdEnemy
  TargetOwner:Neutral

  Execute	ORDER_INCITE_REVOLUTION

  ThreatBonus			  250
  EnemyValueBonus		  500 
  AlliedValueBonus		 -100
  PowerBonus			 1000 
  DistanceToHomeBonus		    0
  DistanceToEnemyBonus		    0
  ChokePointBonus		10000
  UnexploredBonus	      -999999
  ObsoleteArmyBonus		    0
  TreaspassingArmyBonus		 5000

  ThreatenType:DestroyCity
  ThreatenBonus 20000

  ForceMatch:Special
}
There is the
Code:
  ThreatBonus			  250
and the
Code:
  ThreatenType:DestroyCity
  ThreatenBonus 20000
And i mean the last one. In your document you tslk about the first.
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old November 21, 2002, 21:47   #6
Peter Triggs
CTP2 Source Code ProjectCivilization IV Creators
King
 
Local Time: 11:20
Local Date: November 1, 2010
Join Date: Jan 2000
Location: Gone Fishin, Canada
Posts: 1,059
Sorry, I should read more carefully.

The bonus will be given to the AI civ that made the threat. So if it's threatened to destroy a city then all it's goals with the DestroyCity flag will get a bonus. I never noticed that before, it's pretty neat.
Peter Triggs is offline  
 

Bookmarks

Thread Tools

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 On

Forum Jump


All times are GMT -4. The time now is 07:20.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team