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 best way to load a matrix ?

Author
Message
dark puppus
21
Years of Service
User Offline
Joined: 16th Aug 2003
Location:
Posted: 5th Sep 2003 02:20
I am frustrated. I use dbp p5 and i made a simple matrix with matedit 1.6.

The question is ?

What is the simplest way (few coding) to load my matrix in my program and associate it with a number, without risks of overwrite existing numbers of other matrix or tile images already in the program ?
A thing like this :
matrixNum=loadMatrix "matrix.ma0"

where loadMatrix load,normalize and texturize the matrix !
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 5th Sep 2003 04:56
TDK_MAN Made a Load Matrix function, which works like this.

You export the matrix using BUILD MATRIX (makes a .mdl file)

Then you say

#include loadmatrix.dba

LoadMatrix("Mymatrix")

RPGamer

Current Project: Eternal Destiny
Porting all files to my new computer
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 5th Sep 2003 04:56
Oh - www.matedit.com has it I think.

Current Project: Eternal Destiny
Porting all files to my new computer
dark puppus
21
Years of Service
User Offline
Joined: 16th Aug 2003
Location:
Posted: 5th Sep 2003 11:45
it returns me an error:

parameters for make matrix do not match ... in loadMatrix.dba

i've seen the code in loadMatrix, but it seems correct.

What the hell can be this time ????????
Beavis
21
Years of Service
User Offline
Joined: 15th May 2003
Location: Czech Republic
Posted: 5th Sep 2003 16:50
Download #include file for Patch5 from matedit.com

Login to post a reply

Server time is: 2024-09-20 21:32:54
Your offset time is: 2024-09-20 21:32:54