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.

Author
Message
burrbittyburr
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location:
Posted: 15th Sep 2003 11:58
Hey Folks,
I put together this box builder and it's pretty much where I want it to be. Now I want to be able to add new boxes and change thier color on a keypress.
I've tried every loop in the book and all I get is is a crash or a dud. Please help.

Specs[1 GiG Athlon,Geforce Ti4, 128mb]
Red general
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: United Kingdom
Posted: 15th Sep 2003 13:23
I assume that you are talking about a dungeon creator or a room creator, or something of that ilk.

This is an dungeon creator that I was working on but got sidetracked for my more important goal (3D RTS).

Here is the prototype coding for my dungeon maker . At the moment it only has:
16X16 only
walls
floor
dead floor (ones not created in your dungeon)
saving as ascii maps (see large dungeon tutorial on the tutorials page).
There is no media required, and currently has no loading or orrigin positioning

For the commands to use it, I suggest you have a go at picking at the code to find how I made it so far. press 1,2 or 3 for whichever type of tile you want, and enter to turn the one you have clicked on to that tile, also press shift to save it.


It is a limited 3d level designer but can be ideal for a starting point. The plains that are used are merely changed in colour, however it is posible to put in an object there and texture it. At the moment when you colour them to replesent a type of tile, and their stored values are in the dims. These are then saved to an ascii file so that they can be loaded and created on screen in your own projects

Altering it to place boxes
To put in new boxes you have the object number of the tile you have clicked on. You then increase that by n (n is the increase number of choice - bigger than the x number of tiles of your map multiplied by the y number of tiles of your map) and then make object cube of that number. Then position it on the selected tile and texture it - changing the recorded value e.g. # to :

If you change the type of tile again, you check if there is an object in existance that is number (object number of tile + n). If there is, then either delete it if you want to clear that tile or change the texture and the value of that cube e.g. # to :



This should help you on the way to creating your own system. Should you have any problems please tell me.

Sorry that there isn't enough rems but you should be able to get the gist of it


RED GENERAL

My computer melts regulary - perhaps it likes being fondue
burrbittyburr
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location:
Posted: 16th Sep 2003 09:21
Thanks RG, I'll kick it aroound for awhile.

Specs[1 GiG Athlon,Geforce Ti4, 128mb]
Red general
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: United Kingdom
Posted: 16th Sep 2003 14:15
The format is very flexible. If I had not too many projects on at once, then I would have had a full version up

Might improve it later and release it, but that will not be for some time (3D RTS has been given priority)

I'll like to see what you do with it when you've finished
RED GENERAL

My computer melts regulary - perhaps it likes being fondue
burrbittyburr
23
Years of Service
User Offline
Joined: 19th Sep 2002
Location:
Posted: 17th Sep 2003 09:21
If somethin' comes of it, I'll be sure to let ya know. Thanks for lookin' out.

Specs[1 GiG Athlon,Geforce Ti4, 128mb]
Red general
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: United Kingdom
Posted: 18th Sep 2003 14:48
Glad to be of some help

My computer melts regulary - perhaps it likes being fondue

Login to post a reply

Server time is: 2026-07-25 08:29:19
Your offset time is: 2026-07-25 08:29:19