ID:163197
 
Im looking for a way to make Seperate maps maybe... Kinda like swapmaps. But for a ranch, basically i wanna have a player be able to buy a ranch (A new map or z layer or somthing) and they can raise pets on this map. Ive tried swapmaps before.. With a harvest moon game, But it did not have a good outcome, Lag was very bad while creating a new map. Any suggestions on how i should go about doing this? Is swapmaps supose to be as laggy as it was? I dont wanna use z layers, because i can only make so many until players can buy a ranch anymore or raise pets. plz help. Thanks :).


*Added...* Lag isnt ever good with a game where you could die from lag :(.*
you could make it so all his house is stored and variables, and loaded every time him, or someone else enters the house, and the variables will automatically be created and saved as world vars when a new house is created...

it would meen less lag, no extra z levels, and loading from the var might take a while, but the thing with it is, it will only take up the guys cpu thats trying to load the map, instead of all the servers cpu.
In response to Super Silly Stuart
i will post a demo on this before too long, ive been trying to do this myself.
In response to Super Silly Stuart
I dont understand how you mean to di it, Have a better way to explain? xD.
In response to Bladeshifter
making the map save to a character variable

so like, once the owner enters, one of the users variables will be HouseSave, and once anyone enters, it loads from the guys variable instead, making it so it doesnt use up so many resources.
In response to Super Silly Stuart
Well... no extra z layers, so you mean... add the house right onto the map and save the contents of it into a var. or.... Make a new map and save the map to the usrs var. the second way right? If so, how would i go about doing that? If its the first way.. I can do that.. But i dont want a house literally on a map i want a little house but when you enter its a new map. hmmm *confussled* :P.
In response to Bladeshifter
i guess kind of the second one.

so like the entrance to the house would have to be a portal as to be able to effectively make unlimited houses be possible, while still making it so there wont be like loads of lag and such.

i will make a demo on this soon, as the system is also being added to my game.