Jump to content


Photo

AE questions on: a) command squads, b) attachable leaders


4 replies to this topic

#1 Roderick

Roderick

    3d models loota

  • Members
  • 1,802 posts

Posted 02 August 2018 - 11:38 AM

I have had a couple of questions related to the AE coding and possibly related to Free UI or even scar code.

Command squads:

First, can be a command squad able to capture flags? Is there any example of this? I guess that if the base is able some unit could show that animation, but I don't know. Would this also happen with leaders if they had the flag animation too?

I'm thinking of an eldar squad of guardians where they were the base and had a grav platform; I think it appeared in TableTop mod. What would happen if only remain the grav platforms? Thus, is the command squad type able to capture flags, is it not or is it something related to the unit composing the squad and not to the squad itself?


Attachability of units:

What defines the attachability: the unit which attaches or the squad that enables that? Can a unit be attachable to some squads but not to others? If vehicles are treated as squads I guess this is the case and hence, the attachability depends on the squad. But, can a squad be defined in such a way that prevents some leaders to be attached while allow others or it is an "all or nothing" system ?

Edited by Roderick, 02 August 2018 - 11:38 AM.


#2 Gambit

Gambit

    title available

  • Members
  • 5,620 posts
  • Location:Athens, Greece

Posted 02 August 2018 - 12:27 PM

First, can be a command squad able to capture flags?

Of course, all squads can if you set them to.

 

Is there any example of this?

Not yet, and the reason is mainly the one you mentioned: ALL leaders of the squad must have the capturing anim, orelse ... broken visuals.

 

I'm thinking of an eldar squad of guardians where they were the base and had a grav platform; I think it appeared in TableTop mod. What would happen if only remain the grav platforms?

THAT is the problem we encountered in Eldar Craftwords...

You have two solutions.

You either remove the squad capturing ability altogether, OR...

....create an "extraordinary" capturing anim for the Platform. And in the case it is "alone" and you do NOT want it to capture points by itself, a couple carefully placed modifiers would make it unable to move unless other infantry in in the squad.


 

 

What defines the attachability: the unit which attaches or the squad that enables that?

A squad can either attach, XOR be attachable. There are two squad extensions, responsible for each condition.

So an attachable squad can receive as attachment, whatever squad is able to attach.

...can a squad be defined in such a way that prevents some leaders to be attached while allow others or it is an "all or nothing" system ?

It is an "all or nothing" system...

Buy... Can a unit be attachable to some squads but not to others?

Yes, but only with SCaR. We created this only lately - see Dark Angles and Ultramarines. :thumbsuphappy:

The idea is that, you CAN attach the squad you were not supposed to, but the code immediately force-detaches it, giving you a warning that "This squad cannot receive attachments of this type...", or something.

Ultramarines example: Squads with one Apothecary as a leader, are NOT allowed to get a stand-alone apothecary attachment. So if you try to attach one, you will get a warning, and the code will detach him instantly.

NOTE: CPU players do NOT need to use the SCaR of course, because the AI can be coded to use attachments selectively.


Edited by Gambit, 02 August 2018 - 12:29 PM.

-In search of Papasmurf...

#3 Roderick

Roderick

    3d models loota

  • Members
  • 1,802 posts

Posted 02 August 2018 - 01:09 PM

A squad can either attach, XOR be attachable. There are two squad extensions, responsible for each condition.

So an attachable squad can receive as attachment, whatever squad is able to attach.


Mmm, can you put some examples?

#4 thudo

thudo

    Wacko AI Guy!

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

Posted 02 August 2018 - 02:44 PM

UM has the most Command Squads in any 40K project including DoW1: all of them including each member can capture. Thanks to Kekoulis, this was all fixed months ago. It is quite the technical challenge to ensure all CS and each member could properly flag plant and kneel during the cap phase. :good:

 

As Gambit mentioned once a squad is given the ability to cap via its SBPS then all members must be able to cap including leaders. Yeah we tried in CW to stop this.. no luck.. so had to make the whole squad unable to flag plant except for uncapping points.


Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#5 Roderick

Roderick

    3d models loota

  • Members
  • 1,802 posts

Posted 02 August 2018 - 02:58 PM

I have to digest the info and find some workaround to my projects but this was clarifying, thanks.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users