Cortex Command

Cortex Command

Spectator Mod
ECHO_7  [kehittäjä] 13.9.2018 klo 13.49
Features
what features would you like to see in the future?
< >
Näytetään 1-3 / 3 kommentista
Tatu 4.4.2019 klo 16.23 
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  [kehittäjä] 25.10.2019 klo 12.49 
LoPi - Tatuzudo lähetti viestin:
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:

Maybe try to create invisible brain somevhere?
< >
Näytetään 1-3 / 3 kommentista
Sivua kohden: 1530 50