Jump to content

Is it possible to build neutral building?


CCCP84

Recommended Posts

since garrisinable structures will immediately revert to being unowned by the player when not garrisoned, even if you use trigger action 125 to spawn a building belonging to a house, westwood did some hack to make battle bunkers work to be owned when not garrisoned + not kick infantry out when on low health. i dont know what ini tag the hack is attached to exactly, but if you find out which one it is i would also like to know

Link to comment
Share on other sites

The problem is that, for some reason, if the lifeguard tower belongs to the player and is garrisoned, then it does not abandon when damaged. In addition, when it is damaged and garrisoned, the image of this structure is displayed incorrectly.
This does not happen if this structure is neutral or if it is not garrisoned.

sdafa.jpg

I would like to solve this problem with the image of the tower in any way.
The idea is to make a kind of bunker from YR in RA2 mode.
I would transfer the bunker itself from YR, but that doesn't seem to be possible.

Edited by CCCP84
Link to comment
Share on other sites

the reason that the image gets messed up when garrisoned and damaged has to do with the way the game reads the building arts frames, the battle bunker reads a different frame order than civilian buildings. I did some testing and it turns out that the hack to make a garrisinable structure act like a battle bunker and not act like a civilian building is attached to the tag "TechLevel=". if the techlevel is anything but -1, then the game will think that it is a battle bunker. This sadly means that your building will never be buildable and work properly at the same time.

Link to comment
Share on other sites

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...