The terminology here gets a bit awkward. Normally you have a "Player" which is not directly an in-game entity, and attached "character" which is the in-game entity for the player. Confusingly the character is named "player" but forget that for a moment.mrvn wrote:Huh? When I drive by some aliens with a car or tank in vanilla then they attack me.Earendel wrote:Ideally I'd rebuild large sections of the mod from a performance standpoint. That will also require a lot of testing different ways of doing things to see which is actually faster. It's a big time sink for relatively small gains, so right now my priority is to finish the other features and mods I already have in the pipeline. Once those are done I'll be spending more time fixing bugs, and then doing optimisations work. I've been over the code a few times and I've made a lot of performance changes so for most problems I know there's not a quick fix. If someone reports a new performance issue I will look into it and see what's going on though, for example the lag caused when chaingunners approach a base is because enemies won't attack a vehicle by default so I need to find the biters and give them an attack move command.
Is that because they attack the player inside the car? Didn't you add fake players to the AAI vehicles now causing much the same thing?
In my multiplayer game the other players have forbidden me from using chaingunners because the game becomes unplayable. I like to take 4-8 wardens and 12-20 chaingunners and arrange them in circles around a central warden. And then move in to attack.
Maybe if you still need to check for aliens and give them an attack move command would it be possible to do that just once for the whole group of 20 units instead of each unit individually?
I'm adding characters to the vehicles, but for some reason the bugs won't attack them 99% of the time. My guess is that there is no player attached to the character and the player is presumably the thing that makes them aggressive. So yes, I still need to provoke the biters with a script.