Crystal Space
Welcome,
Guest
. Please
login
or
register
.
June 20, 2013, 08:17:00 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9262
Posts in
2263
Topics by
5444
Members
Latest Member:
Summonermw2
Crystal Space
Associate Projects
CEL Discussion
How to realize entity-scripting and quest-scripting with Python?
« previous
next »
Pages:
[
1
]
Author
Topic: How to realize entity-scripting and quest-scripting with Python? (Read 3158 times)
mark
Full Member
Posts: 101
How to realize entity-scripting and quest-scripting with Python?
«
on:
September 20, 2005, 09:46:52 am »
Most games like Morrowind etc have an own scripting language. We want to embed python for this reason.
I would like to know how to realize entity-scripting with python.
The only condition is that all behaviours (however they are written) must use a BehaviourCommon class (written in C++) as parent class. (This class sends the received messages over network, that's the reason)
The entities will be created by C++ too.
Is it still possible to attach behaviours written in python (but derived from BehaviourCommon) to these entities? (Or isn't that mixup a good idea?)
Can I use CEL's cel.behaviourlayer.python plugin or should I use swig and create an interface to my BehaviourCommon class?
Another question is, if it's possible to use the builtin questsystem from python.
(writing everything in C++ is the easiest way - damned team-scripters *g*)
Logged
Gentoo Linux ~x86, kernel 2.6.11-cko9 smp, gcc 3.4.4-r1, binutils 2.16.1, glibc 2.3.5 NPTL
CS+CEL Pseudo Stable 2005.09.03
mark
Full Member
Posts: 101
Re: How to realize entity-scripting and quest-scripting with Python?
«
Reply #1 on:
September 22, 2005, 10:01:03 am »
ok, silence means: "forget python and use C++ only"
Logged
Gentoo Linux ~x86, kernel 2.6.11-cko9 smp, gcc 3.4.4-r1, binutils 2.16.1, glibc 2.3.5 NPTL
CS+CEL Pseudo Stable 2005.09.03
griminventions
Newbie
Posts: 33
Re: How to realize entity-scripting and quest-scripting with Python?
«
Reply #2 on:
October 22, 2005, 02:59:03 am »
I haven't used CEL yet (still getting it to build everything) but from what I gather you can do anything in Python that you can do in C++. There are example scripts with the CEL distribution that should help.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...