<< Back to Programming Forum   Search

Posts 1 - 15 of 15   
AI API languages other than c#: 2025-04-28 08:15:26

(deleted)
Level 47
Report
As of recent, there appears to be interest in having "smarter" AIs:
https://www.warzone.com/Forum/822198-question-codersengineers-here
https://www.warzone.com/Forum/822393-ai-opps-teammates
https://www.warzone.com/Forum/822206-ai-choice-games
https://www.warzone.com/Forum/820207-bot-api-exist

One barrier with developing smarter AIs is that the code for it is written in c# - https://github.com/FizzerWL/WarLight.AI

I don't know c# but from what I know of other languages, I can get the gist of the code already written.

I've started translating it from c# to js and was wondering if anyone else wanted it in other languages.
AI API languages other than c#: 2025-04-28 08:18:31


JK_3 
Level 63
Report
Most AI development is done with Python, so if you want to port it for ML based AI's that would be a nice one to have.
AI API languages other than c#: 2025-04-28 09:36:19

(deleted)
Level 47
Report
Was expecting someone to mention python. I'll need to refresh my memory on some python things.

Only started with js because that's what I'm more familiar with.

Wasn't thinking of translating any AIs (other than Prod, as an example), but everything else in between.
AI API languages other than c#: 2025-04-30 22:21:35

(deleted)
Level 47
Report
Probably worth mentioning that WarLight.AI does not appear to have complete support for special units. It supports Commanders, and partial Boss1, but not Boss2, Boss3, Boss4 or CustomSpecialUnit. For reference: https://github.com/FizzerWL/WarLight.AI/blob/master/Common/GameObjects/SpecialUnit.cs
AI API languages other than c#: 2025-05-01 07:54:00


JK_3 
Level 63
Report
Based on that serialization code, it appears to only support Commander, despite their being a class for Boss1.
AI API languages other than c#: 2025-05-03 18:06:06

(deleted)
Level 47
Report
I might actually be able to add good type safety for JS. Already made a SameInstanceArray class (extending Array) and found a way to get specialised numbers by making a class extending Number
AI API languages other than c#: 2025-05-03 18:09:47


JK_3 
Level 63
Report
Are you trying to reinvent TypeScript?
AI API languages other than c#: 2025-05-03 18:27:27

(deleted)
Level 47
Report
No. TypeScript is tedious. Plain JS has flexibility. You shouldnt have to specify types for everything. Core components is good to have type checking, but for other parts like making your AI, you can use type checking if you want to.

TS has extra waiting because of being ran as JS. Better to keep to core base language features imo. Makes sure syntax stays the same.
AI API languages other than c#: 2025-05-03 18:35:18

Boxygates
Level 47
Report
I have a lot of practice transcoding from one language to another (for when I worked on my own AI PhD). If you need help moving it from one language to another, point me at the source and give me an idea of what language you want it in.

C#-> Java (pretty easy),
C#-> JS (meh, could take a performance hit in JS and some of the constructs may be challenging in JS),
C#->Python (Lot's of typing but most of the paradigms can be used - performance may take a hit depending on C#),
C#-> C (I will need a case of Bourbon and about a pound of cocaine).
C#->C++ (Can be done, but .....why?)
C#-> ?? (let me know and we can see)
AI API languages other than c#: 2025-05-03 18:47:19

(deleted)
Level 47
Report
C# to JS is surprising easy with modern features. I won't need help with that. Designing it to run with NodeJS (on own device, not in browser). Can easily be ported to run in browser if needed.

As I mentioned on the original post, the C# code is on https://github.com/FizzerWL/WarLight.AI
AI API languages other than c#: 2025-05-03 18:53:10


JK_3 
Level 63
Report
C#-> ?? (let me know and we can see)

Make it in Rockstar please!
AI API languages other than c#: 2025-05-03 18:56:27

(deleted)
Level 47
Report
I won't make the source available for what I've written until I get clarity on the license / copyright on the WarLight.AI code. There isn't actually a license on WarLight.AI code (so by GitHub rules it's all rights reserved), but the blog post says it's "open source". It's technically "source available". The post implies permission to use it for anything that's normally possible with open source.

I've made wrappers to test functionality but not copied anything per say.
AI API languages other than c#: 2025-05-07 13:34:15

(deleted)
Level 47
Report
The WarLight.AI project is likely going to be taken down because there haven't been significant contributions in over 9 years and future of AI is likely in machine learning.
AI API languages other than c#: 2025-05-11 16:05:10


JK_3 
Level 63
Report
Maybe having Prod 2.0 available in Lua form would be cool too, so we could put the current WZ AI into a mod.
AI API languages other than c#: 2025-05-11 16:05:22


Rex Imperator 
Level 59
Report
Hum.
Posts 1 - 15 of 15