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.

Work in Progress / Simple leveleditor

Author
Message
Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 9th Jul 2010 21:19 Edited at: 9th Jul 2010 21:20
A simple level editor I made in a few hours.
Nothing fancy, but maybe it will come to use for someone.
For the moment it only creates segments and loads a box (as a placeholder for entities and models)
When you are done you press I to save everything, each part of the level will be saved to a seperate .object file.

Controls:
Use mousekey to look around
WASD to move
1 and 2 to swap camera between FPS and top camera.
E for segmentmode
Q for modelmode

P for new segment/model when in segment/modelmode
O to reset segment position
arrowkeys to move segment

When you have made a new entity the entity will position itself at the cameras X and Z position, so switch to camera 2, then press spacekey to lock its position.


Feel free to use in anyway, to add stuff and reupload.

NOTICE:
You neew to make a folder named "objects" in your projects folder. You also need two textures named:
treadplate_d.dds
treadplate_n.dds

These are form darkshader, change to your likning.

and the code:


Homey the Clown
20
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 10th Jul 2010 02:38
screenshots? sorry I am a little lazy to do all this work. I just want to see what it looks like.


If at first you dont succeed, call it version 1.0.
Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 10th Jul 2010 20:11
Sorry for that. Screenshot attached

Attachments

Login to view attachments
Homey the Clown
20
Years of Service
User Offline
Joined: 4th Apr 2004
Location:
Posted: 10th Jul 2010 20:54
This is probably a little off topic in terms of your editor but i think it would be pretty cool if you had an install.exe or some code someone can run within the same directory as the editor that will create the objects directory and even make the two dds textures.


If at first you dont succeed, call it version 1.0.
Sixty Squares
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 12th Jul 2010 15:41
Maybe attach it as a ZIP file? It looks cool though Could you also include an example of how to load the level into a game?

Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 12th Jul 2010 16:12
For the moment it wont export a final level, and is just some code meant to be used in others games.

But what the editor does is creating textfiles with the coordinates, the size of the segment and its material.

When opening up the leveleditor again it automaticly loads these files and you get your map as you saved it.

I will see if I can add some more usefull features.

Login to post a reply

Server time is: 2024-04-19 04:36:59
Your offset time is: 2024-04-19 04:36:59