Floating weapon icons , Make ai use weapons [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
cloneknight
Chief Warrant Officer
Chief Warrant Officer
Posts: 357
Joined: Sun Aug 20, 2006 11:39 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Floating weapon icons , Make ai use weapons [Solved]

Post by cloneknight »

im haveing alot of trouble removeing 2 floating weapon icons. the tut PR-0927 had doesnt help :| .. anyone got an easer one or somthing?
i would be very greatful
Last edited by cloneknight on Wed Apr 09, 2008 2:45 pm, edited 1 time in total.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: floating icon

Post by AceMastermind »

cloneknight
Chief Warrant Officer
Chief Warrant Officer
Posts: 357
Joined: Sun Aug 20, 2006 11:39 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: floating icon

Post by cloneknight »

thanks :yes:

t have another question, i dont want to make another post so ill just say it here, how can i get my units with orbital barrage use it? they never use it...
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: #1 solved, #2 ai weapon

Post by Aman/Pinguin »

I think you can't....maybe something in .lua but not in ODF's afaik.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: #1 solved, #2 ai weapon

Post by Maveritchell »

Code: Select all

AITargetPerson        = "1"
AITargetAnimal        = "1"
AITargetDroid         = "1"
AITargetVehicle       = "1"
AITargetBuilding      = "1"
cloneknight
Chief Warrant Officer
Chief Warrant Officer
Posts: 357
Joined: Sun Aug 20, 2006 11:39 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: #1 solved, #2 ai weapon

Post by cloneknight »

yes! that is what im looking for what odf. file is that in?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: #1 solved, #2 ai weapon

Post by DarthD.U.C.K. »

in everyone you want :D
the same commands work ,without the ai in them, for the player
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: #1 solved, #2 ai weapon

Post by Aman/Pinguin »

Maveritchell wrote:

Code: Select all

AITargetPerson        = "1"
AITargetAnimal        = "1"
AITargetDroid         = "1"
AITargetVehicle       = "1"
AITargetBuilding      = "1"
Are you sure this works? I tried once to get those commands working for force choke and it didn't.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: #1 solved, #2 ai weapon

Post by Maveritchell »

Aman/Pinguin wrote:
Maveritchell wrote:

Code: Select all

AITargetPerson        = "1"
AITargetAnimal        = "1"
AITargetDroid         = "1"
AITargetVehicle       = "1"
AITargetBuilding      = "1"
Are you sure this works? I tried once to get those commands working for force choke and it didn't.
AI tend to ignore that weapontype, whether they're told to or not.
cloneknight wrote:yes! that is what im looking for what odf. file is that in?
It goes in the base weapon .odf.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: #1 solved, #2 ai weapon

Post by Caleb1117 »

Maveritchell wrote:

Code: Select all

AITargetPerson        = "1"
AITargetAnimal        = "1"
AITargetDroid         = "1"
AITargetVehicle       = "1"
AITargetBuilding      = "1"
That code is great, I always use it to get map AI to fire rockets at people on maps with no vehicles.
Otherwise they make lame opponents, trying to kill you with a pistol.

AI have INCREDIBLE long range rocket targeting, one nailed me from half way across a test map.
Post Reply