English Load random map support

6 replies
Goto Page
To the start Previous 1 Next To the start
06.09.11 09:12:17 pm
Up
Lion_Hearted
User
Offline Off
I want to make it so that I can make, and load a random map from a random map.

Basically, this is how I want the script to work...


You make a boat, and you ride to the edge of the island on say the east side...


Then, after you pass over the edge of the map on the east side, you would make a new map but, you would also use a random map generator in the making of this new map. And you would be coming from a random map, into another random map. And you would be able to walk back and forth between the two random maps. You'd go east on the first map to get to the second map, and you'd go west on the second map to get to the first map.


But, I have a couple problems... first... I have no idea how I would make it generate a random map then load it, and after doing it the first time it would just return to that map next time I went to visit it. 2nd, I always had the problem of duplicate items, wrong return point. And I also had the problem that when I put both "savemap" and "loadmap" in the same script, the save map would activate, but leave the rest of the script without activating the loadmap function.


So to sum my thread up.

Is it possible, and how would I make it so that the game would create a new random map, and load it, and remember it for when I went to visit it again.

How do I get past the problems of duplicate items, savemap and loadmap conflicts, and wrong return points.
View my models! Also, check out the realistic hunting and rotting meat system in my mod. Lion_Hearted's Mod
06.09.11 09:15:40 pm
Up
Yates
Reviewer
Offline Off
I don't know the solution. But wouldn't you get another random map if you want to go back to the first random map?
06.09.11 09:20:20 pm
Up
Lion_Hearted
User
Offline Off
Thats what I want, I want it to make a random map at first, then remember that it has already made a map, and load the save file for that map.
View my models! Also, check out the realistic hunting and rotting meat system in my mod. Lion_Hearted's Mod
06.09.11 09:25:48 pm
Up
Yates
Reviewer
Offline Off
Oh, right. I just read the first part and replied with my question.
30.12.11 11:12:06 am
Up
amstel bier9
User
Offline Off
sorry for opening an old topic again but I'm also looking for this script.
so if anyone has it, I beg you to place it here.

already a great thanks,
Amstelbier9
current project: seasons survivor! done: GTA lienden! done: Ultimate Survival!
30.12.11 11:39:36 am
Up
Vectarrio
User
Offline Off
I can't make whole script, but I can tell you that you should use s2 cmd loop and s2 cmd randomcreate commands.
EDIT:
thought a bit more about it, you'll need an empty map which is generated and saved in some folder.
and then generate something there with scripts.
So:
you create a map, leave it empty, add a generation script there, save it in some folder, and load it with your first map.
Did you get it?
edited 1×, last 30.12.11 01:30:29 pm
30.12.11 02:47:47 pm
Up
amstel bier9
User
Offline Off
a bit, but I think it's really complicated..
and is it simpler to use only 1 random map?
because i would like to make (in a random game) a mine(it's fulled with blocks, like in minecraft).
if you got some ores, then you can left the mine and go back to your island.

already thanks
current project: seasons survivor! done: GTA lienden! done: Ultimate Survival!
To the start Previous 1 Next To the start