Help on Spec: NO_PLAYER_CONTROLLED

Post Reply
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Help on Spec: NO_PLAYER_CONTROLLED

Post by Hyuhjhih »

Is this spec really working? I tried it a couple of times and it actually didn't seems to work.

If it is working, can it be applied via a ability(spell)

Like,
Just an example:

Code: Select all

{
    "unitTypeName":"AFFECT_AI_WOLF",
    "unitType":10009,
    "uiDefinition":{
           "visuals":[]
           },
   
    "unitStatSheet":{ "unit":
          {"isTechnology":true,
            
            "specUnitActions":["NO_PLAYER_CONTROLLED","IS_EFFECT_AFFECT"],

            "trnValidTargets":{"categories":["U_ANIMAL"]},

            "trnBonusList":[]

     }}

  }
Is this affect.json is supposed to work like a spell which make a player controlled unit change into an AI controlled unit which last X turns?
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
User avatar
makazuwr32
Posts: 7830
Joined: Tue Oct 17, 2017 9:29 am
Location: Moscow, Russia

Re: Help on Spec: NO_PLAYER_CONTROLLED

Post by makazuwr32 »

Not sure if it actually is working but idea for this effect is that you can't manually move and attack with this unit. Instead it is controlled by ai and moves/attacks when you end your turn.

It also should prevent usage of waypoints for this unit.

Savra i think tested this spec in aof and yes it may be used for a spell with timer.
makazuwr32 wrote: Mon Sep 16, 2019 7:54 amWhen you ask to change something argument why...
Put some numbers, compare to what other races have and so on...
© by Makazuwr32™.
AoF Dev Co-Leader
Image
User avatar
Hyuhjhih
Posts: 1301
Joined: Sat Sep 19, 2020 4:22 am
Location: Earth, (the part of blue ball and is named India for some reasons)

Re: Help on Spec: NO_PLAYER_CONTROLLED

Post by Hyuhjhih »

That exactly what I was planning on. But, its not working.
The effect is applied, but it can still be controlled by human player.
Maybe, a core change, i believe, have made this one obsolete. Maybe stratego can give a current state of this spec
LIE = Love Is Eternal.

Design leader of the variants Age of Gods and Age Of Civilization, and live heartedly contributing to AoS.

AoC discord server is up AoC
Stratego (dev)
Site Admin
Posts: 15750
Joined: Fri Apr 25, 2014 9:28 pm

Re: Help on Spec: NO_PLAYER_CONTROLLED

Post by Stratego (dev) »

i checked in code as i see it should work - at least for movement - i have yet checked attack.
exactly what is not working?
and in what movement mode? (auto confirm or manual confirm mode?)

thanks!
Post Reply

Return to “Ask questions here”