Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Updating tiles! (https://forums.graalonline.com/forums/showthread.php?t=30883)

konidias 06-04-2002 11:59 PM

Updating tiles!
 
I'm wondering if it would be possible to make an update tile command. Which basically would be a serverside command, and when used, it could change a specified tile or many tiles on the level, then update the actual level on the server.

This would allow for major changes of things, such as being able to move blocks that everyone could see moving, or build something on the level, like a tiled house, that everyone would see. Players could shape the actual world all in real time. Building bridges, making buildings, editing the levels online.

Zolrieg 06-10-2002 08:05 AM

nice idea. I see this replacing a lot of tedious graphics.

screen_name 06-10-2002 06:23 PM

that is a wonderful idea but wouldn't that lag, saving a level serverside after just one tile has changed?

Warcaptain 06-10-2002 07:56 PM

Re: Updating tiles!
 
Quote:

Originally posted by konidias
I'm wondering if it would be possible to make an update tile command. Which basically would be a serverside command, and when used, it could change a specified tile or many tiles on the level, then update the actual level on the server.

This would allow for major changes of things, such as being able to move blocks that everyone could see moving, or build something on the level, like a tiled house, that everyone would see. Players could shape the actual world all in real time. Building bridges, making buildings, editing the levels online.


konidias wouldnt it be easier to use ganis and npcs for this
like making it so you can set the color of a bed or something?


what WOULD be good..... is if you could use the BODY attr to change colors of things... like have colors of beds or windows depending on the coat color.. but see if you do.. it will look messed up because graal decides HEY lets add a body automaticly.. if that was gone itd be alot better for development and evolving things

Tyhm 06-11-2002 02:45 AM

1) addtiledef
2) make a gani

Seriously. It'd work.

konidias 06-13-2002 05:22 PM

Quote:

Originally posted by Tyhm
1) addtiledef
2) make a gani

Seriously. It'd work.

Bleh what I mean is like, changing the actual tile, not just the image, but the tile itself. Like a player build a bridge across a river, blow up a cliff and make a big dent in it. Move around blocks/bushes/rocks and they stay where you moved them to. That would be nice.

This doesn't work by using npcs for the objects because how could a player build a house on a level in real time, when all the other houses are tiled? It would be silly to have some houses as graphics and others as actual tiles. I just think it would be neat to be able to change a tile or group of tiles to some other tile with a script action.

I don't think it would lag much, perhaps if it DOES lag, the tile changes could be made but not seen (only clientside by the person that affected the tiles) then when the player re-enters the level, it will update to the newest one.

nyghtGT 06-13-2002 06:48 PM

I do think this is a good idea, but you could manipulate it into another way.

Just have ganis.

The use a bit of setshape2 and have custom house types and voila.

Tyhm 06-13-2002 10:49 PM

*kerblink*
So, um, change the tiling of a level, globally, and permanently...?

If you got a good enough GServ, log the changes to an array, compare on playerenters and modify tiles[x,y] and updateboard as necessary. It is possible with the current technology, just not particularly advisable.

draygin 06-13-2002 11:06 PM

Some one told me about a hack that did just that changed tiles online. Dont know if they where telling the truth or not. *shrugs*

konidias 06-14-2002 05:15 AM

Quote:

Originally posted by Tyhm
*kerblink*
So, um, change the tiling of a level, globally, and permanently...?

If you got a good enough GServ, log the changes to an array, compare on playerenters and modify tiles[x,y] and updateboard as necessary. It is possible with the current technology, just not particularly advisable.

Yeah, it could probably be done that way, but it would be a lot easier and efficient to have it hard coded into the game itself. :)

Plus the fact that the arrays would have to be stored permanently because if they ever got messed up or removed, the levels would look like they did before any of the changes occured. (since they aren't really changing and saving, they are only temporarily changing in real time) ;)

But that is basically the idea of what I want the tile updating thing to do. Except when it updates the tiles it saves the level. Now that levels basically update when you upload them, I think it would be even easier to manage. (it would auto-update)


All times are GMT +2. The time now is 05:38 PM.

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