Jump to content


Photo

feature request for heroes mod


82 replies to this topic

#81 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,166 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 02 October 2008 - 12:50 AM

YES ITS FIXED! You were bang on -- the wxpcommand.scar file for DC is different than SS so I used the one from SS in DC and all is well.

The only unusual console error I get now which I have seen before is:

*ALERT: [string "Heroes/Core/heroes_manager.scar"]:457: attempt to index field `?' (a nil value)
..which is this line:
g_aUnitList[g_iPlayer][iAttachedUnitIndex].IsGarrisoned = true

I have seen this in SS too.
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#82 Cultist

Cultist
  • Members
  • 34 posts
  • Location:Vienna, Austria

Posted 12 October 2008 - 11:58 AM

try changing:


455 if	Squad_IsAttached(eSquadID) then
->
if	Squad_IsAttached(eSquadID) and	g_aUnitList[g_iPlayer][iUnitIndex].IsAttached then

Edit: Just Curious, what was different inside the DCPro etrench function.

Edited by Cultist, 12 October 2008 - 12:48 PM.


#83 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,166 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 12 October 2008 - 04:04 PM

There was no difference, it was just that DCpro has a wxpcommand.scar file there in its mod folder BUT the entrench commands were not there. Odd. ANyway.. all fixed now but will need to test the above part.
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users