Python Used as Modding Language for Battlefield 2 41
Dutch Dopey writes "In an interview with Lars Gustavsson of DICE, it was mentioned that Battlefield 2's modding tools are going to be delivered with the game, and that the tools are the same ones used to develop the game. The modding language in use is Python, and will support all aspects of the language.
I don't want to miss the opportunity to give propz (Score:3, Informative)
Desert Combat - http://www.desertcombat.com/
Battlefield 1918 - http://www.bf1918.com/
Forgotten Hope - http://forgottenhope.bf1942files.com/main.html
These three mods (and many more out there) took BF42 to new places, especially DC. Glad to hear that they are giving modders even more tools with BF2 - I can't mod or skin my way out of a paper bag, but I am grateful to those who can and give their talents to their community gratis.
Troika used python for the scripting in Bloodlines (Score:3, Informative)
Vampire: Bloodlines [vampirebloodlines.com]
Source engine feature list [valvesoftware.com]
EVE Online (Score:5, Informative)
Re:Python's too slow for gaming (Score:4, Informative)
Yeah, that's one of Python's shortcomings I think. There is the 'rexec' module which is meant to do this, but it apparently it has unspecified holes in it. The 'pickle' module has similar flaws. You could do some neat RPC stuff passing around picked objects, but only at the risk of introducing security holes. Oh well.
Good choice. (Score:4, Informative)
Python intergrates well with C/C++. Amazingly well, actually, and I think any C/C++ coder should go through the tutorial [python.org], and see what python can do for you. Yes, I know other enviroments promised the same thing before, but Python delivers.
Python is powerful, but easy to learn. Personally, I think we should be teaching kids Python in elementary school. And if it's your first language, you won't get all hung up on the whitespace thing.
Anyone coding an app that could benifit from a scripting language needs to take a look at python.
Re:Python's too slow for gaming (Score:5, Informative)
It's not like lua lacks file and system access primitives either, though those tend to be easier to hack out if necessary (which it usually isn't, since it's the game logic that's written in lua, not third party mode). The appeal of lua is the smaller footprint.
CIV 4 is also using Python (Score:3, Informative)