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.

Program Announcements / - Extended Terrain XYZ - new, layer based MAPEDITOR, works in realtime!!!

Author
Message
Reality Forgotten
FPSC Reloaded TGC Backer
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Wichita Falls TX
Posted: 14th Oct 2007 20:40
haha, should have known, thanks mate! I will be testing it tonight.

Thanks for the quick update!

Cheers,
Dave


Reality Forgotten
FPSC Reloaded TGC Backer
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Wichita Falls TX
Posted: 14th Oct 2007 22:02
This is the error I am recieving when I try to load a height map.

here is the error code:




Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 14th Oct 2007 22:16
Quote: "must have sizes of powers of two and width and height must be the same"
Reality Forgotten
FPSC Reloaded TGC Backer
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Wichita Falls TX
Posted: 14th Oct 2007 22:23 Edited at: 14th Oct 2007 22:30
yeah i did, it gives you the three options when loading a heightmap. these are my three answers. 200,512,512


Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 14th Oct 2007 22:58
I will have a look at this.

Try saving a 256x256 heightmap from paint and load it with the values 5,5,1.
Reality Forgotten
FPSC Reloaded TGC Backer
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Wichita Falls TX
Posted: 14th Oct 2007 23:26 Edited at: 15th Oct 2007 00:18
ok, it seems that only 256x256 pixel images will work. This is nice to know. is there any way you can add 512x512 or 1024x1024 for the allowable colormap size?


What are the default lightmap settings you use?


Cheers,
Dave


Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 15th Oct 2007 19:30
Quote: "What are the default lightmap settings you use?"


When you get asked for them, there's a (def. = x).

-0.7,-1,-0.7,40,1

Quote: "allowable colormap size?"


The allowable colormap can't be larger than the amount of editable points/vertices.
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 17th Oct 2007 02:45
hey xilo, It seems I am almost able to load the maps, it has not loaded yet but now when i compile the code it reads all the way till the end then gives me this error.

cannot use reversed word 'min' as declaration at line 461.

any ideas? i have the matrix1 dll's in the plugin user and when I do ignore the function min.

i get an unrecognized command error at the d3d init

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 17th Oct 2007 20:20
Try to remove my min function completly.

Quote: "i get an unrecognized command error at the d3d init"


There's no d3d_init.
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 17th Oct 2007 23:59
K, i removed the function and still nothing, but an error.

"could not understand command at line 191, which there is nothing written on that line.
But the error highlights line 177 which reads "d3d_init"

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 20th Oct 2007 00:19
It seems as though I am the only one having problems loading the actual maps into dbpro. Has anyone else even tried to load the maps that may have an Idea what the prob may be?

Personally I think at this point it would be hard to say what the problem is. Reason is, I have recently d/l code surge which i've never tried before till two days ago. Also as dumb as it is i've also never tried the newton dll either ( Which so far I thought was awesome) code surge too. anyway while trying the examples from the newton dll. I found an odd accurance. while running the first vehicle example in newton with the dbpro ui. the program crashes.

but running the same example through code surge it runs fine? same with the bouency example?

So maybe it is just a bug somewhere in dbpro?

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
tschwarz
19
Years of Service
User Offline
Joined: 13th Feb 2005
Location: 127.0.0.1
Posted: 20th Oct 2007 09:51
I have been getting the same kind of problems as you, I have been on a project and put it a side. I'll be back in my off tomorrow and then i can post my results.
Reality Forgotten
FPSC Reloaded TGC Backer
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Wichita Falls TX
Posted: 20th Oct 2007 11:04
Master Xilo- You should add a function to save the maps as DarkBasic objects.


tschwarz
19
Years of Service
User Offline
Joined: 13th Feb 2005
Location: 127.0.0.1
Posted: 21st Oct 2007 05:36 Edited at: 21st Oct 2007 05:37
With the min function uncommented I get:
Cannot use reserved word 'min' as a declaration inside LoadETXYZMap.dba

with the min function commented I get:
Could not determine parameter type of 'fast left$(filename$,next_schraegstrich_backwards(filename$))'inside LoadETXYZMap.dba

The code I am using is:

#include "LoadETXYZMap.dba"
filename$ = "TestTerrain.etm"

sync on
sync rate 0

TERRAIN_LoadMap(filename$,1,1,1,1,1,0,0)

do
sync
loop
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 21st Oct 2007 13:06
What plug-ins have you got installed? You haven't got the Matrix1Utility stuff installed as that's where FAST LEFT$ comes from, but you do have something because of the MIN function.

@Master Xilo,
The program crashes if you selecting Save then click Cancel.

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 21st Oct 2007 14:53
@IanM I have the matrix1 dll's and the collision dll and I still get that fast left error myself. Have you tried loading a map yourself? Has it worked for you?

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
Oneka
20
Years of Service
User Offline
Joined: 24th Apr 2004
Location: Hampton,VA
Posted: 21st Oct 2007 22:00
Great program but the main thing I want to be fixed is,

brush movement, it drives me nuts at times but other than that I love this program, just fix the brush movement to be more accurate with the mouse on screen, also if brush comes near the edge of a terrain, it sometimes gets stuck

Just fix the brush movement and multiple terrain editing / usage in game and iam a happpy camper, I cant think of anything else to change


Making dreams possible, one line at a time...
tschwarz
19
Years of Service
User Offline
Joined: 13th Feb 2005
Location: 127.0.0.1
Posted: 21st Oct 2007 23:18
I use Styx which appears to have some of the same commands as matrix1. I renamed styxcore.dll and the sample code runs. Oh well, since I use styx in my current project I'll just put extended terrain on the back burner and remove matrix1 for now.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 22nd Oct 2007 22:48
@Tatts,
Quote: "Have you tried loading a map yourself? Has it worked for you?"


Yep. The only changes I made were to remove the code referring to windiag & sparky's collision, because I don't have them installed right now.

When did you last update the matrix1 plug-ins? I publish a new release almost monthly.

@tschwarz,
One of the reasons that I make so many small plug-ins is so that you can remove the ones that clash with other plug-ins you may have, and not totally lose the benefit of mine. I mean, if you really want to use massively slower versions of the functions, then keep styx and remove the clashing matrix1 plug-ins

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 23rd Oct 2007 00:10
actually i just updated that plugin today and still get the same errors. And I too have tried without the plugins and still.......

every other plugin i have works even the newton one. It's a huge shame I can't get this one to work though. I have to say i like the editor though.

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 29th Oct 2007 22:06
You know it WOULD be nice if I could actually load these maps

WHAT part of the matrix1 dll's uses fast left$

Are you perhaps fixing it Xilo so people like me who acually paid for could use it?
How old were the plugins you used at the time of writing this programs? did something change?

hope this problem gets fixed

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 30th Oct 2007 22:04
How about taking 10 minutes to try and fix the problem yourself?

Move all of the user plug-ins into a new folder. Compile. If it succeeds, move the matrix1 plug-ins back. Compile. If it succeeds... repeat with other plug-ins until it fails, and that's the problem plug-in right there.

Only you know your plug-ins. Only you can fix this problem.

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code
Chess
17
Years of Service
User Offline
Joined: 25th Mar 2007
Location: Québec, Canada
Posted: 1st Nov 2007 13:29 Edited at: 2nd Nov 2007 23:23
I have an error when I try to load Extended Terrain XYZ.exe or Brushcreator.exe

Could not find function 'box' in 200:[/b]D3DFunc.dll (Extended Terrain XYZ.exe)
Could not find function 'box' in 48b]
D3DFunc.dll (BrushCreator.exe)

Apparently, I have the latest direct X.. So how can I fix this? Thank you
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 1st Nov 2007 21:55
@ IanM
I've tried what you said to do, Infact I virtually uninstalled DB PRO and every program such as darklights and so on....... even went into the program files dir and deleted the remaining folder.
with a fresh new installation, and upgrade to 1.66, With absolute no plugins I get this......

Could not determine parameter type of 'fast left$(filename$,next_schraegtrich_backwards(filename$))' at line 87

but yet highlights line 135:
TERRAIN_SetStageMat(i,beginnum,SC_collision,fastleft$(filename$,next_schraegstrich_backwards(filename$)),
the_stages(i).imagename ,the_stages(i).xrep,the_stages(i).yrep)

With only the matrix1 dlls I get this error:
could not understand command at line 229...........for x=0 to width-1
but yet it highlights line 177 which reads this....... d3d_init

So i guess for me it is safe to say the code does not work.

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 2nd Nov 2007 19:16
tatts..

You may not know that dbpro default ide highlights wrong lines (sometimes other ides does that too!)

But i can see you dont have Cloggys D3D Plugin installed.. You need that and Matrix1 Utils..

[center]

Click for details!
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 2nd Nov 2007 23:02
Finally it worked!!!!!!!!!!! HUGE Thank You Roxas.

@Xilo
Sorry I did'nt know I needed that plugin, I've never used any of these plugins before.
And I've noticed that there are not any instructions on what you need to use this program. Perhaps it would be a good idea to include them and let your customers know what plugins they need.

Still it is a very nice program

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 2nd Nov 2007 23:31 Edited at: 2nd Nov 2007 23:31
Great - Sorted
You could also try either switching editors, or upgrading to the latest version of the DBPro editor (Links for that in the release details post in the Bug Forum) - the line number error stuff is better in those.

@Chess,
Try reinstalling the D3DFunc DLL and recompiling - Box is the internal name for the 4 parameter D3D_BOX command.

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 3rd Nov 2007 20:37
Well I thought everything was working!
this is abit strange but, Im getting the terrain when I load it into DBPro but im not getting the texture nor am I able to interact with the program. I tried adding a simple camera control to the camera but it does'nt seem to work.

I d/led the windialog DLL and tried the original source code and it works perfectly has no problem loading the maps at all "Even the simple test map i've made"

filename$ = "test.etm"
TERRAIN_LoadMap(filename$,1,1)

sync on
sync rate 0
set directional light 0,-1,-1,-1
autocam off

make camera 1
position camera 1,50,20,0

do

control camera using arrowkeys 1,1,1

sync
loop

as I said it will load but not show any textures nor allow me to interact with it?

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 3rd Nov 2007 23:05
*****************UPDATE**************
- you can now export heightmaps
- loader code and example now work without any plugins (tested!)
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 4th Nov 2007 14:52 Edited at: 4th Nov 2007 15:14
Sweet

Huge thank you Xilo this update fixed everything for me.
Now I can load the maps just fine with or without the plugins. and got a fair speed too. And on top of that it loaded as a one liner this time, Just like loading a normal object.....Again thank you

Now that the problem has been cleared up with the loading of maps.
I have to say that this is by far the best terrain editor i've seen yet. And thanks to this update, I think it is now by far the easiest terrains I've ever loaded. Excellent job!!!

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 17th Nov 2007 06:25
@ Master Xilo,

Have now ordered - cant wait...

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 18th Nov 2007 16:24
Just downloaded - I get an Application Error - something about Memory cant be read??? (it downloads all updates etc first ok) I have Nov07 DirectX and latest versions of DBPro and graphics drivers??? What is wrong?

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 19th Nov 2007 01:13
Are you using Vista or XP? It could be a compatibility error.

"I'd newbie slap here, but I've no idea how far I'd need slap before they'd come back with a clue." - VanB
Aex.Uni forums
Benji
18
Years of Service
User Offline
Joined: 17th Dec 2005
Location: Mount Doom
Posted: 19th Nov 2007 02:57
I havn't read all the posts, so I don't know if you've discussed this yet:

Putting hacked AOM textures up for download, whether it's free or priced, is 100% illegal. I can't believe a mod hasn't noticed that yet.

Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 19th Nov 2007 09:20
@ Aaron Miller - I'm using XP - latest updates & SP2

@ Master Xilo - what can I do to sort?

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 19th Nov 2007 20:38
@Duffer
I never had that a error before. Is it a problem with your pc or is that impossible?
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 19th Nov 2007 21:01
@ Xilo,

When I logged out and logged back in today - it worked a charm.... a superb piece of kit.

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Benji
18
Years of Service
User Offline
Joined: 17th Dec 2005
Location: Mount Doom
Posted: 19th Nov 2007 22:29 Edited at: 19th Nov 2007 22:30
It's funny how you're purposefully ignoring me. Maybe it's because you feel guilty?

Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 27th Nov 2007 07:07 Edited at: 27th Nov 2007 07:13
Hey, I just tried to order this online, but PayPal said "page cannot be found" after I put in my order. I'm gonna try again though.

Edit
PayPal is having some problems validating my card. :/

Edit 2
It's an American Express card, but it should still work since it's PayPal. Just wondering if that's a problem.


Cheers,

-naota

Madness never stops..... It takes a breather every once in a while, but then it grabs it's inhaler and chases you down the street with a cane.
Aex.Uni forums
tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 3rd Dec 2007 16:56
@ Xilo

I have added extended terrain to my world editor that I am writing so that I could use the terrain as reference to where im going to place all my objects.

I can load the maps no problem. but I can't delete them out to load another one. I tried to use the beginnum as the objects number but then realized it only deletes one portion of the map.

how can I delete the whole map?

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 3rd Dec 2007 20:06
I'm sorry, a function for doing that will come with next update.

Here you are:

Angel Lazerus
20
Years of Service
User Offline
Joined: 8th Feb 2004
Location:
Posted: 3rd Dec 2007 23:56 Edited at: 4th Dec 2007 17:41
Hi Master Zilo.
Ive unpacked and updated with the updater and its giving me this error:

runtime error 8024 - file not open in line 2769

I noticed someone had a similar problem.

Im running win2000.

Is there a solution?

Thankyou for any help.

Angel. X.



tatts
18
Years of Service
User Offline
Joined: 13th Jan 2006
Location: Ontario,Canada
Posted: 6th Dec 2007 21:58
Thank you Xilo! it works fine.

WindowsXP/SP2, Pentium 4 2.66 GHz, 1GB DDR Ram, Geforce 6600 256MB
wind27382
18
Years of Service
User Offline
Joined: 10th Feb 2006
Location:
Posted: 3rd Jan 2008 04:34
you shouldn't sell yourself short by selling this for so cheap. but you did a good job on this program. do you know when your level editor will be done

wind
cram
17
Years of Service
User Offline
Joined: 27th Jan 2007
Location: Belgium
Posted: 3rd Jan 2008 07:56
I pay 55 € if I can buy via Bank Transfer payments

If you want to do then please send a mail to me


edit/I just read a few posts above that you do not bank transfer

Why not?
Super Nova
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Earth
Posted: 24th Jan 2008 00:33
Just purchased this last night, cant wait til I get the password to use it.

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.
Albert Einstein (1879 - 1955)
Sid Sinister
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 24th Jan 2008 06:04
Tried running the demo and got the error

Runtime Error 1507 - Display using 32bit is not supported by available hardware at line 0.

Any ideas?

The editor looks good man, great job

"If I have seen a little further it is by standing on the shoulders of Giants" -Isaac Newton
Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 25th Jan 2008 19:15
Quote: "Runtime Error 1507 - Display using 32bit is not supported by available hardware at line 0. "

Hmm, why does the dl-link for the 2nd demo not work anymore?

Anyway, the first demo uses a fixed resolution, wich my not be supported by some graphics cards/monitors (wich is strange: I thought 800x600 is always supported)


Quote: "runtime error 8024 - file not open in line 2769"


Quote: ""Runtime Error 8204 - File is not open at line 2769"

I even get this error when I run the BrushCreator program but it says line 208 instead of 2769."


I’m sorry.

Finally, I know what’s the reason for this bug:

One function in the program creates a file in the windows temp folder.
But you can only go into the temp folder as an admin. I didn’t find out why this happened and I couldn’t reproduce this bug.
Anyway, now it’s fixed! (for main program and brushcreator)

Update to come soon…
Duffer
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 26th Jan 2008 16:54
@ Master Xilo,

Have sent you an email as well. Basically old laptop died on me and got new computer - am having trouble re-installing this plugin - see email I have sent you.... help....

a long time dabbler with DBC and DBPro with no actual talent but lots of enthusiasm...
Master Xilo
18
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bern, Switzerland
Posted: 26th Jan 2008 22:40
Are you now using vista? Do you have newest directX? What do you mean by reinstall (cuz it's just a self extracting zip). Have you got newest drivers?

Help me to help you, what's the exact problem. Also, it's not an actual plugin.

Login to post a reply

Server time is: 2024-11-23 13:08:15
Your offset time is: 2024-11-23 13:08:15