Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-18-2006, 03:47 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Online Level editor

I'm working on an online editor.
Well, actually, 2.
The one will be for online use by staff members, where they can drag tiles from a gui directly onto the level.
The other one I hope to have added to the login level.
It would be a replacement to the current level editor, and allow users to make levels, and save them to their computer.

Now, I don't know how to take from the tileset image, and put it onto the level. If anyone's made a level editor in the past, I could use some advice here.

I have a screenshot below. The edit level as text button is a feature I plan to add to allow the user to edit NPCs. Got the script from Kuji
Basically, looking for some help, if anyone is interested, PM me, I would love to have more people working on this.
Attached Thumbnails
Click image for larger version

Name:	Picture 1.png
Views:	209
Size:	48.6 KB
ID:	38957  
Reply With Quote
  #2  
Old 12-18-2006, 03:54 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
This is something that would be best if made with a scripting language that isn't GScript.
Reply With Quote
  #3  
Old 12-18-2006, 03:57 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by Gambet View Post
This is something that would be best if made with a scripting language that isn't GScript.
Reasons for gscript:
It can be built into the client (login server)
It will work for all platforms.
Reply With Quote
  #4  
Old 12-18-2006, 05:25 AM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by excaliber7388 View Post
Reasons for gscript:
It can be built into the client (login server)
It will work for all platforms.


Lag.
Insufficiency.
Uncomfortable.
Unsafe.
Not For GScript.


Not to mention getting a whole bunch of people to input their own little bit to the system will only cause problems in the end.

This has been tried before (like NP's online tile layer), but has failed miserably.

The only editor I see that is promising is Maniaman's, and that's because he isnt using GScript for it (I think he's using C or so).
Reply With Quote
  #5  
Old 12-18-2006, 05:33 AM
Devil Devil is offline
Banned
Join Date: Feb 2003
Location: Australia
Posts: 2,835
Devil has a little shameless behaviour in the past
Send a message via AIM to Devil Send a message via MSN to Devil
It sounds all well and dandy, but how far are you with it?
Reply With Quote
  #6  
Old 12-18-2006, 05:37 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
You're very inspiring Gambet .

Anywho, I'm sure it could be done if effort was put into it.
Reply With Quote
  #7  
Old 12-18-2006, 05:40 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
All I have is some gui stuffs.
All I really need is to understand how to take a part of the image, and convert it to a tile for the level.
Reply With Quote
  #8  
Old 12-18-2006, 05:50 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
I may have a few materials you could use. I'll get back to you with them.
Reply With Quote
  #9  
Old 12-18-2006, 06:00 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
I also plan to add the ability to create a new level, warp there, and edit it.
With the "edit level as text" button, you can edit the links, and npcs as well.
On a side note: anyone know why my tileset died? lol. It disappeared, even though I have all the files, etc.
Reply With Quote
  #10  
Old 12-18-2006, 06:01 AM
Devil Devil is offline
Banned
Join Date: Feb 2003
Location: Australia
Posts: 2,835
Devil has a little shameless behaviour in the past
Send a message via AIM to Devil Send a message via MSN to Devil
Sounds good.
Reply With Quote
  #11  
Old 12-18-2006, 06:10 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Quote:
Originally Posted by Gambet View Post
Lag.
Insufficiency.
Uncomfortable.
Unsafe.
Not For GScript.
I am not aware of any major problems with online tile editors other than that current ones can only change one tile at a time. Lag shouldn't be a problem as long as you do everything except the actual tile changes clientside.
__________________
Reply With Quote
  #12  
Old 12-18-2006, 06:26 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Well, if you use mouse down and mouse up, along with the x and y coordinates of when each even happened, selecting multiple tiles shouldn't be that hard.
All I need to do is figure out how to convert from x/y positions on an image to the textual code used in a level.
Reply With Quote
  #13  
Old 12-18-2006, 10:27 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Gambet View Post
Lag.
Insufficiency.
Uncomfortable.
Unsafe.
Not For GScript.


Not to mention getting a whole bunch of people to input their own little bit to the system will only cause problems in the end.

This has been tried before (like NP's online tile layer), but has failed miserably.

The only editor I see that is promising is Maniaman's, and that's because he isnt using GScript for it (I think he's using C or so).
Then why don't you use your apparently superior knowledge to help? Either post something constructive, or don't post at all.
__________________
Skyld
Reply With Quote
  #14  
Old 12-18-2006, 11:10 AM
Devil Devil is offline
Banned
Join Date: Feb 2003
Location: Australia
Posts: 2,835
Devil has a little shameless behaviour in the past
Send a message via AIM to Devil Send a message via MSN to Devil
I thought you'd be used to Gambet by now, ya know? Every post is picking on someone else's things, without actually showing he could do better.
Reply With Quote
  #15  
Old 12-18-2006, 01:32 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
Quote:
Originally Posted by Skyld View Post
Either post something constructive, or don't post at all.
When was it wrong to post something unconstructive?

Looks ok cali, but Clash made a superior one. Didn't lay tiles down though. XD
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.