Crystal Space
Welcome, Guest. Please login or register.
April 20, 2014, 10:08:17 am

Login with username, password and session length
Search:     Advanced search
8990 Posts in 2037 Topics by 7598 Members
Latest Member: Tarafigueroa
* Home Help Search Login Register
  Show Posts
Pages: [1]
1  Associate Projects / CEL Discussion / Re: Problems with PyCelStartDemo on: October 07, 2007, 07:30:43 pm
Ok. It would be great to have a next release of CelStart, based on CS 1.2.

Genjix: Are you developing Ecksdee ? How is it going ? Can we expect a new release soon ?
2  Associate Projects / CEL Discussion / Re: Problems with PyCelStartDemo on: October 07, 2007, 12:16:57 am
I have found the problem.

You have to install Python 2.4.x first.
Then you must set PYTHONPATH to "[celstartdir-fullpath]\pycelstartdemo.celzip"

I think this should be added to the CelStart page. Can I do this myself ?
3  Associate Projects / CEL Discussion / Problems with PyCelStartDemo on: October 06, 2007, 11:46:12 pm
Hi,

When I start the PyCelStartDemo in CelStart-V7-win32 I get the error message:
Failed to load module "smallgame"
ImportExport: No module named smallgame

Does anybody know what the wrong with the demo ?

Thanks in advance.
4  Associate Projects / CEL Discussion / Re: Error: appinit is not callable on: September 02, 2007, 08:35:48 pm
I only had time to have a quick look at your code. It looks well structured and clean. I hadn't time to actually run it.

Maybe you should email Jorrit directly if you can add this to the CelStart wiki. His email address is somewhere at the contact page.
5  Associate Projects / CEL Discussion / Re: Error: appinit is not callable on: August 27, 2007, 07:53:51 pm
I haven't done something with CelStart anymore, because I don't know how I should go further. I'm still interested however.

I'm going to give your code a shot.

I think a lot of people are going to like it if you can add a simple CelStart/Python example at the CelStart webpage.
6  Associate Projects / CEL Discussion / Re: Error: appinit is not callable on: August 13, 2007, 09:38:33 pm
I've got this fixed.

I've downloaded the odetest example from the Crystal Space website, but it says:
- No factory for pccommandinput registered

Where should I look to get this fixed ? Are these examples still compatible with the latest CelStart ?

It would be nice if there are some Python examples at the CelStart page.

Thanks in advance.
7  Associate Projects / CEL Discussion / Error: appinit is not callable on: August 06, 2007, 01:43:20 am
Hi,

I'm using CelStart V7 for Windows.

When I start my CelStart program I get the following error in the console:
Error: appinit is not callable

This dialog box appears:
crystalspace.application.celstart: Can't create behaviour 'appinit' for entity 'bootstrap'.

It looks like it finds appinit.py, but it can't start my init method. Does anybody know what's wrong ?

This is my celstart.cfg file:
;CelStart.ClearScreen = true
Reporter.Silent = true
CelStart.MinimumVersion = 4
;CelStart.MapFile.a = SnowboardGame.xml
CelStart.Name = SnowboardGame
CelStart.Description = Snowboard Game
CelStart.Icon = SnowboardGame.jpg

Video.ScreenWidth = 800
Video.ScreenHeight = 600

System.Plugins.iGraphics3D = crystalspace.graphics3d.opengl
System.Plugins.iEngine = crystalspace.engine.3d
System.Plugins.iFontServer = crystalspace.font.server.multiplexer
System.Plugins.iFontServer.1 = crystalspace.font.server.default
System.Plugins.iFontServer.2 = crystalspace.font.server.freetype2
System.Plugins.iImageIO = crystalspace.graphic.image.io.multiplexer
System.Plugins.iLoader = crystalspace.level.loader
System.Plugins.iReporter = crystalspace.utilities.reporter
System.Plugins.iStandardReporterListener = crystalspace.utilities.stdrep
System.Plugins.iCollideSystem = crystalspace.collisiondetection.opcode
System.Plugins.iSndSysLoader = crystalspace.sndsys.element.loader
System.Plugins.iSndSysRenderer = crystalspace.sndsys.renderer.software

System.Plugins.iCelPlLayer = cel.physicallayer
System.Plugins.iCelPersistence = cel.persistence.classic
System.Plugins.iCelConsole = cel.celconsole

CelStart.BehaviourLayer.blpython = cel.behaviourlayer.python
CelStart.Entity.bootstrap = bootstrap
CelStart.EntityBehaviour.bootstrap = appinit
CelStart.EntityBehaviourLayer.bootstrap = blpython

This is my appinit.py file:
from pycel import *

def __init__(self,celEntity):
   zoneMgr = celZoneManager(celEntity)
   Vfs.ChDirAuto("/tmp/celstart/")
   zoneMgr.Load("/tmp/celstart","level.xml")

Thanks in advace,

Jeroen
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.172 seconds with 17 queries.