Page 21 of 48
Re: mpbc 0.1.1: custom block creation tool
Posted: 27 Apr 2012, 14:10
by phil13hebert
xXLolloXx wrote:Yep i was trying with the bay loop but the desert doesn't work either

Ok. Do you have the latest Tm2Unlimiter because you need the latest one. If no, here's the link :
http://forum.mania-creative.com/thread-2983.html
Edit : I tried my links and they show up in the editor so if the problem isn't that you don't have the latest version of Tm2Unlimiter, i'm sorry but I don't know the problem.
CoastKid wrote:phil13hebert wrote:Is it possible to put 2 textures on the same block at the moment ?
If yes, could you tell me how to with 3ds max ?
Yes it is possible, you need to create "Multi/Sub-object" material, then set quantity of materials inside of this material, setup those materials with textures, remember their IDs and apply that "Multi/Sub-object" material to the object, then in editable-poly or editable-mesh you can select surfaces and change theirs Mat ID to set material you need.
Then do not forget to set sub-materials names in xml and describe the textures names.
Also there is another way to use different materials in max, just select the surface and apply material to it from MatLib, but i must warn you that you can produce some errors and mess using this method.
P.S. Wow guys! so many cool blocks this morning!

Could you give me a xml example file for 2 or more texture please ? I don't really understand how to do the .xml with more than only a single texture.
Re: mpbc 0.1.1: custom block creation tool
Posted: 27 Apr 2012, 15:22
by xXLolloXx
I have the latest version of tm2unlimiter i hope that someone knows how to fix this...
Re: mpbc 0.1.1: custom block creation tool
Posted: 27 Apr 2012, 15:30
by phil13hebert
Here's a new block :
http://dl.dropbox.com/u/43316185/MyTm2B ... oblock.gbx
http://dl.dropbox.com/u/43316185/MyTm2Blocks/cactus.pak
This is the cactus block from the desert environment of TmUnited. I wanted to add some deco blocks in Canyon.

Re: mpbc 0.1.1: custom block creation tool
Posted: 27 Apr 2012, 15:42
by CoastKid
phil13hebert wrote:
Could you give me a xml example file for 2 or more texture please ? I don't really understand how to do the .xml with more than only a single texture.
I've made a test and found that Multi/Sub-object material does not work with mpbc, to make your block with more then one material you need to Detach (function in editable pole/mesh) surface from mesh into another object, and and apply another material to it, in xml file you need to set some thing like this:
Code: Select all
<environment name="Canyon" url="http://arc.com/blocks/">
<blocks>
<block name="TestCubes" type="Classic" editorfolder="tests/">
<icon file="icon.tga"/>
<variants>
<variant type="Air">
<model file="TestCubes.3ds">
<material name="01">
<texture type="Diffuse" file="testcubes_d.dds"/>
<texture type="Normal" file="testcubes_n.dds"/>
<texture type="Specular" file="testcubes_s.dds"/>
</material>
<material name="02">
<texture type="Diffuse" file="testcubes_d2.dds"/>
<texture type="Normal" file="testcubes_n.dds"/>
<texture type="Specular" file="testcubes_s.dds"/>
</material>
</model>
<units>
<unit>
<offset>
<x>0</x>
<y>0</y>
<z>0</z>
</offset>
</unit>
</units>
</variant>
</variants>
</block>
</blocks>
</environment>
Re: mpbc 0.1.1: custom block creation tool
Posted: 27 Apr 2012, 15:56
by phil13hebert
Ok cool ! This is an easier method for me. Thanks
Edit : It works. I tried your method and here's an example ( I'm proud of it

)
Here are the links for download :
http://dl.dropbox.com/u/43316185/MyTm2B ... oblock.gbx
http://dl.dropbox.com/u/43316185/MyTm2Blocks/jump2.pak
Re: mpbc 0.1.1: custom block creation tool
Posted: 27 Apr 2012, 18:05
by TheMagician
That's something to be proud of

The speed with which you create these blocks is incredible.
Really looking forward to the next release with baked lightning and perhaps support for using in-game textures.
Re: mpbc 0.1.1: custom block creation tool
Posted: 27 Apr 2012, 18:20
by justspeeding
hi all
i tryed to import my blocks also but I have a problem
when i DL the eastersrc.zip (I do not edeting it just unzip for testing)
http://dl.dropbox.com/u/60681258/tm2/mp ... %20src.zip
and drag the testenv.xml over the mpbc-v0.1.1.exe and then it makes a output folder
place the gbx Files in mydocuments/maniaplanet/blocks/canyon/.........gbx
and the myblocks.pak in mydocuments/maniaplanet/Packs/myblocks.pak
I start tm2unlimiter
I only see the icons but no mesh is there.
i have the last TM2Unlimiter (bc when i DL
http://dl.dropbox.com/u/60681258/tm2/mp ... output.zip output folder from the forum the models work.
and I removed the User.FidCache.Gbx from C:\Users\***\Documents\ManiaPlanet\Config
here you can test my block that i made myself but you will see the icon in podium but no mesh ( i have the same when I do it whit the DL files)
https://www.dropbox.com/s/kvfkbhibtf8qw ... oblock.gbx
https://www.dropbox.com/s/uimqwjfr64us5o3/myblocks.pak
Re: mpbc 0.1.1: custom block creation tool
Posted: 27 Apr 2012, 18:32
by xXLolloXx
Can someone help me please? you guys are torturing me with all these new blocks!

Re: mpbc 0.1.1: custom block creation tool
Posted: 27 Apr 2012, 18:33
by phil13hebert
Your link doesn't work. When the link will work, I'll look if it works for me
xXLolloXx wrote:Can someone help me please? you guys are torturing me with all these new blocks!

Just wait for Arc to answer because I don't know what's your problem

or you can look at this manual made by Arc. Maybe you'll find the solution inside.
Manual
Are you sure that you start the game with Tm2Unlimiter because in the manual, I saw the same error as you and it was when you start the game with the normal launcher :
Arc's manual wrote:Players need to be running TM2Unlimiter for the custom blocks to load properly. This is due to a restriction in ManiaPlanet (see Introduction). If you run ManiaPlanet without TM2Unlimiter, the blocks' icons will be visible in the editor but you can't actually place them.
Re: mpbc 0.1.1: custom block creation tool
Posted: 27 Apr 2012, 18:45
by justspeeding