Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Destroying Objects

Author
Message
Lee Stevens
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Deep in code...
Posted: 8th Sep 2007 00:30
hi im thinking about making a game using milkshape, and i was wondering is it possible to have a charator destroy a object if so how do you do? i will be compling the game in DBPro

If There Is A Problem, Find The Question.
Lee Stevens 1st September 2007
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 8th Sep 2007 00:37
you could make a model, then make a second version of it destroyed (in pieces or shards) then your game code could swap objects after something causes it to "break". this is how entities are handled in the hl2 engine, but they use 2 or three "steps" and each item can have physics applied.

or your code could deform meshes by altering vertex data but that could get messy

maybe theres other ways as well

My DBP plugins page is now hosted [href]here[/href]
Lee Stevens
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Deep in code...
Posted: 8th Sep 2007 00:39
i'll try the first one the second one sounded complicated

If There Is A Problem, Find The Question.
Lee Stevens 1st September 2007
Dark Dragon
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 8th Sep 2007 00:56
try making limbs for the destruction and using animation. i like what cattle rush said.
Lee Stevens
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Deep in code...
Posted: 8th Sep 2007 01:17
what do you mean "limbs" do you mean the bits that fly off the building or something

If There Is A Problem, Find The Question.
Lee Stevens 1st September 2007
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 8th Sep 2007 01:57 Edited at: 8th Sep 2007 01:57
yeah. all models are sets of limbs, your dbp code can manipulate the whole object and the limbs of the object separately, or (in the case of anims) call a set of anims to make things fly off, spin, fall w/e.

My DBP plugins page is now hosted [href]here[/href]
Lee Stevens
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Deep in code...
Posted: 8th Sep 2007 01:59
i'm going to have to start finding out what all this means if im ever going to be good at modeling

If There Is A Problem, Find The Question.
Lee Stevens 1st September 2007
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 8th Sep 2007 03:49
If I put 4 cubes in a scene in a modelling program (not touching each other), and exported it to .x for example, that could be considered a "model" or a "mesh" or a "polygon mesh". The one or more objects in the model are treated by dbp as individual "Limbs" (as they are actually individual meshes in modelling app as well). If you rotated the Object in dbp all four cubes would move as if they are one object. If you rotated a Limb, only that limb would move as if it was its own model.

Limbs are nothing more than what makes up the model object, but is a dbp term really, not so much a modelling term.

My DBP plugins page is now hosted [href]here[/href]
vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 8th Sep 2007 13:46
Since this conversation has come up, what about the CSG commands? You could randomize the effects that way, or is it too slow in realtime? Unless of course they were done beforehand.



Lee Stevens
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Deep in code...
Posted: 8th Sep 2007 18:45
um i could do that

If There Is A Problem, Find The Question.
Lee Stevens 1st September 2007

Login to post a reply

Server time is: 2024-11-26 04:52:21
Your offset time is: 2024-11-26 04:52:21