Forged Alliance Forever Forged Alliance Forever Forums 2018-05-18T15:44:18+02:00 /feed.php?f=41&t=16194 2018-05-18T15:44:18+02:00 2018-05-18T15:44:18+02:00 /viewtopic.php?t=16194&p=163553#p163553 <![CDATA[Re: Help fixing Naval Pathfinding Bug]]>
even if this work, don't add unitID's as Category to a unit blueprint.
The unitID is added by the c-engine, not by LUA.

This will confuse the AI Buildplatoons and AI Buildcondition monitor.

This is the buildtemplate for the Cybran T1 sub:
Code:
T1SeaSub1={
            "T1SeaSub1",
            "AttackForceAI",
            { "urs0203", -1, 3, "attack", "GrowthFormation" }
        },

If you tell the AI, it should build a "T1SeaSub" then it will build a unit where it will find the UnitId "urs0203" inside the Categories array.
If you have 2 units with this ID, then the AI don't know what to build.

Worst scenario, you have a TECH1 factory, but the template leads to a TECH3 Ship. Then the whole buildchain is stalled.

I am sorry, but this fix will not work.

Statistics: Posted by Uveso — 18 May 2018, 15:44


]]>
2018-05-18T01:24:17+02:00 2018-05-18T01:24:17+02:00 /viewtopic.php?t=16194&p=163545#p163545 <![CDATA[Re: Help fixing Naval Pathfinding Bug]]> Statistics: Posted by Centurin — 18 May 2018, 01:24


]]>
2018-05-17T21:12:01+02:00 2018-05-17T21:12:01+02:00 /viewtopic.php?t=16194&p=163532#p163532 <![CDATA[Re: Help fixing Naval Pathfinding Bug]]> I totally forgot about the in game logger. This should give enough to start fixing some other mods. Thanks again!

Statistics: Posted by Centurin — 17 May 2018, 21:12


]]>
2018-05-17T18:15:48+02:00 2018-05-17T18:15:48+02:00 /viewtopic.php?t=16194&p=163526#p163526 <![CDATA[Re: Help fixing Naval Pathfinding Bug]]> https://www.gamewatcher.com/mods/supreme-commander-mod/cybran-ennui-class-1-1

Errors from 1 minute playing:

Code:
INFO: *FORMATION DEBUG: Unit urs_encl does not match any Naval categories.
INFO: *FORMATION DEBUG: Unit urs_encl does not match any Naval categories.
INFO: *FORMATION DEBUG: Unit urs_encl does not match any Naval categories.
INFO: *FORMATION DEBUG: Unit urs_encl does not match any Naval categories.
INFO: *FORMATION DEBUG: Unit urs_encl does not match any Naval categories.
WARNING: Error running OnStopBeingBuilt script in Entity urs_encl at 19ccf708: Invalid bone name "Right_Projectile".
WARNING: Error running OnStopBeingBuilt script in Entity urs_encl at 2018ce08: Invalid bone name "Right_Projectile".
WARNING: Error running OnMotionVertEventChange script in Entity urs_encl at 19ccf708: Invalid bone name "URS_EnCl".
WARNING: Error running OnMotionVertEventChange script in Entity urs_encl at 2018ce08: Invalid bone name "URS_EnCl".
WARNING: Error running OnMotionVertEventChange script in Entity urs_encl at 19ccf708: Invalid bone name "URS_EnCl".
WARNING: Error running OnMotionVertEventChange script in Entity urs_encl at 2018ce08: Invalid bone name "URS_EnCl".
WARNING: Error running OnMotionVertEventChange script in Entity urs_encl at 19ccf708: Invalid bone name "Right_Projectile".
WARNING: Error running OnMotionVertEventChange script in Entity urs_encl at 2018ce08: Invalid bone name "Right_Projectile".


This is clearly a Copy&Paste Unit mod. The unit was renamed, also some attachment points, but the model and bone names was not changed.
Also the unit can't use formations, because its not a naval unit :)
It has NAVAL as category but no sub category like Destroyer, Carrier, Cruiser etc.

Also this mod is a .SCD mod. not needed for a simple unit hook.

Please remove the .scd mod from your gameData folder and install the linked mod as normal mod in your mod folder:
http://faforever.uveso.de/forum/URSEnnuiClassModbyAnusPanda.zip

Greetings, Uveso.

PS: i did not get the formation bug in FAF, so you still need to test this!

Statistics: Posted by Uveso — 17 May 2018, 18:15


]]>
2018-05-17T17:02:44+02:00 2018-05-17T17:02:44+02:00 /viewtopic.php?t=16194&p=163519#p163519 <![CDATA[Help fixing Naval Pathfinding Bug]]>
Basically, the bug is that the units ignore movement commands when selected with multiple units. The only way to get the units to move is to select them individually. They also don't show up in formations when holding the right mouse button down.

An example mod with this problem is the Cybran Ennui Class sub by Anus Panda. I can't post a link because my account is new, but the mod is on gamewatcher.

I've looked at the BP files between working units and non-working units and I don't see anything that would cause this. I'm no expert on SC modding so I'm not sure what to look for either. I know you guys prefer FA, but this is really the only SC forum in town. Any help or some guidance on what to look for would be greatly appreciated. Thanks

Statistics: Posted by Centurin — 17 May 2018, 17:02


]]>