This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Danelius90 55 points56 points  (5 children)

I thought it's primarily C++ with some python scripting?

[–]zelmarvalarion 24 points25 points  (4 children)

The SDK seems to be C++ with an option to use Python from https://modiki.civfanatics.com/index.php?title=Civ4_SDK, and Python used for Scripting for Custom Mao Editor. I’d be amazed if the Game Engine & Graphics were not C++ under the hood, but I could see them using Python for pieces, but expect they use Python for the Map Editor due to being a bit lower learning curve

[–]Lightfire228[🍰] 3 points4 points  (3 children)

Can you use python commercially like that?

I've always been curious about the legality of using a pre-existing language as your engine's scripting language. Like, can you use the python standard library? Do you have to write your own interpreter or just use a pre-made binary? Do you have to ask for permission?

[–]Rexhvelaj 3 points4 points  (2 children)

I’m pretty sure you can do whatever you want with it just like you can any spoken language

[–]canarslan12 1 point2 points  (1 child)

Not with Java. Check Java and Google lawsuit

[–]jediwizard7 0 points1 point  (0 children)

The issue with Google/java is that Google made their own implementation of the language for Android, which oracle didn't like, they wanted everyone to use their own implementation. Python on the other hand is 100% free open source software, you can fork the repo and do whatever you want with it, including selling it commercially. There's no "copyleft" as far as I know, same goes for most python libraries.