Regarding terrain ID's

正在查看此主题的用户

mobotium

Knight
How do you find out the terrain ID of one scene using only the text files? (not the module ones)

Of a edited scene I mean.
 
You need to know the name of the scene in the text file first, like town_1 is Sargoth etc. Then you need to find the scene text file, which is in your mods folder by the name of "scenes", find the scene you are looking for, take the last bit of the line of text and there you go, your terrain ID. Theres some more stuff on that line of text, but they better left untouched if you dont know what you are doing.
 
Temuzu 说:
You need to know the name of the scene in the text file first, like town_1 is Sargoth etc. Then you need to find the scene text file, which is in your mods folder by the name of "scenes", find the scene you are looking for, take the last bit of the line of text and there you go, your terrain ID. Theres some more stuff on that line of text, but they better left untouched if you dont know what you are doing.

Yes, I tried that but thats the ORIGINAL terrain Id rigth? Because Im looking for the ID of the terrain I edited.
 
mobotium 说:
Temuzu 说:
You need to know the name of the scene in the text file first, like town_1 is Sargoth etc. Then you need to find the scene text file, which is in your mods folder by the name of "scenes", find the scene you are looking for, take the last bit of the line of text and there you go, your terrain ID. Theres some more stuff on that line of text, but they better left untouched if you dont know what you are doing.

Yes, I tried that but thats the ORIGINAL terrain Id rigth? Because Im looking for the ID of the terrain I edited.
If you have edited it, it automatically changes according to your edits.
 
Temuzu 说:
mobotium 说:
Temuzu 说:
You need to know the name of the scene in the text file first, like town_1 is Sargoth etc. Then you need to find the scene text file, which is in your mods folder by the name of "scenes", find the scene you are looking for, take the last bit of the line of text and there you go, your terrain ID. Theres some more stuff on that line of text, but they better left untouched if you dont know what you are doing.

Yes, I tried that but thats the ORIGINAL terrain Id rigth? Because Im looking for the ID of the terrain I edited.
If you have edited it, it automatically changes according to your edits.

Strange... It was still the same for me...

Probably a problem on my part though, thanks...
 
Temuzu 说:
If you have edited it, it automatically changes according to your edits.

This is false. All changes are stored in the SceneOBJ file. The Terrain ID stays the same.
 
mobotium, you may find scene in scene.txt and calc ID base on line number.
ID=(line number-3)/4
 
Rongar 说:
mobotium, you may find scene in scene.txt and calc ID base on line number.
ID=(line number-3)/4
that's scene ID :wink: He was asking about terrain one. Which is the longest number in a string after scene name in txt
 
GetAssista 说:
terrain one
Terrain code that is. I've never fought that such crazy hex numbers could  be called ID =)

mobotium 说:
Yes, I tried that but thats the ORIGINAL terrain Id rigth? Because Im looking for the ID of the terrain I edited.
mobotium, are you trying to get a code of terrain you got after terrain editing a certain scene? That simply is not possible because such code does not exist. Terraforming changes are saved in .scn respect initial terrain code.
 
Rongar 说:
GetAssista 说:
terrain one
Terrain code that is. I've never fought that such crazy hex numbers could  be called ID =)

mobotium 说:
Yes, I tried that but thats the ORIGINAL terrain Id rigth? Because Im looking for the ID of the terrain I edited.
mobotium, are you trying to get a code of terrain you got after terrain editing a certain scene? That simply is not possible because such code does not exist. Terraforming changes are saved in .scn respect initial terrain code.

Mhe, too bad then...
 
Well, one thing though, as this is the reason I made this thread in the first place: How thw hell do you get edited terrains into a multiplayer map?
 
后退
顶部 底部