Extension API? (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios



Message


I1066 -> Extension API? (8/2/2016 5:28:48 AM)

Is there any extension API available? Like, for example, MEF?

Or any other API for that matter?




wqc12345 -> RE: Extension API? (8/2/2016 6:13:48 AM)

It's all lua methods. These are made and exposed by the game developers. They are pretty useful in scripting events along with traditional lua. Lua has a rich set of libs that are part of the standard lua console or can be loaded as script actions and be used as functions in your scripts.

There are no other exposed APIs that I know of outside this.




I1066 -> RE: Extension API? (8/2/2016 7:06:00 AM)

Yeah, I know about the LUA scripting support, but it is not really the same thing as, for example, MEF.

MEF is more for extending the game, while LUA is for scenario design.

With MEF you could, for example, allow extensions to add commands to context menus, extend/modify the AI, integrate/communicate with external services and so on.

For example, you could with MEF create an extension that adds the possibility to move weapons and other resources between bases with aircraft with appropriate loadouts.




Dimitris -> RE: Extension API? (8/2/2016 9:15:22 AM)

Something similar to this is being worked on the professional version (http://www.warfaresims.com/?page_id=3822). If you have a specific need please contact us in private.

Thanks!




hawkeye_de -> RE: Extension API? (8/6/2016 5:09:39 PM)

So, you only make this available for government customers ? That's a pity :(




thewood1 -> RE: Extension API? (8/6/2016 5:17:42 PM)

What would you do with access to an SPI...just curious what ideas people had. I have seen several systems allow this, but no one ever does anything with it.




hawkeye_de -> RE: Extension API? (8/6/2016 5:24:31 PM)

the topic owner has given some examples: AI, altering the game engine...
But sure, only a minority would play with that, that's true

Probably the benefits of a complete moddable game are greater when you have a very large community like Civilization ...




mikmykWS -> RE: Extension API? (8/6/2016 6:38:38 PM)

We need to see value in what we're doing as every minute doing something else is stealing time from what is.

Show us value.

Thanks!

Mike




thewood1 -> RE: Extension API? (8/6/2016 8:12:15 PM)

But can't you do his main example today with lua?




hawkeye_de -> RE: Extension API? (8/6/2016 8:40:38 PM)

you mean full control of the AI for instance ?

Now, you can't ... you would need to plug into the game/simulation loop and have full access to the object model (access to all units with 'all' of their properties)

GCBlue 2 ( unfortunately discontinued, open source now) https://github.com/gcblue/gcblue ) had such an approach(although it was not fully implemented)...you had access to the game loop via a python API...I've written a wiki page there how to attach a python debugger to the game...was quite fun...




hawkeye_de -> RE: Extension API? (8/6/2016 8:48:48 PM)

quote:

ORIGINAL: mikmyk

We need to see value in what we're doing as every minute doing something else is stealing time from what is.

Show us value.

Thanks!

Mike


Mike, my initial comment was just a reflex ;)...you're right, it would be a major effort for you and I would not make much use of it, since I'm occupied with my own project.

Maybe you could think about to evolve the Lua approach: So that it is somewhat closer integrated into the game loop (not every tick of course) so that a scen designer could control more aspects of the AI during 'runtime' and not only during 'design time'




thewood1 -> RE: Extension API? (8/6/2016 9:10:08 PM)

"was quite fun" for both people that did it.

No, I meant moving loadouts and aircraft around.




mikmykWS -> RE: Extension API? (8/6/2016 9:30:07 PM)


quote:

ORIGINAL: hawkeye_de

quote:

ORIGINAL: mikmyk

We need to see value in what we're doing as every minute doing something else is stealing time from what is.

Show us value.

Thanks!

Mike


Mike, my initial comment was just a reflex ;)...you're right, it would be a major effort for you and I would not make much use of it, since I'm occupied with my own project.

Maybe you could think about to evolve the Lua approach: So that it is somewhat closer integrated into the game loop (not every tick of course) so that a scen designer could control more aspects of the AI during 'runtime' and not only during 'design time'


ok thanks




mikmykWS -> RE: Extension API? (8/6/2016 9:31:46 PM)


quote:

ORIGINAL: thewood1

"was quite fun" for both people that did it.

No, I meant moving loadouts and aircraft around.


Exactly.[:)]

Mike




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.921875