Game Development Community

Column plugin added

by Jaimi McEntire · in Constructor · 07/08/2007 (12:20 pm) · 8 replies

This will create an array of columns. You can specify the how many sides on the base/capital that you want, and how many sides on the column itself.

I still have some things I want to add (I want to add the ability for the column itself to curve), but it's usable as is:

You can get it in the update here:

www.aztica.com/Images/plug-ins.zip

Here's an quick example of using the column plugin (along with the stairs, ziggurat, and house plugin):

www.aztica.com/Images/coltest.jpg

#1
07/08/2007 (10:59 pm)
You the man!!
#2
07/18/2007 (6:34 am)
All of the plugins crash my constructor 1.0.2 if i try to create some of the objects, with this log:
...
--------- Initializing: Torque Creator ---------
Loading compiled script creator/editor/editor.cs.
Loading compiled script creator/editor/particleEditor.cs.
Loading compiled script creator/scripts/scriptDoc.cs.
Loading compiled script creator/ui/creatorProfiles.cs.
Loading compiled script creator/ui/InspectDlg.gui.
Loading compiled script creator/ui/InspectAddFieldDlg.gui.
Loading compiled script creator/ui/GuiEditorGui.gui.
Engine initialized...
Scene modification state changed to 1
ToolPropertiesStack::buildToolInterface()
CToolManager::__freezeGeometry()
Scene modification state changed to 0
Scene modification state changed to 1
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Scene modification state changed to 0
Scene modification state changed to 1
<crash>
Maybe someone has any idea about it.

I have unzipped the files, and putted Az-directory and AzPlugs.cs into my constructor plug-ins directory.
#3
07/18/2007 (9:34 am)
Alex - do any of the other plugins work (simple cube, etc?) I'm wondering if it doesn't like the .DSO for some reason... What OS are you running?
#4
07/18/2007 (11:22 pm)
Other (old) PlugIns works. And the new PlugIns are loaded:
Loading plug-ins...
Compiling C:/Programme/Torque/Constructor/plug-ins/AzPlugs.cs...
Loading compiled script C:/Programme/Torque/Constructor/plug-ins/AzPlugs.cs.
2
Loading compiled script plug-ins/Az/MakeHouse.cs.
Tool Manager: Registered tool MakeHouse (Interactive)
Loading compiled script plug-ins/Az/Extrude.cs.
Tool Manager: Registered tool Extrude (Interactive)
Loading compiled script plug-ins/Az/Torus.cs.
Tool Manager: Registered tool Torus (Interactive)
Loading compiled script plug-ins/Az/SimpleStairs.cs.
Tool Manager: Registered tool SimpleStairs (Interactive)
Loading compiled script plug-ins/Az/Column.cs.
Tool Manager: Registered tool Column (Interactive)
Loading compiled script plug-ins/Az/Ziggurat.cs.
Tool Manager: Registered tool Ziggurat (Interactive)
Loading compiled script plug-ins/Az/SelectionInfo.cs.
Tool Manager: Registered tool SelectionInfo (Generic)
3
Compiling C:/Programme/Torque/Constructor/plug-ins/givemecubes.cs...
Loading compiled script C:/Programme/Torque/Constructor/plug-ins/givemecubes.cs.
Tool Manager: Registered tool GiveMeCubes (Dialog)
Compiling C:/Programme/Torque/Constructor/plug-ins/helloworld.cs...
Loading compiled script C:/Programme/Torque/Constructor/plug-ins/helloworld.cs.
Tool Manager: Registered tool HelloWorld (Generic)
Compiling C:/Programme/Torque/Constructor/plug-ins/postloadfunctions.cs...
Loading compiled script C:/Programme/Torque/Constructor/plug-ins/postloadfunctions.cs.
Compiling C:/Programme/Torque/Constructor/plug-ins/simplebox.cs...
Loading compiled script C:/Programme/Torque/Constructor/plug-ins/simplebox.cs.
Tool Manager: Registered tool SimpleBox (Interactive)
...Done

I have Windows XP SP2, AMD Athlon64 3500, NVidia GeForce 7600 GS 512MB, 2 GB RAM.
#5
07/19/2007 (6:00 am)
Does the "SelectionInfo" plugin work? It doesn't actually do much (it gives the face ID for the selected face now). If it doesn't then It must be something with the dso. If it does work, I can send you the source for one of them, and if you could run it in torsion, maybe it would let us know what went wrong.
#6
07/19/2007 (11:11 pm)
SelectInfo work.
But not the "Build"-Plugins and extrude.

For extrude-test i have created a simple cube, here is the crash-log:
--------- Initializing: Torque Creator ---------
Loading compiled script creator/editor/editor.cs.
Loading compiled script creator/editor/particleEditor.cs.
Loading compiled script creator/scripts/scriptDoc.cs.
Loading compiled script creator/ui/creatorProfiles.cs.
Loading compiled script creator/ui/InspectDlg.gui.
Loading compiled script creator/ui/InspectAddFieldDlg.gui.
Loading compiled script creator/ui/GuiEditorGui.gui.
Engine initialized...
   keyboard0 input device created.
   mouse0 input device created.
Scene modification state changed to 1
ToolPropertiesStack::buildToolInterface()
CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]
CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]
CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]
CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]
CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]
CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]
CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]
CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]
CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]
CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]
Could not locate texture: (null)/rotten_02
Could not locate texture: (null)/rotten_02
CToolManager::__freezeGeometry()
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
Set::getObject index out of range.
__setSelectionType(): Sel type to 2
*** Ray Selection (Face) found an object
***       Class Name: CMap
*** Ray Selection (Face) found an object
***       Class Name: CMap
Selection type:  SelectFaces
Faces 0 21 
Face plane 0 -1 0 -3
Transform 1 0 0 0 0 1 0 0 0 0 1 3 0 0 0 1
Brush Pos 0 0 3
<crash>
It must be something with geometry, because selectinfo works, but all of plugins to create or modify geometry crash constructor.
#7
07/21/2007 (7:10 am)
I'm sorry - I don't really have a lot of ideas as to why it's not working for you. You're getting some errors:

CMap::addMapBrush(): Problem processing brush [This brush only has 0 planes which is insufficent to create a convex volume. Possibly a badly formatted .map?]

But this happens when you are creating a new brush in all the plugins, and didn't appear to crash it anyway. The other error is:

Could not locate texture: (null)/rotten_02

Which the (null) part doesn't sound good. You may want to try it with one of the sample textures selected (instead of a user-added one).

Other than that, I'll look at the previous issue, and see if I can figure out how to stop it from getting an error... beyond that... I don't know. Maybe try it with a fresh install of constructor?
#8
07/22/2007 (11:29 pm)
Have downloaded a "fresh" version, and it works now.
My "old" version was 1.0.2, and the "new" is 1.0.2 too... oO
So i don't know why it works.