View unanswered posts | View active topics It is currently 01 Nov 2024, 00:56



Reply to topic  [ 7 posts ] 
 AI Scripting 
Author Message
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
I've been debating two different routes for a moddable AI system. The first is to use dynamically compiled C#. The second is to use IronPython.

C# has the advantage of being the same language used to develop the game, so modders who want to modify the core game library will only have to learn one language.

IronPython is basically a .NET implementation of Python, so it would be easy to pick up for people that already know Python. They would only have to learn some of the .NET-specific language constructs.

I was wondering what the community thinks. Does anyone have a preference?


06 Dec 2006, 00:12
Profile WWW
Combat Engineer
Combat Engineer
User avatar

Joined: 18 Jul 2005, 01:00
Posts: 1001
I would first say which ever is easiest for you, otherwise as you said C# has the advantage of being the same as the core ad cerainly make it easier for me :D.

Also you are more likely to find AI on the net based upon C/C++/C# i would assume makes it easier to transfer ideas perhaps when the two languages are interpretable, I don't know how differant Python is to C++/C# etc.....

Regards Wolfe


06 Dec 2006, 01:49
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
Neither one would be particularly harder than the other to implement, and I'm really not worried about finding examples. I guarantee you that even if I find remotely useful AI sample code, I'll have to completely rewrite it to work with the game anyway.


06 Dec 2006, 02:02
Profile WWW
Lieutenant Commander
Lieutenant Commander
User avatar

Joined: 20 Sep 2004, 01:00
Posts: 690
Location: UK
Personally, I'd perhaps prefer it to be the same as the rest of the code. I'd imagine a few people will learn some basic coding just they can mod this game! Would be easier to learn one language.

I imagine anyone who already knows one is that way inclined and will pick up the other easily enough...

_________________
Who says there's never a Klingon around when you need one.


06 Dec 2006, 05:29
Profile
Lieutenant
Lieutenant
User avatar

Joined: 31 May 2006, 01:00
Posts: 451
C# without question. There's little point in making people be familiar with 2 seperate languages, particularly if the difficulty in utilizing each language is roughly the same.

Besides, wouldn't you have to write some sort of interface code to utilize the python?

_________________
-Azh


06 Dec 2006, 18:26
Profile
Chief Software Engineer
Chief Software Engineer
User avatar

Joined: 11 Aug 2005, 01:00
Posts: 2688
Azhdeen wrote:
C# without question. There's little point in making people be familiar with 2 seperate languages, particularly if the difficulty in utilizing each language is roughly the same.
I tend to agree. I wanted to at least consider Python because so many other games use it

Azhdeen wrote:
Besides, wouldn't you have to write some sort of interface code to utilize the python?
Nope, that's the beauty of IronPython.


06 Dec 2006, 19:21
Profile WWW
Commander
Commander
User avatar

Joined: 30 May 2005, 01:00
Posts: 1137
Location: Northglenn, Colorado - U.S.
As long as it works... I'm happy.. :D

_________________
I'm A Romulan with an Attitude and I'm not afraid to use it!

Image


08 Dec 2006, 07:41
Profile YIM
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.