Jump to content

Is this possible ? (Client - AI, Groups)


Recommended Posts

Posted (edited)

Hello.

I just want to be informed:

if an air type Group,
at runtime,
can be toggled from Client to AI and vice versa.

I've found some related threads but the majority was proposing
to use double Groups (Client and AI) with Late Activation etc.
But what about if the parking slots are not enough to fit them all in the same airport ?

Thank you

Edited by ADHS

Democracy was already invented, while Scrat was eating oak fruits.

  • ADHS changed the title to Is this possible ? (Client - AI, Groups)
Posted

With only mission editor, using double Units (AI/Client) on the same parking spot is possible, using "start from ground" instead of "start from parking" for the client Unit.

Example attached : if client A10A is not under player's control at T=5s, the AI A10A is activated on same spot. (possible issue : if the client A10A gets player's control just after AI A10A is activated : big collision between the 2 - possible with script to solve this by blocking client slot after AI activation, using SimpleSlotBlocker by @Ciribob)

Other options are from script and mean much more work.

test-AI-replace-unoccupied-client.miz

Posted (edited)
13 hours ago, toutenglisse said:

Other options are from script and mean much more work.

Hello, toutenglisse 😀

and thank you for your reply (and for the attachment).

 

Any further direction for the script path ? (not just server host side)

Also, if you know : Is the game has/gives in it's core this ability (toggle Client/Ai) ?

 

PS: For now, i am using plain LUA and some of MIST functions. (learning, again and always😁)

Edited by ADHS

Democracy was already invented, while Scrat was eating oak fruits.

Posted
12 hours ago, ADHS said:

...Any further direction for the script path ? (not just server host side)

Also, if you know : Is the game has/gives in it's core this ability (toggle Client/Ai) ?...

I think mostly about SimpleSlotBlocker

I don't know its script, but it allows to block/unblock client slots, eventually replacing them with static aircraft if I don't mistake (in your case it could maybe spawn AI aircraft), but I don't have a ready solution/example to your need, it has to be explored.

In all ways, if you manage to do what you want using mission editor it will be the best and simplest solution. But there is no straight forward solution to toggle Client/Ai and vice-versa in editor.

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...