Author Topic: [CS] How can I place a static Model in Blockland ?  (Read 1316 times)

Hello,
i have created a static Model with Blender and exported to DTS but i cant find a server.cs to place a static Modell in Blockland.

For example:
1. I create a house in Blender
2. I export it to DTS Format
3. I create a Icon and a namecheck.txt and a description.txt
4. I create a server.cs file like this:
Code: [Select]
datablock fxDTSBrickData(brickRoyMDData)
{
brickFile = "Add-Ons/Brick_Test/TestHouse.dts";
category = "Special";
subCategory = "Misc";
uiName = "RoyMD";
iconName = "Add-Ons/Brick_Test/Icon_TestHouse";
CollisionShapeName = "Add-Ons/Brick_Test/TestHouse.dts";
canCover = false;
};
It fails with error "Invalid Brick size".

Ok its not a "Brick" but how can i add or place a own static Model?

Please Help.
« Last Edit: February 19, 2016, 09:15:20 AM by RoyMD »

You can't use a .dts file to make a brick.

Are you trying to make an actual placeable brick or a static shape?

for bricks, you can't use a .dts object for its brickFile (i'm pretty sure this is the case, correct me if i'm wrong). it has to a .blb, so you'll have to use badspot's .obj -> .blb program if you want your model to show up in-game. here's the link: http://forum.blockland.us/index.php?topic=212312.0
if you have any issues exporting it, post your issues here and others can help make it work

ps: the CollisionShapeName CAN be a .dts, so that field in your datablock is correct its just the brickFile field that has to be a .blb

You can't use a .dts file to make a brick.

Are you trying to make an actual placeable brick or a static shape?
you beat me to it


Thank you very much for your help :-)


why a test_house of course

This are the Testobjects for the first Import. I will create more Add-Ons and then publish here ;-)

Youre help was my start for future models :-)

The Script was a example ;-) but i create usefull things for all in future :-)

Um. What is it?

Looks like a gravestone.

He's planning Self Delete!!

Looks like a gravestone.

He's planning Self Delete!!
Loool :D

...or  like this:
:D
« Last Edit: February 19, 2016, 11:46:52 AM by RoyMD »

This are the Testobjects for the first Import. I will create more Add-Ons and then publish here ;-)

Youre help was my start for future models :-)

The Script was a example ;-) but i create usefull things for all in future :-)
Please don't release anything you've made with the DTS Brick System I linked. It's terrible. Besides you can convert any OBJ to BLB with General's converter. The thing you posted would work just fine as a BLB.