Page 1 of 1

CIS bots use the hailfire but dont shoot on REP

Posted: Thu Feb 03, 2005 6:23 pm
by Dragonum
on my geonosis map, the bots use the hailfire but they stand in front of a atte and dont shoot.

what can i do?

Posted: Fri Feb 04, 2005 7:02 am
by Dragonum
the hailfire vehicle is the only vehicle, wich dont fire on REP`s.
the droidfighter and the AAT`s fire on REP`s.

the hailfire drives to an atte and stops, thats all, they dont shoot and the atte destroy the haifire.

i only make vehicle spawns for every vehicle, i changed nothing in the odf files or other files.

the only thing i do in the mission is to make a 3rd factions, the geonosians.

here is the mission lua:

function ScriptInit()
-- Empire Attacking (attacker is always #1)
local REP = 2
local CIS = 1
-- These variables do not change
local ATT = 1
local DEF = 2

AddMissionObjective(CIS, "red", "level.dra3.objectives.1");
AddMissionObjective(CIS, "orange", "level.dra3.objectives.2");
AddMissionObjective(CIS, "orange", "level.dra3.objectives.3");
AddMissionObjective(REP, "red", "level.dra3.objectives.1");
AddMissionObjective(REP, "orange", "level.dra3.objectives.2");
AddMissionObjective(REP, "orange", "level.dra3.objectives.3");




ReadDataFile("sound\\geo.lvl;geo1cw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_basic",
"rep_fly_jedifighter",
"rep_fly_gunship",
"rep_walk_atte",
"rep_fly_gunship_dome",
"rep_fly_jedifighter_dome",
"rep_fly_assault_dome",
"rep_inf_jet_trooper",
"rep_inf_macewindu")

ReadDataFile("SIDE\\cis.lvl",
"cis_inf_basic",
"cis_fly_geofighter",
"cis_fly_droidfighter",
"cis_tread_hailfire",
"cis_walk_spider",
"cis_hover_aat",
"cis_fly_techounion_dome",
"cis_fly_droidfighter_dome",
"cis_fly_fedcoreship_dome",
"cis_inf_countdooku",
"cis_inf_droideka")

ReadDataFile("SIDE\\geo.lvl",
"gen_inf_geonosian")


-- Republic Stats
SetTeamName(REP, "Republic")
SetTeamIcon(REP, "rep_icon")
AddUnitClass(REP, "rep_inf_clone_trooper",25)
AddUnitClass(REP, "rep_inf_arc_trooper",10)
AddUnitClass(REP, "rep_inf_clone_pilot",10)
AddUnitClass(REP, "rep_inf_clone_sharpshooter",6)
AddUnitClass(REP, "rep_inf_jet_trooper",4)
SetHeroClass(REP, "rep_inf_macewindu")

-- CIS Stats
SetTeamName(CIS, "CIS")
SetTeamIcon(CIS, "cis_icon")
AddUnitClass(CIS, "cis_inf_battledroid",25)
AddUnitClass(CIS, "cis_inf_assault",10)
AddUnitClass(CIS, "cis_inf_pilotdroid",10)
AddUnitClass(CIS, "cis_inf_assassindroid",6)
AddUnitClass(CIS, "cis_inf_droideka",4)
SetHeroClass(CIS, "cis_inf_countdooku")

-- Attacker Stats
SetUnitCount(ATT, 55)
SetReinforcementCount(ATT, 600)
-- AddBleedThreshold(ATT, 31, 0.0)
-- AddBleedThreshold(ATT, 21, 0.75)
AddBleedThreshold(ATT, 11, 0.75)
AddBleedThreshold(ATT, 10, 1.5)
AddBleedThreshold(ATT, 1, 3.0)


-- Defender Stats
SetUnitCount(DEF, 55)
SetReinforcementCount(DEF, 600)
-- AddBleedThreshold(DEF, 31, 0.0)
-- AddBleedThreshold(DEF, 21, 0.75)
AddBleedThreshold(DEF, 11, 0.75)
AddBleedThreshold(DEF, 10, 1.5)
AddBleedThreshold(DEF, 1, 3.0)


-- Local Stats
SetTeamName(3, "locals")
AddUnitClass(3, "geo_inf_geonosian", 7)
SetUnitCount(3, 10)
SetTeamAsFriend(3, ATT)
SetTeamAsEnemy(3, DEF)

-- Level Stats
ClearWalkers()
SetMemoryPoolSize("EntityWalker", 5)
AddWalkerType(0, 8) -- 8 droidekas (special case: 0 leg pairs)
AddWalkerType(2, 0) -- 2 spider walkers with 2 leg pairs each
AddWalkerType(3, 5) -- 2 attes with 3 leg pairs each
SetMemoryPoolSize("CommandWalker", 5)
SetMemoryPoolSize("EntityHover", 10)
SetMemoryPoolSize("EntityFlyer", 30)
SetMemoryPoolSize("FlyGotoHelper", 64)
SetMemoryPoolSize("EntityBuildingArmedDynamic", 16)
-- SetMemoryPoolSize("EntityTauntaun", 0)
SetMemoryPoolSize("MountedTurret", 100)
SetMemoryPoolSize("SoundSpaceRegion", 81)
SetMemoryPoolSize("PowerupItem", 60)
SetMemoryPoolSize("EntityMine", 40)
SetMemoryPoolSize("Aimer", 400)
SetMemoryPoolSize("Obstacle", 725)
SetSpawnDelay(10.0, 0.25)
ReadDataFile("dc:dra3\\dra3.lvl")
SetDenseEnvironment("true")
--AddDeathRegion("Sarlac01")
--SetMaxFlyHeight(90)
--SetMaxPlayerFlyHeight(90)


the vehicle ODF`s are original, i dont changed anything

dragonum

Posted: Fri Feb 04, 2005 7:29 am
by Dragonum
the hailfire, only drive around in the shipped game.
they dont attack any republik vehicles or soldiers.
they only drive and drive and drive. lol

is it possible to change, or to do anything that the hailfire shoot back?


dragonum

Posted: Sun Feb 06, 2005 4:26 am
by Dragonum
psych0fred wrote:I know I've seen the hailfire's attack in the shipped game, I just don't recall if they've attacked ATTEs. You can try changing your difficulty settings and changing teams (the enemy is always harder and smarter than your AI on hard) to see if it makes a difference, otherwise there's nothing you can do about it.
ok, when i played in hard level, they attack the attes.

thanks psychofred


dragonum