ET: Legacy in C, C++ or C#

Added by muessli over 5 years ago

NewbieQuestions:
In which Language is ETL programmed?
I think, it is in native "C"!?
Can i use Python instead of LUA?

mfg muessli


Replies (5)

RE: ET: Legacy in C, C++ or C# - Added by Dragonji over 5 years ago

muessli wrote:

Can i use Python instead of LUA?

If you add Python API support then yes.

xyz.png (34.2 KB)

Xyz

RE: ET: Legacy in C, C++ or C# - Added by Spyhawk over 5 years ago

There is a Python wrapper around that 'mimic’ the LUA API, so you can use that if you want to use python.

ET:L itself is written mostly in C, as shown by the above image.

RE: ET: Legacy in C, C++ or C# - Added by muessli over 5 years ago

Hi Dragonji,
whats about embedding python in c with
#include <Python.h>?
See http://docs.python.org/2/extending/embedding.html

My Motivation is to learn Python in Conjuntion with my favorite Game/Mod.

mfg muessli

RE: ET: Legacy in C, C++ or C# - Added by Dragonji over 5 years ago

Well, you shouldn’t really ask me as I’m not really a programmer but in my humble opinion it is not as easy as including a header file. Developers can actually elaborate on this.

RE: ET: Legacy in C, C++ or C# - Added by Spyhawk over 5 years ago

muessli> Have a look at PyET. It is basically equivalent to the Lua API as used in the current legacy mod.

http://forums.warchest.com/showthread.php/30826-Python-and-Enemy-Territory-!
https://github.com/Ododo/pyet2

(1-5/5)