Merry Xmas - Howto Pages - Keen9 with Python code

All discussion about the Commander Genius project (a Keen interpreter + more).
Post Reply
gerstrong
Vorticon Elite
Posts: 1075
Joined: Wed Dec 31, 2008 14:44
Location: Frankfurt - Germany
Contact:

Merry Xmas - Howto Pages - Keen9 with Python code

Post by gerstrong » Mon Dec 26, 2016 17:23

Merry to all the fans of Commander Keen and those yet to come!

Right now I'm building a new version CG this year for the last time.

I have created some new pages:

http://clonekeenplus.sourceforge.net/howto/

Here are some special instructions and other documents for those who want to try something different. Enjoy!

Keen 9 is in the upcoming version CG fully (1.9.7.0) fully supported but only with the help of python code.

This version can be downloaded and setup. I'm using this mod for testing embedded python code. Feel to free to hack it.

More python code support will come and I plan to help people wanting to create mods which can run on CG with very special features. If you have a project in which the dosbox limits you a bit, let know. Python is a nice scripting language allowing easier to read code and more power to break boundaries.

Also there is support of Python on Android. We made it possible and with that your mods can run natively on Android or wherever you want. Keen 9 does that already :-)

Here are the instructions for Keen 9:

http://clonekeenplus.sourceforge.net/howto_keen9/

Take a look, it is very easy to install. Try it out!

Also for Keen 8 there is a version in which you get to listen the original Soundtrack when you play it:

http://clonekeenplus.sourceforge.net/howto_keen8wost/

Merry christmas to all of you!
Having fun developing stuff...

User avatar
Nisaba
Vorticon Elite
Posts: 645
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

Post by Nisaba » Tue Dec 27, 2016 9:53

python!
gerstrong wrote:More python code support will come and I plan to help people wanting to create mods which can run on CG with very special features.
that's brilliant news! what a huge and delicious update! sounds like candy to me.
I'd like to make use of your offer, helping implement mods. soon. very soon.

python!

Code: Select all

def isStunnableWithPogo():
    # Can Keen stun the enemy with pogo alone?
    return False

def isInvincible():
    # isInvincible. Shots never kill it
    return True

def canRecoverFromStun():
    # recoverFromStun. In case of Keen 9 this is always true and we have the biogarg behavior
    return True

def willNeverStop():
    # willNeverStop. Robo red will continue chasing and shoot wherever required
    return True
"We have come to conquer you all and bring you lots of candy!" | avatar | about | current project

gerstrong
Vorticon Elite
Posts: 1075
Joined: Wed Dec 31, 2008 14:44
Location: Frankfurt - Germany
Contact:

Post by gerstrong » Tue Dec 27, 2016 12:03

Nisaba wrote:python!
gerstrong wrote:More python code support will come and I plan to help people wanting to create mods which can run on CG with very special features.
that's brilliant news! what a huge and delicious update! sounds like candy to me.
I'd like to make use of your offer, helping implement mods. soon. very soon.

python!

Code: Select all

def isStunnableWithPogo():
    # Can Keen stun the enemy with pogo alone?
    return False

def isInvincible():
    # isInvincible. Shots never kill it
    return True

def canRecoverFromStun():
    # recoverFromStun. In case of Keen 9 this is always true and we have the biogarg behavior
    return True

def willNeverStop():
    # willNeverStop. Robo red will continue chasing and shoot wherever required
    return True
I'm on. Let me know what you plan to do, I'm open for everything. These functions just return values, but we can do a lot more like AI code for enemies...
Having fun developing stuff...

Post Reply