iraasta Posted December 18, 2012 Author Share Posted December 18, 2012 Hi, i wanted to make some sandbox elements in my game. However as i see all the map editing code is at the client's side in MapEditorSetTile, and on server's side i cant find anything responsible for that.In short desccription I want to make a skill which builds a shelter on a map. How can i change map tiles from server side code?Help please. And thanks for every response. Link to comment Share on other sites More sharing options...
Guest Posted December 18, 2012 Share Posted December 18, 2012 It would probably have to be code-generated. There's absolutely no point in adding a rendering engine into a server. Link to comment Share on other sites More sharing options...
iSnow Posted December 18, 2012 Share Posted December 18, 2012 A code generated strucutre as Sekaru said. It would load the data of this building from presumably a .dat file, and copy it to the map location after sufficient checks. You'd also need an instancing system unless this is for a warp scroll like in Torchlight. Link to comment Share on other sites More sharing options...
iraasta Posted December 19, 2012 Author Share Posted December 19, 2012 I thought its gonna be like making new skill type, if requirments are met i'd get player position and change tiles in from of him to x,y from tileset.But i see this is much more complex.Umm… Then i guess this is too much for my poor skills.Pity.Thanks anyway. EoT Link to comment Share on other sites More sharing options...
iraasta Posted December 19, 2012 Author Share Posted December 19, 2012 And what if i'd do generating by command? Would it be possible to check does player meets requirments and change tiles related to Player Position? I really wish to make that element to game. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now