Changing a scene

正在查看此主题的用户

Lewagal

Recruit
Hi, I'm trying to edit Shariz via the scene editor. I know how to use it but I want to make the scene larger. I downloaded python and the module system files, and replaced the terrain string for shariz in the "module_scenes.py" to a terrain I generated with the terrain editing tool:

("town_19_center",sf_generate,"none", "none",(0,0),(100,100),-100,"0x0000000022240d10000d234800006db3000044bf00000bb0",
    [],[],"outer_terrain_steppe"),

original was:

("town_19_center",sf_generate,"none", "none",(0,0),(100,100),-100,"0x0000000020049cbd00025896000048e90000164400002b3f",
    [],[],"outer_terrain_steppe"), 


And I changed the module_info.py to point to my module folder, and ran the build_module.bat, but when I enter my module and choose "Take a walk around the streets" in Shariz, the scene stays the same. Any ideas?
 
If I remember correct the city scenes usually have visible (like walls) or invisible borders that keep you inside the city. Increasing the map size only allows you to see a bit farther when you look over the wall.
 
Best you first check if the build did work. Open scenes.txt and check the terrain code there.
If it is still the old one the build did not work, just change the code in the file, start M&B, load your game and see if it worked.
If it is your new terrain code I don't know what went wrong, I know some had the problem that the added terrain stayed black but you would have noticed that.
 
Thanks! I changed the string in scenes.txt and it worked. But now I have another problem- each time I make changes to the terrain, when I go out of the city and come back the terrain resets itself and the changes I made are erased. Why does it happen?
 
Lewagal 说:
Thanks! I changed the string in scenes.txt and it worked. But now I have another problem- each time I make changes to the terrain, when I go out of the city and come back the terrain resets itself and the changes I made are erased. Why does it happen?
I get that too, and haven't figure out why it does that  :sad:

You might want to make a thread in the Forge (mod development) - lots of smart people there  :smile:
 
后退
顶部 底部