Jump to content


Photo

Building Constructor


  • Please log in to reply
72 replies to this topic

#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

  • New Member
  • 493 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

  • New Member
  • 493 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

  • New Member
  • 493 posts

Posted 23 November 2005 - 01:44 PM

Like,give me an example.
  • 0

#27 Against The law

Against The law

    GMC Member

  • New Member
  • 493 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

  • New Member
  • 493 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

  • New Member
  • 493 posts

Posted 24 November 2005 - 04:34 AM

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

#31 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 24 November 2005 - 11:11 AM

change 0.3 to something like 10:

d3d_transform_set_identity();
d3d_transform_add_scaling(10,10,10);
d3d_mode_draw(the_model,x,y,0,background_get_text
ure(bk_1));
d3d_transform_set_identity();
  • 0

#32 Against The law

Against The law

    GMC Member

  • New Member
  • 493 posts

Posted 24 November 2005 - 02:14 PM

yes it helped to draw the the model but it is not big enough and already changed the numbers 10 to different numbers and the model is tooooooo far from the original object.
  • 0

#33 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 24 November 2005 - 02:33 PM

The model exported is exactly the one you modelled in the BuildingConstructor. You might scale it with some extreme values, like 100 or something, though it would be very inefficient.
  • 0

#34 Against The law

Against The law

    GMC Member

  • New Member
  • 493 posts

Posted 25 November 2005 - 02:42 AM

yes i used values like 10,10.9,100 & 1000 but when the value is > 10.9 the model doesn't show up.what is the problem.
  • 0

#35 Kalauz

Kalauz

    GMC Member

  • New Member
  • 28 posts

Posted 29 November 2005 - 02:06 PM

I need detalied tutorial how to put it in the game.
  • 0

#36 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 29 November 2005 - 03:19 PM

The .nbf file is just a normal saved gamemaker model, nothing special. Use the search function of this forum for topics regarding the gamemaker model commands.
  • 0

#37 Kalauz

Kalauz

    GMC Member

  • New Member
  • 28 posts

Posted 29 November 2005 - 05:32 PM

And can u send me a tutorial how to make a building like on the screenshot.DETAILED PLZ
  • 0

#38 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 29 November 2005 - 09:12 PM

if you read the tutorial DaMaster_Architect wrote, you will know the basics of the bc and you can make a building like that one yourself. i'm not gonna write another tutorial.
  • 0

#39 Kalauz

Kalauz

    GMC Member

  • New Member
  • 28 posts

Posted 30 November 2005 - 02:25 PM

I looked at it,but it's kind a hard.Nevermind i will make it somehow.Great program BTV.
  • 0

#40 L4nt0m

L4nt0m

    GMC Member

  • New Member
  • 59 posts

Posted 30 November 2005 - 02:37 PM

thnx and good luck! :)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users