HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

AI Editor : TFT

03-17-2003, 03:15 PM#1
vjeux
Hi : I find this in war3patch.MPQ of The Frozen Throne (3.03)

Quote:
//************************
[AIFunctions]
// Defines function calls used by the AI Editor
// Note that this section should match the format of the [TriggerCalls] section
// in TriggerData.txt, and the strings for these functions are in TriggerStrings.txt.
//
// Key: Function name
// Value 0: first game version in which this function is valid
// Value 1: flag (0 or 1) indicating if the call can be used in events (meaningless for AI Editor)
// Value 2: return type
// Value 3+: argument types
//

// --- Boolean
// - Hero

CaptainIsHome=1,0,boolean
_CaptainIsHome_Category=TC_AI_HERO

CaptainIsFull=1,0,boolean
_CaptainIsFull_Category=TC_AI_HERO

CaptainIsEmpty=1,0,boolean
_CaptainIsEmpty_Category=TC_AI_HERO

CaptainRetreating=1,0,boolean
_CaptainRetreating_Category=TC_AI_HERO

CaptainAtGoal=1,0,boolean
_CaptainAtGoal_Category=TC_AI_HERO

// - Misc

CreepsOnMap=1,0,boolean
_CreepsOnMap_Category=TC_AI_MISC

// - Town

TownThreatened=1,0,boolean
_TownThreatened_Category=TC_AI_TOWN

TownHasMine=1,0,boolean,integer
_TownHasMine_Category=TC_AI_TOWN

TownHasHall=1,0,boolean,integer
_TownHasHall_Category=TC_AI_TOWN

ExpansionNeeded=1,0,boolean
_ExpansionNeeded_Category=TC_AI_TOWN

// --- Integer

// - Hero

CaptainGroupSize=1,0,integer
_CaptainGroupSize_Category=TC_AI_HERO

CaptainReadinessHP=1,0,integer
_CaptainReadinessHP_Category=TC_AI_HERO

CaptainReadinessMa=1,0,integer
_CaptainReadinessMa_Category=TC_AI_HERO

// - Misc

CurrentAttackWave=1,0,integer
_CurrentAttackWave_Category=TC_AI_MISC

MeleeDifficulty=1,0,integer
_MeleeDifficulty_Category=TC_AI_MISC

// - Resources

GetGold=1,0,integer
_GetGold_Category=TC_AI_RESOURCES

GetWood=1,0,integer
_GetWood_Category=TC_AI_RESOURCES

GetGoldOwned=1,0,integer
_GetGoldOwned_Category=TC_AI_RESOURCES

FoodUsed=1,0,integer
_FoodUsed_Category=TC_AI_RESOURCES

TotalFoodProduced=1,0,integer
_TotalFoodProduced_Category=TC_AI_RESOURCES

GetFoodMade=1,0,integer,unitcode
_GetFoodMade_Category=TC_AI_RESOURCES

// - Town

GetMinesOwned=1,0,integer
_GetMinesOwned_Category=TC_AI_TOWN

TownWithMine=1,0,integer
_TownWithMine_Category=TC_AI_TOWN

GetNextExpansion=1,0,integer
_GetNextExpansion_Category=TC_AI_TOWN

// - Unit

GetUnitCount=1,0,integer,unitcode
_GetUnitCount_Category=TC_AI_UNIT

GetUnitCountDone=1,0,integer,unitcode
_GetUnitCountDone_Category=TC_AI_UNIT

GetTownUnitCount=1,0,integer,unitcode,integer,boolean
_GetTownUnitCount_Defaults=_,0,false
_GetTownUnitCount_Category=TC_AI_UNIT

GetUnitGoldCost=1,0,integer,unitcode
_GetUnitGoldCost_Category=TC_AI_UNIT

GetUnitWoodCost=1,0,integer,unitcode
_GetUnitWoodCost_Category=TC_AI_UNIT

// - Upgrade

GetUpgradeLevel=1,0,integer,techcode
_GetUpgradeLevel_Category=TC_AI_UPGRADE

GetUpgradeGoldCost=1,0,integer,techcode
_GetUpgradeGoldCost_Category=TC_AI_UPGRADE

GetUpgradeWoodCost=1,0,integer,techcode
_GetUpgradeWoodCost_Category=TC_AI_UPGRADE
03-17-2003, 03:42 PM#2
PitzerMike
Thats of course good news, hope they will really give us an ai editor
03-18-2003, 09:46 AM#3
AIAndy
Looks like it will be a GUI editor like the trigger editor but I hope there will be a custom text possibility too.
03-30-2003, 06:14 AM#4
Xaran Alamas
I posted about this in the Map Development forum but now the thread has dissapeared :bgrun:
03-30-2003, 07:27 AM#5
Undead-Swarm
Read this thead, it tells why its not there, my latest thread is gone to...

Oh well, we all make mistakes...
03-31-2003, 05:13 AM#6
Xaran Alamas
yeah I found out about the bug shortly after posting ://// but anyway it's good news regardless who found it:ggani:
04-19-2003, 02:26 PM#7
LunarCrisis
excerpt from blizzard insider #14 mailbag
http://www.blizzard.com/insider/014/mailbag.shtml

Quote:
Q: Are you guys planning any changes or enhancements to the World Editor in The Frozen Throneâ„¢?

A: Absolutely. Here are the major additions to the World Editor.


Campaign Editor - The Campaign Editor allows users to bundle maps together into a single custom campaign file, greatly reducing the difficulty of distributing or playing a new campaign.

AI Editor - Create custom AI scripts with the AI editor to better control the actions of computer players on a map.

Object Editor - The Unit Editor is now the Object Editor. Users can use the Object Editor to not only modify or create units and items, but also doodads, destructibles, abilities, and upgrades. The Object Editor also includes additional customization options for units and items, and a greatly expanded limit on the number of custom objects.

Trigger Editor Enhancements - The Trigger Editor has been updated with new trigger actions, an improved variables dialog, better trigger action organization, and much more.

User Interface Enhancements - The World Editor now has better organized item and unit palettes, new sound, video, and test-map options, a terrain placement cursor, control and hotkey customization, and much more.



Ubahz
04-19-2003, 07:31 PM#8
SCVirus
they also promised spell editor not creator tho
04-20-2003, 05:05 AM#9
Xaran Alamas
Quote:
Originally posted by SCVirus
they also promised spell editor not creator tho

Hmmm but in WC3 the Unit "editor" could create new units too (well based off an existing one) so it's reasonable to assume the Spell editor might have similer functionallity, you never know they might make a way to make new buffs :ggani: