Author Topic: Level Creation problem  (Read 1786 times)

Beheaded

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Level Creation problem
« on: April 13, 2008, 04:15:49 am »
Alright, ive got the server running, i can export b2cs levels out just fine, and when i test it out on walktest (the CS mini engine) the level works fine. Now when i load it in (i have the private server up and running) i get just a black level. Ive matched the XML to other world files and it seems to be the same.
The client error i get is:
Code: [Select]
PSLoader: step 3: success
    8926) <src/common/util/psxmlparser.cpp:282 ParseFile>
    8926) Could not find file: /planeshift/world/room1/sound.xml
  PSLoader: step 4: success
Map room1 loaded successfully in 43ms
    9441) <src/client/psclientdr.cpp:250 HandleStatsUpdate>
    9441) Stat request failed because CelClient not ready for 10000
    9441) <src/client/psclientdr.cpp:250 HandleStatsUpdate>
    9441) Stat request failed because CelClient not ready for 10000
  PSLoader: step 5: success
    9576) <src/common/paws/pawsborder.cpp:60 UseBorder>
    9576) Invalid dimensions on border drawable: >UpperLeftMap<
  PSLoader: step 6: success

and heres the level XML:
Code: [Select]
<?xml version='1.0' encoding='UTF-8'?>
<world>
    <variables>

        <variable name="lightning reset">

            <color red="0" green="0" blue="0" />

        </variable>

        <variable name="LodM" value="-0.00666667" />

        <variable name="LodA" value="1.33333" />

    </variables>
  <plugins>
    <plugin name='genmesh'>crystalspace.mesh.loader.genmesh</plugin>
    <plugin name='genmeshfact'>crystalspace.mesh.loader.factory.genmesh</plugin>
  </plugins>
  <shaders/>
  <textures>
    <texture name='texture.png'>
      <file>textures/texture.png</file>
    </texture>
  </textures>
  <materials>
    <material name='Material'>
      <texture>texture.png</texture>
    </material>
  </materials>
  <sounds/>
  <settings>
    <clearscreen>yes</clearscreen>
    <clearzbuf>yes</clearzbuf>
  </settings>
  <library>factories/Cube</library>
  <triggers/>
  <sector name='room1'>
    <cullerp plugin='crystalspace.culling.frustvis'/>
    <meshobj name='Cube'>
      <plugin>genmesh</plugin>
      <params>
        <factory>Cube</factory>
      </params>
      <zuse/>
      <move>
        <v y='0' x='14.5872' z='0'/>
      </move>
    </meshobj>
    <light name='Lamproom1'>
      <attenuation>linear</attenuation>
      <center y='-11.0394' x='4.0762' z='1.0055'/>
      <color blue='1.0' green='1.0' red='1.0'/>
      <radius>100</radius>
    </light>
  </sector>
  <sequences/>
  <start name='Camera01'>
    <sector>room1</sector>
    <position y='-6.7668' x='7.4811' z='-6.5076'/>
  </start>
</world>

I even run the client with -relight and it still wont give me an inkling of a lighted level. any thoughts?

juliank

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: Level Creation problem
« Reply #1 on: April 13, 2008, 09:12:54 pm »
I'm having pretty much the same problem.

Any thoughts out there?

Beheaded

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Level Creation problem
« Reply #2 on: April 13, 2008, 09:27:26 pm »
ok after talking with the devs apparently your not supposed to use the -relight function ni the client OR use walktest to light the map, your supposed to use the lighter2 tool thats in the crystalspace toolset to light it. After trying to use it though i get a seg fault when its trying to create the lightmaps due to not finding the library files (which i have set in my PATH variable). Gonna try it out on my windows box and see if that version is a bit more stable.

Beheaded

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Level Creation problem
« Reply #3 on: April 14, 2008, 08:40:11 am »
OK still no go, compiled the CS client with the lighter2 tool on windows and converted my maps on it. But I still get nothing inside the planeshift client. Still at a loss here still. Can a level designer please post there pipeline they use to make maps? And what basic options they would use when exporting.

juliank

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: Level Creation problem
« Reply #4 on: April 14, 2008, 05:51:35 pm »
I've also tried lighter2 and no joy.

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: Level Creation problem
« Reply #5 on: April 14, 2008, 10:16:46 pm »
I would like to know as well.  When I attempted it, this is as far as I got and then I gave up.

juliank

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: Level Creation problem
« Reply #6 on: April 14, 2008, 11:18:31 pm »
There's a similar post here: http://hydlaa.com/smf/index.php?topic=20416.msg223775#msg223775

But the suggested solution looks like it got garbled...

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: Level Creation problem
« Reply #7 on: April 15, 2008, 12:10:39 am »
Ah finally we figured it out...blend2crystal has a world settings option called "clearscreen" that is set to true by default.  Setting this to false fixed it for both of us.

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Level Creation problem
« Reply #8 on: April 15, 2008, 07:24:05 am »
This is fixed in SVN, you can use clearscreen now :)
We're not evil. We're simply amazing.

juliank

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: Level Creation problem
« Reply #9 on: April 16, 2008, 07:17:03 am »
Do I need to edit the world file by hand? I tried that but psserver refused to load the map. Or is there a setting in the Blender2Crystal overlay? If there is, where is it? Can't find it under the world tab. I'm using 0.6 under windows.

ThomPhoenix - if I wanted to update from SVN and rebuild what revision would I need, or would I just go with trunk?


ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: Level Creation problem
« Reply #10 on: April 16, 2008, 09:41:58 am »
Trunk branch, latest revision.
We're not evil. We're simply amazing.