(SOLVED) edit terrain code in .txt, want to copy all objects to working scene !

Users who are viewing this thread

Kabs

Sergeant at Arms
Hey there,

as u can see in the topic, i need help to copy all items like (trees, bushes, Houses etc.) to another scene.obj

maybe someone knows a solution

thanks in advance

kabs
 
GetAssista said:
copy sco file + make new scene using this file and same terrain code than original one. Then edit

thats the problem with the map code...

i have a scene.obj where the map terrain is bugged (i cant edit all terrain cauz i put in the new terrain code into the "scenes.txt"). therefore i want just to make a new map with same sizes and copy the items into it.

 
I had this problem as well. I eventually got it thanks to some help.

Go into your module folder, and go into SceneObj folder. In here is a list of all the maps in the game. Get the ones that you want and copy them to the same folder, before renameing them WITHOUT and spaces or weird charachters. Then go into scenes.py and copy the scene info for that map EXACTLY! Then change the name for the copied scene info to EXACTLY the same as the .obj file you copied's name (eg caslte_1_exterior.obj would be "caslte_1_exterior")

You then need to start a new game and it should be there. How you then access this is up to you but that is what you need to do.
 
eagles_rule_der said:
I had this problem as well. I eventually got it thanks to some help.

Go into your module folder, and go into SceneObj folder. In here is a list of all the maps in the game. Get the ones that you want and copy them to the same folder, before renameing them WITHOUT and spaces or weird charachters. Then go into scenes.py and copy the scene info for that map EXACTLY! Then change the name for the copied scene info to EXACTLY the same as the .obj file you copied's name (eg caslte_1_exterior.obj would be "caslte_1_exterior")

You then need to start a new game and it should be there. How you then access this is up to you but that is what you need to do.


Hmmmmmm.. thanks for the help first, but i dont really understand how and wich problem u try to solve with this method..

are u trying to give the items of a scene to another ?
u try to get rid of the terrain bug (that its not editable on the square of old map) ?

would be great if u can describe it piece by piece and more detailed.

greetz kabs
 
if i add a code to a existing map in "scenes.txt" (just to make another terrain for a mod i needed the objects in) it looks like this after elevate the ground to one level and save:

editor.jpg


thats what the problem look like, but its another map and i dont want to give up on fixing it..

Kabs
 
Then edit

what should i edit, the whole empty map new map ? u know i want the items from the bugged map.

i did it that way:

let the module system create a new map with same sizes. Then i just copied over the old scene.obj with the items i want over the new written scene.obj from module system made.

it didnt worked. same error.

is it this what u saying what i should do? or a different thing?

plz write more detailed.....

thanks kabs

 
Ok,

try1:

i gave the map code from the working scene.py to the scenes.txt of the bugged map.

didnt work after all...

i am on the wrong way i think x(

@Eagles rule der
*************************
The thing is that i can create new map via module system, but i dont have the main files because their not open scource from the mod. So i dont can check if it would work with the right module files and not native...
************************
 
eagles_rule_der said:
Then go into scenes.py and copy the scene info for that map EXACTLY! Then change the name for the copied scene info to EXACTLY the same as the .obj file you copied's name (eg caslte_1_exterior.obj would be "caslte_1_exterior")

ok i cant test this cauz i dont have the mod files.

So u mean if i let the module system generate a brand new map entry with same terrain code and give a copy of the scene.obj together with it?

u really can confirm that this works ? because thats what the modders do, when they wrote my map into their module....

i for myself think, i will try to open the scene.obj with editor and copy the content to the new map. Maybe this could do better?

if anyone know how to get items to another map, i would be happy.

kabs
 
Ok, I am starting to understand.
What you should do is copy a random .sco, and make that file work, don't change anything... Then get the scenes.py tuple for the exact scene that you copied (so if you copied zendar.sco, then you need to copy the "zendar" tuple). When you have done this, rename both of these to the same thing (whatever it is you want to call your scene). Now at this point, yes, I know they are not the scene that you want, but make sure that you can correctly access this scene in-game...

If this works, you need to get the exact terrain code that was used for the new scene and put this into the current one in scenes.py (the terrain code is that really long iuytr34fdsf3465vbn00bg thing in scenes.py tuple) and put this into the scenes.py tuple that you copied and renamed. Finally you need to copy the scene.obj to the directory, and make it exactly the same name as the one that you coped and tested.

Other than this I am unsure as to what exactly is going on... If you like, somehow send me the scene.obj and the terrain code you are using and I will make a mini-mini mod to make it work...
 
Ok Sry for the late answer, i didnt had time ;-)

----------------------------------------------------------------------------------------

what i got for now is, that i made a complete new map with the module system (on native), with the same terrain code as the map should be. This works for me now so the terrain isnt that bugged as when i did it with overwriting terrain code from the scenes.txt instead of .py (The big fail because the current map terrain bugged and isnt editable on all space as in picture up ahead in thread).

so the only BIG Problem for me now is:

That i dont want to place all the objects again... and i am searching for a solution to get the items into the new scene with working terrain.

---------------------------------------------------------------------------------------

so this block should say it better and understandable :)

i didnt tried what u wrote, because no time at the moment...

what i tried was:

- copy the scene.obj and overwrited the new generated from the working scene.

- opened the sence.obj with editor copied and then overwrited it to the new working scenes.obj.

STATUS: the both trys failed, because of errors, but i think i could have to do because in the scene.obj are items from the mod that i dont have the files from (mm mod) *not open scource*

Note: Maybe i am wrong with it, but i think it could be.

WHAT I ONLY REALLY WANT:

- copy the items from the bugged scenes .obj file to the working.

THE MAIN PROBLEM OF THE MAP AS IT IS ATM:

- its laggy because i really had to trick with items to get the middle look good. u only will understand it if u look on the map in editor !

IF anyone have a solution, i would be kiss his/hers feet not washed for three years :> !

thanks in advance
 
Here comes the files, feel free to test them. but note as i said, it has objects from mm mod in it so it may also not work if you try it with another mod:

(MM mod version: Prussia 4)

scene.obj:

http://rapidshare.com/files/433310771/scn_multi_fahausi_raven_hour_prussian_outskirts.sco

terrain code:

outer_terrain_plain
scn_multi_fahausi_raven_hour_prussian_outskirts multi_fahausi_raven_hour_prussian_outskirts 256 none none 0.000000 0.000000 100.000000 100.000000 -100.000000 0x000000003000050000023348000011cc0000660f00002179
  0
  0

when u try it at its given here, u will see that the side over the middle where the sunken castle is, u cant edit the terrain.

greetz Kabs
 
Thats the map i will loose without solution:

http://www.youtube.com/watch?v=If7ssTwtDL4

maybe now u understand why i am that carefull about the objects in it :>

also it was my first map, and i dont want give up on it :D !
 
Problem solved!:

ok, now with the new mm prussia 5 all my maps are running finde, was something with meshes and textures :>

its also running with bugged terrain :> !

explain: the map was laggy and i thought it was my terrain bug.

thnx for your help after all guys!

greetz kabs
 
Back
Top Bottom