A.I not using spellbook.
#1 Guest_Guest_*
Posted 06 August 2010 - 08:51 PM
#2
Posted 06 August 2010 - 09:35 PM
My political compass
There's a story that the grass is so green...what did I see? Where have I been?
#3
Posted 07 August 2010 - 04:18 AM
Also in the base game there are a couple spells missing from the Evil spellbook in system.ini: evil Barrage, Palantir Vision, and Gundabad Orcs.
#4 Guest_Guest_*
Posted 07 August 2010 - 09:28 PM
#5
Posted 08 August 2010 - 02:25 AM
Open the map files with Worldbuilder of course. You'll need to use the scripting tool in the upper right to edit the spell execution.
#6 Guest_Guest_*
Posted 08 August 2010 - 04:22 PM
#7 Guest_Guest_*
Posted 09 August 2010 - 02:14 AM
#8
Posted 09 August 2010 - 02:30 AM
#9
Posted 09 August 2010 - 01:14 PM
Well you need to... look for everything being correct. It's really easy so this shouldn't be a problem.I managed to get Goblins to uses their Cave Bats and Taint, but they don't seem to use other powers. Can you tell me what to look for in these scripts? Also if there is something else to check out, please tell me.
Eg. mine (edited) says:
Spell List 01 - Norm - Purchase Taint
*** IF ***
Counter 'Wild Spell List Choice' IS Equal To 1
*AND* Player Player '<This Player>' can purchase Science 'SCIENCE_Taint'.
*** THEN ***
Player '<This Player>' attempts to purchase Science Science 'SCIENCE_Taint'.
Set Flag named 'Taint Spell Purchased' to TRUE
Enable Script 'Wild Spell List 01 - Norm - Purchase Spiderling Allies'.
Then the next one down the line is:
Wild Spell List 01 - Norm - Purchase Spiderling Allies
*** IF ***
Counter 'Wild Spell List Choice' IS Equal To 1
*AND* Flag named 'Taint Spell Purchased' IS TRUE
*AND* Player Player '<This Player>' can purchase Science 'SCIENCE_SpiderlingAllies'.
*** THEN ***
Player '<This Player>' attempts to purchase Science Science 'SCIENCE_Darkness'.
Set Flag named 'Spiderling Allies Spell Purchased' to TRUE
Enable Script 'Wild Spell List 01 - Norm - Purchase Darkness'.
I don't know what else to say really. You need to make sure:
1) The powers are in the right order for the power tree
2) You set the power's Flag to True when purchasing it
3) Script names are correct
4) First script in the list is active, others are disabled
5) Difficulty levels are set properly
etc. etc.
Just go in a chain.
And er, look my Spiderling Allies one is wrong. :( Should say "Player '<This Player>' attempts to purchase Science Science 'SCIENCE_SpiderlingAllies'." It's easy to make a little error like that, and now Goblins never use Spiderling Allies on that pp path.
Edited by Prolong, 09 August 2010 - 01:17 PM.
#10 Guest_Guest_*
Posted 09 August 2010 - 08:42 PM
Well you need to... look for everything being correct. It's really easy so this shouldn't be a problem.I managed to get Goblins to uses their Cave Bats and Taint, but they don't seem to use other powers. Can you tell me what to look for in these scripts? Also if there is something else to check out, please tell me.
Eg. mine (edited) says:
Spell List 01 - Norm - Purchase Taint
*** IF ***
Counter 'Wild Spell List Choice' IS Equal To 1
*AND* Player Player '<This Player>' can purchase Science 'SCIENCE_Taint'.
*** THEN ***
Player '<This Player>' attempts to purchase Science Science 'SCIENCE_Taint'.
Set Flag named 'Taint Spell Purchased' to TRUE
Enable Script 'Wild Spell List 01 - Norm - Purchase Spiderling Allies'.
Then the next one down the line is:
Wild Spell List 01 - Norm - Purchase Spiderling Allies
*** IF ***
Counter 'Wild Spell List Choice' IS Equal To 1
*AND* Flag named 'Taint Spell Purchased' IS TRUE
*AND* Player Player '<This Player>' can purchase Science 'SCIENCE_SpiderlingAllies'.
*** THEN ***
Player '<This Player>' attempts to purchase Science Science 'SCIENCE_Darkness'.
Set Flag named 'Spiderling Allies Spell Purchased' to TRUE
Enable Script 'Wild Spell List 01 - Norm - Purchase Darkness'.
I don't know what else to say really. You need to make sure:
1) The powers are in the right order for the power tree
2) You set the power's Flag to True when purchasing it
3) Script names are correct
4) First script in the list is active, others are disabled
5) Difficulty levels are set properly
etc. etc.
Just go in a chain.
And er, look my Spiderling Allies one is wrong. :( Should say "Player '<This Player>' attempts to purchase Science Science 'SCIENCE_SpiderlingAllies'." It's easy to make a little error like that, and now Goblins never use Spiderling Allies on that pp path.
Alright, thanks a lot. If I get anymore questions i'll come back, but i'm pretty sure this will help me a lot.
#11 Guest_Guest_*
Posted 10 August 2010 - 02:59 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users