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.

Newcomers DBPro Corner / The Limit Rush demo won't work...

Author
Message
cloneboy
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location: Ontario, Canada
Posted: 3rd Sep 2005 10:05
I don't understand how to load Matedit files into DB Classic.
I haven't gotten farther then that, so please tell me what I have to do to load Matedit files.
Fneep
19
Years of Service
User Offline
Joined: 3rd Sep 2005
Location: In my house
Posted: 4th Sep 2005 05:35
Ahem.
This is the DLL talk forum. About DLLs. This post belongs in the Newcomers forum.
Could a mod please move this.

Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 4th Sep 2005 13:41
Moved.


"Computers are useless, they can only give you answers."
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 4th Sep 2005 14:04 Edited at: 4th Sep 2005 14:06
MatEdit files are the exported files of a program called MatEdit .

To load them, you have to:
1: Include the loading DBA file that comes with MatEdit. (Use the command #include "LoadMatrix.dba")

2: Make a bunch of arrays that are essential for loading the Matrix with MatEdit:
Dim BigMatrix(600,600,1)
Dim StartLoc_X(1): Dim StartLoc_Z(1): Dim Info(2)
Dim TArrayX(1): Dim TArrayZ(1): Dim FKey(10,1)
Dim ColData(100): Dim ZoneData(100): Dim Tiles(500,500)
Dim OverTexture$(100): Dim OverName$(20): Dim ReplaceTex(100)
Dim MOffsetX(25): Dim MOffsetY(25)
Dim MWire(20): Dim MGhost(20): Dim Lock(20)
Dim MatX#(20): Dim MatY#(20): Dim MatZ#(20)
Dim MatWidth#(20): Dim MatHeight#(20)
Dim TilesX(20): Dim TilesZ(20)
Dim MatHi#(20): Dim MatLo#(20)

3: Load the matrix by using:
LoadMatrix("filename",matrix)

And voila! Here's your matrix.

Immunity and Annihalation makes Immunihalation...
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 4th Sep 2005 17:04
As a side note, not all of those arrays are required to use the LoadMatrix() function.

The #Include file contains many other functions, so those array Dims have to be there in case you want to use any of them...

TDK_Man

Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 4th Sep 2005 21:52
Can't say anything cause you created the program

Immunity and Annihalation makes Immunihalation...
Fox Dark Master
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Portugal
Posted: 5th Sep 2005 00:58
you should update the program TDK. i relember when i was a novice at programing (and my best code was a matrix ^^) , i've used your program amd it was not that bad but i think it need some serious updates now like the textures for example, the interface, the test mode, etc...


True Phantasy
cloneboy
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location: Ontario, Canada
Posted: 10th Sep 2005 02:23
I tried what you said Sven, but I still cant get it to work. Sorry about all the stupid stuff, but you're dealing with a stupid person.
(in case you didn't know, that is me)

Login to post a reply

Server time is: 2024-11-27 18:40:18
Your offset time is: 2024-11-27 18:40:18