Jump to content
Sign in to follow this  
Madin

SlaughterHordeContain issues

Recommended Posts

I have the RA3 crane inside my C&C3 mod, and I am having issues that I believe are being caused by the 'SlaughterHordeContain'.

 

The issues are targeting based, as in, anything that targets the crane has issues actually firing at it (most of time the attackers will not attack from their weapon range, but instead go really close to the crane, as if they are trying to enter it, and then when close they will fire their weapon. Other times the attackers never fire their weapon).

The AI also has targeting issues, many times they will never attack the crane, leaving it as the last structure, and stalling a skirmish match.

 

Does anyone else have any experience with using this module? I know that it was used in BFME, although I believe that it was used for actual infantry (hence the name). I am thinking that the issue could be based on vehicles being the accepted filter (obviously I am only interested in vehicles entering).

      <SlaughterHordeContain id="ModuleTag_SlaughterHordeContain" CashBackPercent=".75" ResetInitialTeamOnCapture="true" ContainMax="999" AllowAlliesInside="true" AllowEnemiesInside="false" AllowNeutralInside="false" MobileGarrison="false" ImmuneToClearBuildingAttacks="true" ObjectStatusOfContained="UNSELECTABLE ENCLOSED">
        <PassengerFilter Rule="ANY" Relationship="ALLIES" Include="VEHICLE HUGE_VEHICLE" Exclude="AIRCRAFT" />
        <DieMuxData DeathTypes="SLAUGHTERED" />
        <CanAlwaysEnterObjectFilter Rule="ANY" Relationship="ALLIES" Include="VEHICLE HUGE_VEHICLE" Exclude="AIRCRAFT"></CanAlwaysEnterObjectFilter>
      </SlaughterHordeContain>
STRUCTURE SELECTABLE IMMOBILE CAN_CAST_REFLECTIONS CONSTRUCTION_YARD FS_FACTORY AUTO_ACQUIRABLE_BY_AI COVER CRANE GARRISON GARRISONABLE_UNTIL_DESTROYED SKIRMISH_AI_DONT_GARRISON

 

Edited by Madin

Share this post


Link to post

I need to see the xml but I believe that putting the right filter and exclude enemies from allies will solved it, then again I have little experience with this model and need to see the actual xml in order to try out stuff that may make it work, Stygs, Raven, and megumi, may know the answer without checking your xml though

Edited by Egozi44

Share this post


Link to post

Have you tried removing the garrision related kindofs?

I removed them from the slaughterhouse in TWA after seeing that the Crusher Crane is also missing them, but I havent used it in ages, so no idea if there if its still bugged.

Share this post


Link to post

Does that happen all the time or after you recycled(its used as a shredder crane from RA3 i guess?)/garrisoned a unit. Because:

 

Either the module is buggy and enemy units try to enter regardless of the AllowAlliesInside="true" AllowEnemiesInside="false" AllowNeutralInside="false" settings.

 

Or they try to target/close attack distance to a previous slotted passenger/or residual ghost(as in bugged registered passenger not casper :o ).

 

You could try to either narrow the passenger filter by manually IncludeThing/ExcludeThing the aprpropriate units and/or try to add the UNATTACKABLE status to

 

ObjectStatusOfContained="UNSELECTABLE ENCLOSED"

as a improved filter maybe.

 

somethings to think about.

Edited by Ravendark

Share this post


Link to post

Have you tried removing the garrision related kindofs?

I removed them from the slaughterhouse in TWA after seeing that the Crusher Crane is also missing them, but I havent used it in ages, so no idea if there if its still bugged.

Just tried it, made no difference.

 

I will assume it is bugged.

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.

×