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.

DarkBASIC Discussion / .x files as matrix?

Author
Message
Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 27th Aug 2005 17:25
I am trying to do this because people always say its the best thing to use for a matrix. Can somone give me the code? Here is the logo of the game im trying to make. It isnt as good as it looks but... I am editing a hovercraft game.


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!

Attachments

Login to view attachments
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 27th Aug 2005 18:42
I personally have decided to just use matrices, but the .x landscape option was very nice when I needed super-smooth terrain, which unfortunately DBC matrices can't do without a considerable amount of lag.

You make your terrain in a heightmap editor. Look in the Game Programming Kit for Begginers for these:
TerraGen
Geoscape3d
Total Terrain (my favorite, made by the guy who did magic world, there's also a second version-haven't played with that much)

Then you'll need a tool to convert your heightmap to an object. One that I liked was on a demo version of Amapi, but that program's a little expensive. There is a plugin for Milkshape 3d, and probably a bunch of little applications that will just generate an object that you can import into any 3d modelling application to convert it to what you need.


I'm going to eat you!
Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 27th Aug 2005 18:53
yes but without that how will i make stuff like arenas? the best i can do is hills of sand with matrixes. If you could help plz do. And if you want to help even more you can add like a 3d arena for me to put in my game. is there ne other way to do this sorta thing?


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 27th Aug 2005 19:46 Edited at: 27th Aug 2005 19:48
Quote: "the best i can do is hills of sand with matrixes"


That's because you are new to DB. Learn HOW to do it instead of giving up and moving on to something else because someone else says it's 'better'.

What they don't realise that by doing what is 'worse' you will get a better understanding of how the 'better' idea works.

You can't expect as a beginner to do stuff it's taken the rest of us months and years to learn! Copying and pasting code we give you doesn't teach you anything either. You need to study it, understand it and then put your own version into your program.

Stick with a matrix for now. Learn HOW to get the best out of them and when you fully understand them and reach their limits, THEN move on to .X terrains.

Anything you don't understand while teaching yourself about matrices, just ask.

Personally, I'd happily spend time with a beginner getting them up to speed with matrices, but I have no time for beginners who try to skip over them because 'other people' have told them they are no good!

Did you see this:

http://www.computechtenerife.com/sniper.rar

What would you say that looked like from what you have done with matrices so far, a .X or a matrix?

TDK_Man

Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 27th Aug 2005 23:43 Edited at: 27th Aug 2005 23:57
this is what i want to do tough. turn this matrix into like a prison
and turn the balls into guards. The code looke too complex for me to turn the balls into guards. the enemies are object t. when i try to delete that and make a guard with the obj number t. i am also trying to think of my own code for the prison im just not sure if i can make a prison with just a matrix and without .x objects. I would give you the source for you to c the problem i just dont want everyone to see it.


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 27th Aug 2005 23:49
Matrices - either native DB ones, or .X terrains are not designed to be turned into a prison - or anything else other than landscapes.

The idea is that you create your terrain, then create your prison separately by either creating objects with DB's primitives, or designing it in a 3D modelling package, loading it into DB and placing it on your terrain.

Turning 'balls into guards' as you put it, it a case of loading the .x files of guards into DB and placing them on your terrain - just like buildings.

TDK_Man

Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 27th Aug 2005 23:58 Edited at: 28th Aug 2005 00:04
is there neway i could give you the source to show you the problem and you to point it out to me without me letting every1 else see it?

I am trying to turn enemies to guards but it keeps saying object does not exist when i name the object with the same object number(letter t). Object T

and by balls i meen balls like spheres that are my enemies


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 28th Aug 2005 00:04
My e-mail address button is at the bottom of my posts.

TDK_Man

Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 28th Aug 2005 00:15 Edited at: 28th Aug 2005 00:22
its emailed. quite big. srry i forgot i didnt have to email all the media. srry. Thought that it might help a lil more.


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 28th Aug 2005 00:40
ummm u still there? or are u still reading the source?


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 28th Aug 2005 00:51
Just e-mailed you back.

TDK_Man

Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 28th Aug 2005 00:56
ty. tell me when you can and i will take a look at it.


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 28th Aug 2005 00:59
Where is Blue.bmp?

TDK_Man

Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 28th Aug 2005 01:32
just emailed. srry it took so long. had to reboot. was havin major lag.


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 28th Aug 2005 02:06
Oh. and by the way. I have not thought of an ending yet so the only thing I can think to do in chase mode is survive. Ive been brainstorming but cant seem to think of way to end chase mode.


Controls:
W = change matrix randomly
Space + w = God mode on
Arrow keys = move
R = restart


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 28th Aug 2005 21:47 Edited at: 29th Aug 2005 01:13
yo can anyone suggest a free, ez to use, 3d modeler? I checked the begginer kit post but cant find an ez to use one.


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
dab
20
Years of Service
User Offline
Joined: 22nd Sep 2004
Location: Your Temp Folder!
Posted: 30th Aug 2005 18:51 Edited at: 30th Aug 2005 18:55
I use wings 3d and milkshape 3d I can't remember the url I'll go check google and come back and tell you.

edit:
milkshape:
http://www.download.com/MilkShape-3D/3000-2121_4-10424666.html

Wings3D:
http://www.wings3d.com

------------------------
Visit my website of Games!
http://dabip.stonerocket.net
Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 31st Aug 2005 23:31
srry tried those. couldnt figure it out and t expire after a while. im trying to make a 3d prison or something. But ty for trying


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 1st Sep 2005 08:01
Go here: http://caligari.com/Products/trueSpace/tS3/resources/default.html

You can use this one for free. It's a little old, but I'm guessing you're new to 3d modelling so even if you use top of the line 3ds Max and Maya and all that fun stuff you'll probably still end up getting the same result.


I'm going to eat you!
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 1st Sep 2005 13:07
Call me coder,

Skills do not come as quickly as you are wishing. No modeler is extremely easy to use. Either one will take some getting used to. It will take even more time to become a good modeler. The same goes with programming.


+NanoBrain+
Call me coder
20
Years of Service
User Offline
Joined: 5th Mar 2005
Location:
Posted: 2nd Sep 2005 03:35
Programming is very hard but fun. Especially when you are as dis organized as me and for some reasons my brain keeps making me work on many things at once as well as trying to keep up in school.


TO ALL THOSE PROGRAMING PEOPLE OUT THERE!
Lzdude69
21
Years of Service
User Offline
Joined: 21st May 2004
Location: Indiana
Posted: 3rd Sep 2005 09:11
Blender's my favie, the gui is freakin scary, but once you get past it...well...since you couldnt figure out milkshape, then i dont know why i bothered posting

I'm too lazy to type anything here...
Retarded Sausage
19
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: canadia
Posted: 5th Sep 2005 03:11
it dosent get much simpler than milk shape or wings anyways its all a matter of playing around with them until u can think of how to make what you want by manipulateing shapes start simple with like a trash can and work your way up

Login to post a reply

Server time is: 2025-05-22 08:49:45
Your offset time is: 2025-05-22 08:49:45