Crystal Space
Welcome,
Guest
. Please
login
or
register
.
May 25, 2012, 11:27:50 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
8836
Posts in
1981
Topics by
4804
Members
Latest Member:
steelfraud
Crystal Space
Associate Projects
CrystalBlend Discussion
Blender2Crystal problem with quests
« previous
next »
Pages:
[
1
]
Author
Topic: Blender2Crystal problem with quests (Read 1834 times)
Antol
Newbie
Posts: 3
Blender2Crystal problem with quests
«
on:
November 09, 2010, 10:22:23 am »
Hi everyone! Need your help urgently!
I want to bind the quest to one of the entities in the world. I created it in the quest manager, he has two status. In the first status is set MeshSelectTrigger and add it to the second award newstate status. Exporting. It creates an xml addon in it all as in the manual. But when I run your world application it gives error
cel.questmanager.load: Unknown reward type 'newstate' while loading quest 'crush'!
xml entities_world
<?xml version='1.0' encoding='UTF-8'?>
<world>
<sector name='Scene'>
<addon plugin='cel.addons.questdef'>
<quest name='crush'>
<state name='celaya'>
<trigger type='meshselect'>
<fireon entity='$this'/>
<reward message='first udar' type='debugprint'/>
<reward state='polovina' type='newstate' entity='$this'/>
</trigger>
</state>
<state name='polovina'>
<trigger type='meshselect'>
<fireon entity='$this'/>
<reward message='second state' type='debugprint'/>
</trigger>
</state>
</quest>
</addon>
<addon entityname='boxforcrush' plugin='cel.addons.celentity'>
<propclass name='pcobject.mesh'>
<action name='SetMesh'>
<par name='name' string='boxforcrush'/>
</action>
</propclass>
<propclass name='pcobject.mesh.select'>
<property bool='1' name='sendup'/>
<property bool='1' name='senddown'/>
<property bool='1' name='global'/>
<property bool='1' name='sendmove'/>
<action name='SetCamera'>
<par name='entity' string='camera'/>
</action>
<action name='SetMouseButtons'>
<par name='buttons' long='2'/>
</action>
</propclass>
<propclass name='pclogic.quest'>
<property name='state' string='celaya'/>
<action name='NewQuest'>
<par name='name' string='crush'/>
</action>
</propclass>
<propclass name='pclogic.quest'>
<action name='NewQuest'>
<par name='name' string='crush'/>
<par name='actor' string='camera'/>
<par name='target_op_on' string='light_on'/>
<par name='target_op_off' string='light_off'/>
<par name='on_distance' string='1'/>
<par name='off_distance' string='-1'/>
</action>
<property name='state' string='celaya'/>
</propclass>
<behaviour name='level_behave'/>
</addon>
</sector>
</world>
why?!
sorry, my english lang is very bad.
Logged
Vincent
Full Member
Posts: 191
Re: Blender2Crystal problem with quests
«
Reply #1 on:
November 23, 2010, 11:07:22 am »
Hello,
which CS/CEL version are you using ?
I guess that by "quest manager" you mean some Blender/b2cs user interface.
If so, which Blender & b2cs versions/revision ?
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...