Weapon Smithy

The place to discuss all things Lugaru.
Post Reply
Maximus
Posts: 16
Joined: Fri Jul 03, 2009 7:42 pm
Contact:

Weapon Smithy

Post by Maximus » Mon Jul 06, 2009 6:43 am

The smithy is not open yet!

I have 2 things to ask, I am kind of a noob in making stuff so bare with me.

1:How do I make .Blend into .Solid?
2:whats the difference between .x and .solid

User avatar
nutcracker
Posts: 1119
Joined: Tue Apr 22, 2008 2:16 am
Location: Western Finland

Re: Weapon Smithy

Post by nutcracker » Mon Jul 06, 2009 7:30 am

Great, but lotus wold already got one going, and its awesome :/

Maximus
Posts: 16
Joined: Fri Jul 03, 2009 7:42 pm
Contact:

Re: Weapon Smithy

Post by Maximus » Mon Jul 06, 2009 11:40 am

I Know, I didnt want to like, take his ones name.

User avatar
Jendraz
Posts: 640
Joined: Mon Nov 12, 2007 6:55 pm
Location: Los Angeles
Contact:

Re: Weapon Smithy

Post by Jendraz » Mon Jul 06, 2009 4:56 pm

Good luck, hope you can get it going.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: Weapon Smithy

Post by rudel_ic » Mon Jul 06, 2009 7:34 pm

Maximus wrote: 1:How do I make .Blend into .Solid?
1. You model your model, then convert all faces to triangles

2. You generate UV mapping (shortkey U in edit mode)
Image

3. You export the model as COLLADA 1.4. Settings:
Image

4. You start Brainfart
:: Download Brainfart 0.3 at http://www.alice-dsl.net/wolf.mathwig/tools/brainfart/
:: Unpack it to somewhere
:: Start the archive "Brainfart.jar" that's in there - either by double-clicking it or from the terminal with the line
:: java -jar Brainfart.jar
:: ( Java6 has to be installed - get Java at http://java.com/ )

5. You convert your COLLADA model to a SOLID model with Brainfart.
:: The menu point is Extras -> Directly convert COLLADA to SOLID
:: The shortkey is F5
:: - First, you select your .DAE file (that's the COLLADA model you've exported from Blender)
:: - Then, you say where the .SOLID is supposed to end up and how it's called (that's the file
:: Lugaru understands as a model)

6. You make a backup of the whole folder called Data inside of the Lugaru folder (call the backup Data_ORIGINAL or whatever)

7. You copy the SOLID model to Lugaru/Data/Models

8. You replace the SOLID model you want to replace
:: So if you want Sword.solid to be replaced by your new model called Mesh.solid,
:: you delete the original Sword.solid and then rename Mesh.solid to Sword.solid

9. You try your new weapon in the game

If you want to know about texturing, watch my video tutorial. It's all explained in detail there.
You can download it at http://www.alice-dsl.net/wolf.mathwig/tools/brainfart/ and play it with VLC
2:whats the difference between .x and .solid
They're two different 3D model formats.
.x is a Microsoft standard. I started the first conversion prototype with .x. But I stopped using it because there are problems with it. Instead, I took .dae (COLLADA) because it's very well-supported by all kinds of 3D apps.
.solid is David Rosen's secret 3D model format, which I reverse-engineered about a year ago so that people can make custom models.

If you need help that's more specific, then tell me which operating system you have (Windows, OSX, Linux).

I'll answer questions on a daily basis, so please be patient.

User avatar
Lotus Wolf
Posts: 2218
Joined: Sun Aug 31, 2008 6:03 pm

Re: Weapon Smithy

Post by Lotus Wolf » Tue Jul 07, 2009 2:43 am

The Weapon Shop is not mine anymore, it's for anyone who's creating models, so you can post there, that way there aren't a bunch of threads for the same thing.

Maximus
Posts: 16
Joined: Fri Jul 03, 2009 7:42 pm
Contact:

Re: Weapon Smithy

Post by Maximus » Tue Jul 07, 2009 6:15 am

Lotus Wolf wrote:The Weapon Shop is not mine anymore, it's for anyone who's creating models, so you can post there, that way there aren't a bunch of threads for the same thing.
Then I'll post my weapons there, and this place can be like, Weapon making tutorials, or questions....
I guess, Just random thinking

Edit: I cant do any Brainfart stuff for any reason..... I tried with the terminal, It wont work.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: Weapon Smithy

Post by rudel_ic » Tue Jul 07, 2009 9:17 am

Maximus wrote: Edit: I cant do any Brainfart stuff for any reason..... I tried with the terminal, It wont work.
Please answer my questions. I want to help you, so I need to know these things.
I don't want to have to guess answers in order to help you.

Did you install the right Java version?

If you enter

Code: Select all

java -version
on a terminal, what's the result?

On my computer, it's this:

Code: Select all

java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
That means Java6 is installed (the number after the decimal point is the main version number).

What operating system do you have?

Java on Mac OSX is shitty. It's outdated. If you have a dualboot setup, work in XP. If you haven't, you'd have to install an unofficial Java version.
Here is such a version: http://landonf.bikemonkey.org/static/soylatte/

If you're on Linux, you have to use the official Java version instead of OpenJDK. OpenJDK is not ready for production.

On Windows, Java runs perfectly fine if you have the current version installed.

You should be able to run Brainfart.jar with a doubleclick.
If that doesn't work, then open a terminal, use the cd command to get into the folder Brainfart.jar is in. From there, do

Code: Select all

java -jar Brainfart.jar
If there are errors when you enter that command, then please post these errors in the thread.

"It doesn't work" is too vague. Post errors, what your system is like and so on.

User avatar
Stromboli
Posts: 95
Joined: Mon Dec 29, 2008 10:11 am

Re: Weapon Smithy

Post by Stromboli » Sun Jul 12, 2009 9:07 am

Personally, I'd encourage you to post your own weapons in your own thread. Otherwise, your stuff is likely to get buried under the enormous amount of chatter that goes on there.

User avatar
rudel_ic
official Wolfire heckler
Posts: 2193
Joined: Sun Aug 28, 2005 11:19 pm
Location: Hamburg City
Contact:

Re: Weapon Smithy

Post by rudel_ic » Tue Jul 14, 2009 10:06 pm

Maximus, are you still playing with this stuff? Have you got it working?

Post Reply