View Full Version: Added Faction Ground Skirmish AI

Omega Modding Group > EaW modding general discussion > Added Faction Ground Skirmish AI


Title: Added Faction Ground Skirmish AI
Description: I think I saw it before somewhere.


Droid803 - September 27, 2007 10:44 PM (GMT)
I'm pretty certain that somewhere, someone had stated that there has to be something done to get Land skirmish AI to work.

I've pretty much got everything else AI-wise to work : Space Skirmish, GC

But not land skirmish. All they build are heroes. They use their units fine, but even after adding everything to the LUA, they still only build heroes. I remeber someone saying that there was something you needed to do to make sure that they build stuff other than heroes... I'm 100% certain that its somewhere, but I'm at a loss as to where to find it...

Cause right now, its just no fun to kick an AI's ass who only builds a single hero...

shak4l 01 - September 28, 2007 05:47 PM (GMT)
It may be Sidious invader on FF forums, search there. He was messing with LUAs alot.

Droid803 - September 29, 2007 03:08 AM (GMT)
I went and looked through around 60 pages...no avail...

Sidious Invader - October 9, 2007 03:06 PM (GMT)
In scripts\ai\landmode\TacticalMultiplayerBuildLandUnitsGeneric.lua....
CODE
TaskForce = {
{
 "ReserveForce"
 ,"DenySpecialWeaponAttach"
 ,"DenyHeroAttach"
 ,"RC_Level_Two_Tech_Upgrade | RC_Level_Three_Tech_Upgrade = 0,1"
 ,"EC_Level_Two_Tech_Upgrade | EC_Level_Three_Tech_Upgrade = 0,1"
 ,"UC_Level_Two_Tech_Upgrade | UC_Level_Three_Tech_Upgrade = 0,1"  
 ,"Boba_Fett_Team_Land_MP | Darth_Team_Land_MP | General_Veers_Team | Emperor_Palpatine_Team | Mara_Jade_Team = 0,1"
 ,"Han_Solo_Team_Land_MP | Obi_Wan_Team | Droids_Team | Katarn_Team | Yoda_Team | Luke_Skywalker_Jedi_Team | Garm_Bel_Iblis_Team = 0,1"
 ,"Urai_Fen_Team | Bossk_Team | Silri_Team | Tyber_Zann_Team | IG88_Team = 0,1"
 ,"Rebel_Infiltrator_Team | RN_Rebel_Pod_Walker_Company | Rebel_Pirate_Skiff_Team | Rebel_Pirate_Swamp_Speeder_Team | Rebel_Pod_Walker_Company | Rebel_Infantry_Squad | Rebel_Tank_Buster_Squad | Rebel_Artillery_Brigade | Rebel_Light_Tank_Brigade | Rebel_Heavy_Tank_Brigade = 0,3"
 ,"EN_Imperial_Pod_Walker_Company | Empire_Pirate_Skiff_Team | Empire_Pirate_Swamp_Speeder_Team | Imperial_Stormtrooper_Squad | Imperial_Artillery_Corp | Imperial_Anti_Infantry_Brigade | Imperial_Armor_Group | Imperial_Heavy_Scout_Squad | Imperial_Heavy_Assault_Company | Imperial_Light_Scout_Squad | DarkTrooper_P1_Company | DarkTrooper_P2_Company | DarkTrooper_P3_Company | Noghri_Assassin_Squad = 0,3"
 ,"Canderous_Assault_Tank_Company | Destroyer_Droid_Company | Underworld_Disruptor_Merc_Squad | MAL_Rocket_Vehicle_Company | Underworld_Merc_Squad | Night_Sister_Company | MZ8_Pulse_Cannon_Tank_Company | Underworld_Pod_Walker_Company | Underworld_Skiff_Team | Underworld_Swamp_Speeder_Team = 0,3"
 ,"Rebel_Speeder_Wing | Gallofree_HTT_Company | Rebel_MDU_Company | X_Wing_Fighter_Land_squad | Y_Wing_Bomber_Land_squad | Z95_Fighter_Land_squad | YT1300_Freighter_Land_squad = 0,1"
 ,"HAV_Juggernaut_Company | Lancet_Air_Wing | Imperial_Anti_Aircraft_Company | Empire_MDU_Company | TIE_Fighter_Land_squad | TIE_Bomber_Land_squad = 0,1"
 ,"Vornskr_Wolf_Pack | F9TZ_Cloaking_Transport_Company | Underworld_MDU_Company | Skipray_Bomber_Squad | StarViper_Land_squad = 0,1"
 }
}
Notice the land based fighters i added? It is just like adding space units to skirmish mode.

Droid803 - October 10, 2007 12:24 AM (GMT)
The problem is I did that already, from the start...
But they still won't build anything but the hero and on the rare occasion infantry (they get like several hundred thousand credits yet refuse to build vehicles)...

The stuff I added to the preexisting factions this way work -they do build them...

Sidious Invader - October 10, 2007 06:46 AM (GMT)
Sorry, I should have read your thread title a little better! I didn't realize it was for an added faction. I spent a little time going thru the AI .lua's, but couldn't find hardly any faction specific AI. I'll keep looking.




Hosted for free by zIFBoards