Hello,
i would like to have a C++ AI script to work like a widget.
Since many of you guys already know about the whole architecture of the code, which is the best way to let a c++ code work in a widget?
Mando
AI widget in C++
Moderators: hoijui, Moderators
Re: AI widget in C++
That's not supported.
Re: AI widget in C++
Go back in time about 8 years to the age of now-extinct group AI's.
Random unrelated comment: I totally can't spot any flaws in the idea of players running mando-supplied binary blobs.
Random unrelated comment: I totally can't spot any flaws in the idea of players running mando-supplied binary blobs.
Re: AI widget in C++
xDKloot wrote:I totally can't spot any flaws in the idea of players running mando-supplied binary blobs.
STFU omg.... it's just for myself not meant to be distributed.
Btw... is at least possible from a LUA widget to make a localhost http call or it also has network features limitations?
Re: AI widget in C++
You can see one way how this can be done here: https://github.com/Spring-SpringBoard/S ... nector.lua
Re: AI widget in C++
Cool! Thanks a lot!
I will check and make some tests later.
I will check and make some tests later.
Re: AI widget in C++
Was also wondering....
In case i want it to be faster and with less lag where would be the best place in engine code to directly get the units position informations and add the commands it the queue?
I want to avoid using standard AI wrappers and /aicontrol or however is written.
In case i want it to be faster and with less lag where would be the best place in engine code to directly get the units position informations and add the commands it the queue?
I want to avoid using standard AI wrappers and /aicontrol or however is written.
Last edited by quakeman2 on 13 Aug 2017, 09:15, edited 2 times in total.
Re: AI widget in C++
I don't understand what any of this means
In case i want it to faster with less lag
grab the game informations
?then use /aicontrol or however is written
Re: AI widget in C++
Sorry,
i corrected the post. Was full of typo from mobile phone corrections and i probably wrote in drunk conditions xD
Anyway just check if now makes sense to you.
I just mean i would like to plug these AI scripts directly into the engine.
i corrected the post. Was full of typo from mobile phone corrections and i probably wrote in drunk conditions xD
Anyway just check if now makes sense to you.
I just mean i would like to plug these AI scripts directly into the engine.