Jump to content
Sign in to follow this  
Miki

Disable vehicles driving over infantry

Recommended Posts

How can I make it impossible for vehicles to drive over infantry units?
What should I change? I searched the vehicles .xml files but didn't find anything that could somehow disable it, also looked into infantry .xml files if there isn't anything with it but still with no sucess

Share this post


Link to post

look at the end of the veichle xml, there should be code with name like crusher  and crushable something  (don't remember the exact name), this code define what the unit can crush and what can crush it with levels, since you want it to only effect the inf you should go to the inf's xml and edit/remove that line.

 

Edited by Egozi44

Share this post


Link to post
6 hours ago, Egozi44 said:

look at the end of the veichle xml, there should be code with name like crusher  and crushable something  (don't remember the exact name), this code define what the unit can crush and what can crush it with levels, since you want it to only effect the inf you should go to the inf's xml and edit/remove that line.

 

Thanks! I got it.
It was:

<CrusherInfo
            CrushableLevel="0"
            CrusherLevel="0"

Had to change CrushableLevel from 0 to 1.

Share this post


Link to post

Stuff with CrusherLevel 2 would still be able to crush it then.

Share this post


Link to post
6 hours ago, Lauren said:

Stuff with CrusherLevel 2 would still be able to crush it then.

Yes I understand how it works :D with this I can make some vehicles still be able to crush infantry if I want to.

Edited by Miki

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×