IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Stop AI vehicles crushing infantry
Dutchygamer
post 2 Dec 2016, 21:59
Post #1


Frontline Chaos mod leader and creator
Group Icon

Group: Tester
Posts: 493
Joined: 6 June 2009
From: Dordrecht, the Netherlands
Member No.: 25
Projects: ROTR Tester
Host of



I've been trying to stop AI controlled vehicles from trying to auto-crush infantry, but so far I have had little success. The most logical option, namely applying the DONT_AUTO_CRUSH_INFANTRY KindOf to the unit(s) doesn't seem to do much. The other option I see is to stop vehicles from crushing infantry completely by changing the CrusherLevel, which is not the most preferable option.

So, anyone got any pointers? Is DONT_AUTO_CRUSH_INFANTRY another leftover that doesn't do much, or doesn't it apply to AI controlled units?


--------------------
Go to the top of the page
 
+Quote Post
(USA)Bruce
post 2 Dec 2016, 22:03
Post #2


The Forums American Hotshot Flyboy
Group Icon

Group: Tester
Posts: 2859
Joined: 22 November 2012
From: The foundation of modern freedom and Liberty;United States of America.
Member No.: 9500



I think thats the only option, Its a zh relic that just doesnt go away, same with outposts behavior...That cant be fixed too


--------------------
Go to the top of the page
 
+Quote Post
ComradeGeneral
post 2 Dec 2016, 22:16
Post #3



Group Icon

Group: Members
Posts: 22
Joined: 5 June 2016
From: Murica
Member No.: 12935



Try making an attack priority set and some object lists. Set all the Infantry to 0 (or maybe -1) and see if that works. If I remember from the manual, (and missions I've made) objects with a 0 priority are never attacked.

Worldbuilder

Yeah, page 72.
"Enter an integer for the priority. The default value is 1, while object types with a value of 0 are never
attacked. Higher values have greater priority. You define the scale yourself."


--------------------
Shockwave "Good" Balance Mod:
ModDB Page
Latest date: October 3rd, 2017
Update 15 includes a life worth living.
Go to the top of the page
 
+Quote Post
Oliver
post 2 Dec 2016, 23:23
Post #4



Group Icon

Group: Dev. Team
Posts: 964
Joined: 15 August 2013
From: Portugal, Lisbon
Member No.: 10072



Data\INI\Defaul\AIData.ini

AICrushesInfantry = Yes
Go to the top of the page
 
+Quote Post
Dutchygamer
post 3 Dec 2016, 12:04
Post #5


Frontline Chaos mod leader and creator
Group Icon

Group: Tester
Posts: 493
Joined: 6 June 2009
From: Dordrecht, the Netherlands
Member No.: 25
Projects: ROTR Tester
Host of



QUOTE (Oliver @ 2 Dec 2016, 23:23) *
Data\INI\Defaul\AIData.ini

AICrushesInfantry = Yes

I knew I had seen a tag like this somewhere. That did the trick. Thanks for that smile.gif
Now I do wonder what DONT_AUTO_CRUSH_INFANTRY actually does (if it does anything at all).


--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 18 April 2024 - 8:02