Cortex Command

Cortex Command

Spectator Mod
ECHO_7  [developer] 13 Sep, 2018 @ 1:49pm
Features
what features would you like to see in the future?
< >
Showing 1-3 of 3 comments
Tatu 4 Apr, 2019 @ 4:23pm 
Very nice! Always liked AI battles
Its really good, but I have a suggestion to improve it even more.
As it is the units are hunting the dummy brains, and some times they get stuck and stop fighting because of it.
To solve this and make them actually hunt each other, simply add the line "passenger:AddToGroup('Brains')" in the reinforce function.
You can also swap local brain = CreateActor("Dummy Controller" ) to local brain = CreateACrab("Crab" ), so the AI wont be distracted by the dummy brains.
I tested it with the modifications and it seems to work fine.
Hope this helps!
ECHO_7  [developer] 25 Oct, 2019 @ 12:49pm 
Originally posted by LoPi - Tatuzudo:
Very nice! Always liked AI battles
Its really good, but I have a suggestion to improve it even more.
As it is the units are hunting the dummy brains, and some times they get stuck and stop fighting because of it.
To solve this and make them actually hunt each other, simply add the line "passenger:AddToGroup('Brains')" in the reinforce function.
You can also swap local brain = CreateActor("Dummy Controller" ) to local brain = CreateACrab("Crab" ), so the AI wont be distracted by the dummy brains.
I tested it with the modifications and it seems to work fine.
Hope this helps!


Hi
thank you for the suggestions!
i added the those lines to the script. However everytime the Crab moves underground it gets destroyed which triggers a short game over screen before the next one spawns.
I am trying to completely remove those underground brain actors by setting the reinforcement Actors to a Player brain:
Spectator:SetPlayerBrain(passenger, player)

However the game doesnt allow me to select these actors then D:

Borkorus 2 May, 2020 @ 11:12pm 
Maybe try to create invisible brain somevhere?
< >
Showing 1-3 of 3 comments
Per page: 1530 50