Show Posts
|
|
Pages: 1 2 3 [4] 5 6 ... 13
|
|
47
|
Crystal Space Development / Support / Re: Linux Executables
|
on: May 18, 2009, 07:49:30 pm
|
Hello, I'm new to CS, but am excited to get to working on a project that's been a brainchild of mine for some time now. I believe Crystal Space is exactly what I've been looking for to finally put my idea's to purpose. I'm having some initially issues, however. I downloaded the CELStart, thinking that's what I needed to run the demo games from the Crystal Space site. However, all I'm seeing is Executable files instead of Shell Script files for running the platform. Thus, I'm having issues running the Executable files to get CELStart running. An overall tutorial might be in order. If CELStart IS what I needed to run the demo's and begin working on my own project, then please help me get it running... Executables aren't typically what Linux uses to start a program... Many Thanks  Mystik. Hi, I guess you're referring to the binaries at http://www.crystalspace3d.org/downloads/contrib/?C=M;O=D ? Anyway, generally celstart-based applications are zipped in a so-called .celzip file, and all one has to do is: ./celstart /path/to/file.celzip Granted, a script can help setting the environment up but it's not strictly required, one can do it by hand. And in fact there's a .sh script for celstart (celstart_wrapper). There's a little README file with some instruction in there too. Note most CEL demos files are sadly a bit outdated (they're from the 1.0 era iirc) and may not work very well with more recent builds...
|
|
|
|
|
48
|
Crystal Space Project Development / Development Discussion / Re: A Dark world
|
on: May 18, 2009, 07:36:35 pm
|
|
Hi,
it's a bit hard to say without knowing the CS version you use (and revision if it's a SVN checkout). One possibility is that you previously had some lights in the level and relit the map (thus generating lightmaps). When later the light was removed, the lightmaps had to be deleted or recomputed for the change to be apparent.
|
|
|
|
|
49
|
Associate Projects / CEL Discussion / Re: Dynamic Heightmap Loading
|
on: May 18, 2009, 07:29:58 pm
|
|
One thing which may help a bit is to not create a distinct entity for each tile/node, but just add a "tagged" pcmesh to the existing one. Probably you could also save the "character grid" by not using a complete entity just for "ground type" information, and instead use pcproperties with a "clever" naming scheme so you can lookup what type of ground some node is made of. It could perhaps even be skipped if you used eg. some part of the material name for that, which would be assigned to the tagged pcmesh I mentioned earlier.
|
|
|
|
|
50
|
Crystal Space Projects / Project Discussion / Re: Reloading maps
|
on: May 18, 2009, 07:01:53 pm
|
|
Hello !
one way would be to load stuff you want to unload later in a distinct region (with 1.2.1/1.4) or collection (with 1.4+) depending on the CS version you use, and call eg. iRegion::DeleteAll() or iCollection::ReleaseAllObjects(). Another option would be to just use iEngine::DeleteAll(), but then you might have to re-load stuff you already loaded earlier.
|
|
|
|
|
52
|
Crystal Space Development / Support / Re: Could not load crystalspace.kernel.vfs
|
on: May 14, 2009, 11:09:43 pm
|
|
A missing VFS plugin is generally caused by of problem with zlib, which on win32 means that setup of cswin32libs and/or PSDK was not followed correctly. There should be no need, afaik, to copy stuff around manually. Try cleaning what you did and restart from scratch, following the manual steps for MSVC configuration scrupulously.
|
|
|
|
|
54
|
Crystal Space Development / Support / Re: map2cs
|
on: May 14, 2009, 10:53:05 pm
|
|
map2cs was removed long ago, before 1.0 it seems. If you use an old version with which it was provided, that would work. But there's nearly no chance a map converted with it could be loaded correctly in recent CS versions. Your best chance would be to somehow get this imported in blender (perhaps with a hop to .obj format), then re-export it using blender2crystal.
|
|
|
|
|
55
|
Crystal Space Development / Support / Re: Linker errors on CS app
|
on: May 14, 2009, 10:39:43 pm
|
|
You don't mention using cs-config, which is the primary way to get compile and link flags to build CS apps. I think one has to add commands like `cs-config --cflags` and `cs-config --libraries` in the appropriate IDE text fields.
|
|
|
|
|
56
|
Associate Projects / CEL Discussion / Re: CELStart Python issues?
|
on: May 14, 2009, 10:33:38 pm
|
I've been having odd problems with CELStart, I can run normal examples, but I can't get any python samples to run. I had the exact same problem on 1.2.1, and 1.4.0, with python 2.4, 2.5, and 2.6. Here's the error it throws every time:
Do you use pre-compiled binaries or did you build CS/CEL yourself from sources ? In any case, setting PYTHON env var to the python[.exe] binary and/or PYTHONHOME to the Python install directory might help.
|
|
|
|
|
60
|
Crystal Space Development / Support / Re: environment variable on mac os x
|
on: February 15, 2009, 08:21:18 pm
|
I don't know about OSX details, but here are two things that may help getting CEL to detect CS: - add more directoryies to CRYSTAL env var: since you installed CS (not a good move for a beginner IMHO), stuff is spread in the system. At least on Linux, the separator is :, so one can do things like export CRYSTAL=/usr/local/lib/crystalspace:/usr/local/bin:/usr/local/share/crystalspace
- add the directory containing cs-config to the PATH before running CEL's configure
|
|
|
|
|
|