Page 1 of 1

Unity3D Box Export To Bzflag Map Format

Posted: Fri Aug 19, 2016 3:50 pm
by TeamVSS_IsBack
Hi,

Here is a tool for lazy map maker :lol-old: (like me).
This tool can Export box objects from Unity3D to a text file with the format of bzflag map.

1/ You need Unity3D (its free) : https://unity3d.com/get-unity/download
2/ You need this projects (with box prefabs) : https://sourceforge.net/projects/unityb ... rce=navbar
3/ create, enjoy, run the project ("Play" button on Unity), and then you have a result in "MyFile.txt"

//map In Unity3d Environnement
https://sourceforge.net/p/unitybzflagbo ... unity1.png

//Result in project directory
https://sourceforge.net/p/unitybzflagbo ... unity2.png

4/Rename the file to a .bzw file and run it on bzfs to test it, you can also open the file in BZedit.

Im glad to share this with you.
(screenshot in french sorry :roll: )

TeamVss

Re: Unity3D Box Export To Bzflag Map Format

Posted: Fri Aug 19, 2016 4:14 pm
by Zehra
Nice work TeamVss.

The screenshots look really nice along with the interface.
Maybe I'll make some maps with it if possible.
Also I think you forgot to put a license on the project since I didn't see one on the project or in the download. :wink:

Re: Unity3D Box Export To Bzflag Map Format

Posted: Sat Aug 20, 2016 11:09 am
by TeamVSS_IsBack
If you know a license like a "For free" or "free to modify, share ..."

lol I have no time to continue this project, so its share a like or something, with non-commercial use.

I forgot to said one important thing, in Unity the axis is not the same at BZedit.

You need to look at the building example in Unity3d and the result to understand the logical.

You can also look at the C# script with visual Studio.

EDIT : GNU General Public License

Re: Unity3D Box Export To Bzflag Map Format

Posted: Sat Aug 20, 2016 3:44 pm
by blast
Which version of the GNU GPL? Also, "non-commercial use" is incompatible with GPL, which requires that commercial use is allowed. And you should include the license text with the software.

You're also using assets from BZFlag, which is licensed under the GNU LGPL 2.1, and you're not indicating that they are licensed under the LGPL 2.1 nor are you providing the license text with them, meaning you are currently in violation of our license.

There's also a several Unity binary files included which would you should probably not be distributing with your source zip.

Re: Unity3D Box Export To Bzflag Map Format

Posted: Sun Aug 21, 2016 9:25 am
by TeamVSS_IsBack
Thx Blast for these information.
I don't want to be in violation of bzflag's project license.

I have include the GNU LGPL 2.1 text and target the 2 picture, if you don't like it, ill replace it.
I have include the GNU GENERAL PUBLIC LICENSE Version 3 text too.
Share unity project is allowed.

the only thing I want is to share with you, for this game where there is so much to do.

Re: Unity3D Box Export To Bzflag Map Format

Posted: Sun Oct 30, 2016 4:45 am
by JeffM
Image
Save to a hardcoded file on play? You are lazy :)

There is so much more that can be done with editor scripting.
usercontent.irccloud-cdn.png
(561.15 KiB) Not downloaded yet

Re: Unity3D Box Export To Bzflag Map Format

Posted: Mon Nov 07, 2016 8:38 am
by TeamVSS_IsBack
Save to a hardcoded file on play? You are lazy :)

There is so much more that can be done with editor scripting.
It is not im lazy, it was just a test for me, i know there are so much to do with this editor to make map for bzflag or to make bzflag with it.
I think Unity was a good idea to make this thing of devellopement, but It need time and I had many problems to convert the origine XYZ of Unity to BzFlag's Origine. :book:

I hope you will make better than me !