GoGames Posted April 5, 2011 Author Share Posted April 5, 2011 How can i made so EO can support 16x16 tiles and is it hard ? Link to comment Share on other sites More sharing options...
BoDu Posted April 5, 2011 Share Posted April 5, 2011 @Rhythm:> How can i made so EO can support 16x16 tiles and is it hard ?I'm not sure, but i think i saw how they handle to set 32x32 tile into the client source. Take a look. Link to comment Share on other sites More sharing options...
GoGames Posted April 5, 2011 Author Share Posted April 5, 2011 EO does support 32x32 tiles i need to make it to support 16x16 Link to comment Share on other sites More sharing options...
BoDu Posted April 5, 2011 Share Posted April 5, 2011 @BoDu:> I'm not sure, but i think i saw how they handle to set 32x32 tile into the client source. Take a look.*EditedHere you go :```' Tile size constantsPublic Const PIC_X As Long = 32Public Const PIC_Y As Long = 32```But i think you have to change a few thinks in other place too. Make the changes and see what happen.*EditedI edited it and it is working, but you will have to change the mapeditor to 16x16 too. I will take a look later if you can't solve it by your own. (hope i can do lol) Link to comment Share on other sites More sharing options...
GoGames Posted April 5, 2011 Author Share Posted April 5, 2011 i did it before i post here but it doesn't work. Link to comment Share on other sites More sharing options...
BoDu Posted April 5, 2011 Share Posted April 5, 2011 An screen with what happen when i modificate them. It let me select 16x16 but it change the ingame resolution too. I think there its a way to change only the map editor to 16x16, and let pic_x and pic_y unchanged becouse they are used in a lot of codes.And you have to change the size of tiles that will be show into the picscreen. I think that's why it changed the resolution. Its making the 16x16 to a 32x32. Link to comment Share on other sites More sharing options...
GoGames Posted April 5, 2011 Author Share Posted April 5, 2011 is there a way to fix this ?Edit: acutely it doesn't change only the tile size it changes the sprite size and the item size and everything else to 16x16 Link to comment Share on other sites More sharing options...
BoDu Posted April 5, 2011 Share Posted April 5, 2011 @Rhythm:> is there a way to fix this ?> > Edit: acutely it doesn't change only the tile size it changes the sprite size and the item size and everything else to 16x16> I think there its a way to change only the map editor to 16x16, and let pic_x and pic_y unchanged becouse they are used in a lot of codes. Link to comment Share on other sites More sharing options...
GoGames Posted April 5, 2011 Author Share Posted April 5, 2011 nope that doesn't work i try Link to comment Share on other sites More sharing options...
Broojo02 Posted April 5, 2011 Share Posted April 5, 2011 I tried this about a week ago, long story short changing PIC_Y and PIC_X doesn't do half of what you need to do to make it work.Unfortunately 32 is used instead of the PIC values a LOT and its up to you to find the relevant bits of 32 and change it to 16\. Conversely, there are parts of the code with 16 that need to be changed to 8\.You need to have a thorough understanding of how the code works to be able to convert it to 16x16 without out any graphical glitches. Link to comment Share on other sites More sharing options...
The New World Posted April 5, 2011 Share Posted April 5, 2011 You don't necessarily need a thorough understanding. You just have to be able to read the algorithm containing the number, and be sure if it's handling what you need it to. Then change the number. But if it's handling something else, something that you aren't trying to resize, you need to know when to leave it alone. Just go through the code with Ctrl+F and find all the 16s you need to change. Change them to 8\. Then find all the 32s and change them to 16\.In that order, otherwise you'll be changing the 16s you previously made from changing 32s. So you'll be stuck with all 8s. :P Link to comment Share on other sites More sharing options...
GoGames Posted April 5, 2011 Author Share Posted April 5, 2011 were do i have to change the 16 to 8 and the 32 to 16 ? Link to comment Share on other sites More sharing options...
The New World Posted April 5, 2011 Share Posted April 5, 2011 In the client.Open your client project in the VB6 IDE and use Ctrl+F to do what I said. Link to comment Share on other sites More sharing options...
GoGames Posted April 5, 2011 Author Share Posted April 5, 2011 Yeah i know i mean were like in mod constants ? Link to comment Share on other sites More sharing options...
Broojo02 Posted April 5, 2011 Share Posted April 5, 2011 It will be in several different mods and forms. Link to comment Share on other sites More sharing options...
mrmiguu Posted April 5, 2011 Share Posted April 5, 2011 @Rhythm:> Yeah i know i mean were like in mod constants ?Search the entire project. Not just the module. Link to comment Share on other sites More sharing options...
GoGames Posted April 5, 2011 Author Share Posted April 5, 2011 yeah i did but i don't know which to change i mean there are 16 and 32 that have nothing to do whit graphics and so i dont know what i have to change Link to comment Share on other sites More sharing options...
mrmiguu Posted April 5, 2011 Share Posted April 5, 2011 @Rhythm:> yeah i did but i don't know which to change i mean there are 16 and 32 that have nothing to do whit graphics and so i dont know what i have to changeThat's where it gets a bit fuzzy. If you cont. to play around with things and better understand how the graphics engine works, you will know what to and what not to change. 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