Hi there.
I was working on some little snow ball fight mod using modified ewok rocks as snow balls. As i got trouble with the animations having only grenades and no real weapons i added a nearly useless arccaster without any damage. and this is what the AI units are using. Is there a way to make them throw their grenades the most of the time instead of firing their primary weapons?
Thanks in advance.
Force AI to use grenades extensively
Moderator: Moderators
-
Dymon
- Lance Corporal
- Posts: 90
- Joined: Thu Jan 18, 2007 7:24 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: Force AI to use grenades extensively
Code: Select all
BarrageMin = "90"
BarrageMax = "100"
BarrageDelay = "1"- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Force AI to use grenades extensively
you should probably additionally give the arccaster an extremly small barrage
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Force AI to use grenades extensively
Why not just make the grenade the primary weapon?
-
Dymon
- Lance Corporal
- Posts: 90
- Joined: Thu Jan 18, 2007 7:24 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Force AI to use grenades extensively
because this is causing a ctd
And adding the barrage-things to the odf's didnt seem to change a lot. instead of continueing firing balls for a while after starting, but most time they just walk around and fire some single arccaster shotsMessage Severity: 3
C:\Battlefront2\main\Battlefront2\Source\DisplaySoldier.cpp(349)
DisplaySoldier 'imp_inf_rifleman' failed to find animmap human_
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Force AI to use grenades extensively
Odd, I added a grenade as a primary weapon before and it worked just fine. I suggest you look into that rather than making some "dummy" weapon.
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: Force AI to use grenades extensively
try this:
add
to the snowball weapon odf and
to your arccaster weapon odf
add
Hidden/Spoiler:
Hidden/Spoiler:
