A custom 3d asset: is this possible yet?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

A custom 3d asset: is this possible yet?

Post by Isaac »

When I define cube shaped FBX model as the base of a cloned object ~which is all the 'custom models' page says to do (I think), I get a file not found error for a .model file of the same name. (And this crashes the editor too, when I attempt to place the object).
IE. referencing test_Cube.fbx causes a file not found error for test_Cube.model

Is the model file required (obviously is :D ), and how do I create one? Does this have to wait for a 3rd party export script?

** As an experiment, I copied a valid model file to the asset location and renamed it (just to see if the editor would find the .model file); it did not. This is what I put in Object.lua... does this have a mistake?

(My FBX mesh is in a folder in the mod directory '\mod_assets\models\wall_sets\dungeon\' )

Code: Select all

-- This file has been generated by Dungeon Editor beta-1.2.7

-- TODO: place your custom dungeon object definitions here

cloneObject{
	name = "Test Cube Door",
	baseObject = "dungeon_door_metal",
	model = "mod_assets/models/wall_sets/dungeon/test_Cube.fbx"
}
User avatar
Tomm
Posts: 36
Joined: Sat Apr 14, 2012 2:15 pm

Re: A custom 3d asset: is this possible yet?

Post by Tomm »

I find this pipeline kind of messy.. I wish we could just import an .fbx file inside the editor just like in UDK :/
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: A custom 3d asset: is this possible yet?

Post by Isaac »

Tomm wrote:I find this pipeline kind of messy.. I wish we could just import an .fbx file inside the editor just like in UDK :/
I do not fully understand the process yet, but [if possible], it would be very good have the editor import the user .FBX file, and auto-generate the .model file ~perhaps with some user input if needed.

** At any rate, what I've mentioned does crash the editor [CTD]; but with intelligent error reporting.
User avatar
Bek
Posts: 39
Joined: Fri Apr 13, 2012 3:39 am

Re: A custom 3d asset: is this possible yet?

Post by Bek »

You will need a custom exporter for your modelling application to export a .model file that fits the structure shown here http://www.grimrock.net/modding/model-a ... e-formats/

I too was hoping it would just use native .obj or .fbx but here we are. Programmers, you're our only hope :D
Post Reply