Jump to content


Photo

Building Constructor


  • Please log in to reply
72 replies to this topic

#1 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 19 August 2005 - 08:58 AM

Building Constructor

I actually made this program to ease the the creation of buildings for some project I worked on, called Newcitysim.
but it's suitable for all 3d gamemaker games, since it exports objects as d3d_model (extension .nbf).

Features:
- mouse-controlled, easy to use modeller (thanks to Yourself's 2d to 3d script)
- saving as d3d model
- 7 different standard shapes: block, cylinder, cone, wedge, arch, floor and wall
- Really easy UV-mapping
- automatic normal fixing for basic shapes, it doesn't matter which way you drag, the normals are always good.

Update 2-4-07: recompiled it with Gm7, so it's Vista compatible

New in V1.3:
- mouse-movement
- view/grid changes
- layout updated
- textures now loadable from any folder
- mouse-selection
- doubleclicking an object will center the view on that object
- selecting groups (hold ctrl while selecting)
- group/ungroup (press 'g'/'u')
- various other fixes...

New in V1.22:
- added box where you see the dimension of the selected object.
- fixed bug in properties view of cylinders and cones.

New in V1.19:
- General program settings are now saved in ini-files
- scrolling with right mouse button when uv-mapping fixed

Download:
Download from yoyogames.com

Screenie:
Posted Image

Edited by L4nt0m, 04 June 2007 - 12:56 PM.

  • 0

#2 ThatGamesGuy

ThatGamesGuy

    Videogame designer

  • GMC Member
  • 4766 posts
  • Version:GM8.1

Posted 19 August 2005 - 12:53 PM

This is pretty good. :D
  • 0

#3 Spengo

Spengo

    GMC Member

  • New Member
  • 491 posts

Posted 19 August 2005 - 04:27 PM

Nice, I like it. :D
  • 0

#4 rolflyer

rolflyer

    GMC Member

  • New Member
  • 17 posts

Posted 20 August 2005 - 07:11 AM

how to get it in GML to gamemaker?
  • 0

#5 ColdShellProductions

ColdShellProductions

    GMC Member

  • New Member
  • 317 posts

Posted 20 August 2005 - 07:19 AM

Good job this is inspiring i am going to make one. similar like a sim city but no sims
  • 0

#6 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 20 August 2005 - 07:54 AM

This is pretty good. :D

<{POST_SNAPBACK}>

Nice, I like it. :(

<{POST_SNAPBACK}>


thanks :(

how to get it in GML to gamemaker?

<{POST_SNAPBACK}>

in the create event of the object put:
//assuming you want to call the model the_model and the name of the file is model.nbf
the_model=d3d_model_create();
d3d_model_load(the_model,'model.nbf');
If you'd want, you can change the extension of the file.
Oh, and don't forget to change the , to . everywhere in the file (just open the file in notepad or something)

Good job this is inspiring i am going to make one. similar like a sim city but no sims

Good luck! (though you should definitly check out NewCitySim, we can always use some extra help :D)

Edited by L4nt0m, 20 August 2005 - 07:55 AM.

  • 0

#7 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 22 August 2005 - 06:01 PM

I've updated the Building Constructor. Check first post for changes.

If you have suggestions for the Building Constructor, plz tell me ::lmao::
  • 0

#8 game freak

game freak

    GMC Member

  • New Member
  • 125 posts

Posted 13 September 2005 - 12:04 AM

Sweet easy to use.
  • 0

#9 Jesper

Jesper

    GMC Member

  • New Member
  • 1789 posts

Posted 13 September 2005 - 03:37 PM

::lmao::WOOOOOOW :)
This really is a great program, waiting for the next version :D

BTW, do you want credit?
  • 0

#10 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 13 September 2005 - 07:03 PM

::lmao::WOOOOOOW :)
This really is a great program, waiting for the next version :D

BTW, do you want credit?

<{POST_SNAPBACK}>


thanks ;)

i would really appreciate it if you'd put the program in the credits list. It's not compulsory though...

by the way, if you want a new version, please give me some suggestions for the next version. im sorta out of ideas ;)
  • 0

#11 Feohdys

Feohdys

    GMC Member

  • New Member
  • 26 posts

Posted 15 September 2005 - 09:48 PM

::lmao::WOOOOOOW :o
This really is a great program, waiting for the next version :medieval:

BTW, do you want credit?

<{POST_SNAPBACK}>


thanks ::lmao::

i would really appreciate it if you'd put the program in the credits list. It's not compulsory though...

by the way, if you want a new version, please give me some suggestions for the next version. im sorta out of ideas :chikin

<{POST_SNAPBACK}>


Well, I don't really have any ideas for improvements, but you could fix the bug that causes it to crash when you load a texture:

ERROR in
action number 1
of Mouse Event for Left Pressed
for object obj_options:

Trying to get texture from non-existing sprite.


  • 0

#12 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 18 September 2005 - 11:11 AM

remember that you have to create a folder called 'textures' in the same folder as where you've put the BuildingConstructor in and put all your textures in there.
  • 0

#13 benny

benny

    GMC Member

  • New Member
  • 116 posts

Posted 18 September 2005 - 05:44 PM

in the create event of the object put:
CODE
//assuming you want to call the model the_model and the name of the file is model.nbf
the_model=d3d_model_create();
d3d_model_load(the_model,'model.nbf');

THIS IS NOT A REAL FUNCTION! that is not a real function! it says unkown function if you try and put that in.so please inform me how everybody else got it to work!!!!!!!!!!!!!!!!
WHY TORMENT ME SO!!!!!!!!!!!!

Edited by benny, 18 September 2005 - 05:45 PM.

  • 0

#14 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 18 September 2005 - 05:46 PM

You got gamemaker v6.1?
  • 0

#15 benny

benny

    GMC Member

  • New Member
  • 116 posts

Posted 18 September 2005 - 05:51 PM

ooh.i need that.well,no i dont.is it possible to use this with gm6.0?if so,plz tell me how
  • 0

#16 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 18 September 2005 - 06:45 PM

no, it isn't
  • 0

#17 Feohdys

Feohdys

    GMC Member

  • New Member
  • 26 posts

Posted 18 September 2005 - 07:11 PM

remember that you have to create a folder called 'textures' in the same folder as where you've put the BuildingConstructor in and put all your textures in there.

<{POST_SNAPBACK}>


I did. It still crashed. I fixed it by using .bmp files instead of .tga, which is odd considering that targa is the standard for textures.
  • 0

#18 Mercury92

Mercury92

    GMC Member

  • New Member
  • 149 posts

Posted 11 November 2005 - 08:17 PM

Link doesnt work :lol:
  • 0

#19 linkw204

linkw204

    Hero Of Time

  • New Member
  • 59 posts

Posted 13 November 2005 - 08:25 PM

I CAN NOT DOWNLOAD IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  • 0

#20 KaizuSellgren

KaizuSellgren

    Tic Tac Toe Master

  • New Member
  • 184 posts

Posted 13 November 2005 - 08:35 PM

File has been deleted from the server.
  • 0

#21 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 13 November 2005 - 08:49 PM

well, our forum sorta got deleted or something.
i used to host it there, but now i uploaded it to another server.

i also updated it to v1.21, which has for example the possibility to rotate the camera with the mouse. I posted the whole changelog on the forum, but that got deleted so no complete changelog :)

see first post for link
  • 0

#22 Against The law

Against The law

    GMC Member

  • GMC Member
  • 494 posts

Posted 23 November 2005 - 11:31 AM

my model does not load on my game but it does not even show the model. ^_^
  • 0

#23 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 23 November 2005 - 01:05 PM

what version of gm are you using?
which commands did you use and in which actions do you perform them?
was the extension originally .nbf?
  • 0

#24 Against The law

Against The law

    GMC Member

  • GMC Member
  • 494 posts

Posted 23 November 2005 - 01:18 PM

my gm version is 6.1
and i used

//assuming you want to call the model the_model and the name of the file is model.nbf
the_model=d3d_model_create();
d3d_model_load(the_model,'model.nbf');

command in the create event
and its extension is .nbf
  • 0

#25 Ivan the Mage

Ivan the Mage

    GMC Member

  • New Member
  • 519 posts

Posted 23 November 2005 - 01:30 PM

You have to modify the properties of d3d_model_load depending on what your filename is.
  • 0

#26 Against The law

Against The law

    GMC Member

  • GMC Member
  • 494 posts

Posted 23 November 2005 - 01:44 PM

Like,give me an example.
  • 0

#27 Against The law

Against The law

    GMC Member

  • GMC Member
  • 494 posts

Posted 24 November 2005 - 01:14 AM

i figuered out and solved theproblem by writing a code in draw event of the object
code is
d3d_model_draw(the_model,x,y,0,background_get_text
ure(bk_1));

but the only problem is it is very small and it doesn't get it's own texture.
  • 0

#28 benny

benny

    GMC Member

  • New Member
  • 116 posts

Posted 24 November 2005 - 02:45 AM

well if you want to scale it you can do this:
d3d_transform_add_scaling(0.3,0.3,0.3);

you dont need 0.3.just using it as in example:)
  • 0

#29 Against The law

Against The law

    GMC Member

  • GMC Member
  • 494 posts

Posted 24 November 2005 - 04:33 AM

it didn't work.i used it in all event create,step,draw
  • 0

#30 Against The law

Against The law

    GMC Member

  • GMC Member
  • 494 posts

Posted 24 November 2005 - 04:34 AM

it didn't work.i used it in all event create,step,draw
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users