Can't see tree layer inside 5CC v1.22
Select messages from
# through # Forum FAQ
[/[Print]\]
Goto page 1, 2  Next  :| |:
Close Combat Series -> Modding Workshop

#1: Can't see tree layer inside 5CC v1.22 Author: EagleEye PostPosted: Mon Apr 15, 2019 11:33 am
    —
Hello, I am using the 5CC v1.22 tool made by mafi to open CC2 maps, everything works fine but I am not able to see the trees, even by following the manual of the tool the tree layer stays empty. Someone knows how to fix it?

#2: Re: Can't see tree layer inside 5CC v1.22 Author: ScnelleMeyer PostPosted: Tue Apr 16, 2019 1:41 pm
    —
I just opened some CC2 maps and I could display the tree layer without problems.
In "Edit" menu - select edit tree image overlay - then load the terrain file and you should see the trees if its checked in the "layer" menu.

#3: Re: Can't see tree layer inside 5CC v1.22 Author: EagleEye PostPosted: Tue Apr 16, 2019 2:57 pm
    —
Thanks for the answer, this is what I do: I go inside CC2 folder and I copy the relevant files for a map, like:

BGMAP320
map320
map320.los
MMMAP320
OVMAP320
ROOF320

I open map320 and it loads the other files, I see the map without trees, I go inside Edit > select edit tree image overlay.
I load the TERRAIN file that I've copied from the CC2 folder.
I still don't see any trees, to check I hide all the layers except for the tree layer and even this layer is empty.

I've tried this in OS X Sierra and even in Parallels with Win 8 and the result is the same. Could you share the map that you have tried to see if the issue is the with the default maps?

#4: Re: Can't see tree layer inside 5CC v1.22 Author: ScnelleMeyer PostPosted: Tue Apr 16, 2019 7:44 pm
    —
I have no problem opening map 320 or any other maps with trees displayed.

But I have not tried copying them to a different folder first.
Could you try just opening the map from its original location?

#5: Re: Can't see tree layer inside 5CC v1.22 Author: EagleEye PostPosted: Wed Apr 17, 2019 10:34 am
    —
Did the same on a Windows system, opened the files from the original folder and exact same issue... Nothing inside the trees layer...

#6: Re: Can't see tree layer inside 5CC v1.22 Author: ScnelleMeyer PostPosted: Wed Apr 17, 2019 1:04 pm
    —
So its just the trees that fails to be displayed?
Roofs and interiors are displaying ok?

If its just the tree layer that fails, it seems the program fails to loaf the terrain file.

Can you try to load a map from a different CC version and check if trees will display for that map?

#7: Re: Can't see tree layer inside 5CC v1.22 Author: ScnelleMeyer PostPosted: Wed Apr 17, 2019 1:06 pm
    —
Could there be any file restrictions applied, preventing it from being read by 5CC?

#8: Re: Can't see tree layer inside 5CC v1.22 Author: EagleEye PostPosted: Wed Apr 17, 2019 9:31 pm
    —
The weird issue is that on 3 different OS I have the same issue, all the rest is working fine, the terrain file doesn't give any errors
at this point I have another suspect... It could be an issue with the gog version? If you can attach the files of this map that you have opened I can try them

#9: Re: Can't see tree layer inside 5CC v1.22 Author: ScnelleMeyer PostPosted: Wed Apr 17, 2019 9:38 pm
    —
Just download any map from the download section on this site to test your theory.

#10: Re: Can't see tree layer inside 5CC v1.22 Author: southern_land PostPosted: Wed Apr 17, 2019 11:31 pm
    —
I think you have to link to the terrain file in one version of CC?

#11: Re: Can't see tree layer inside 5CC v1.22 Author: EagleEye PostPosted: Thu Apr 18, 2019 8:41 am
    —
I have used the terrain file inside the CC folder there are two files named in the same way, I've tried both of them but the result is the same, today I will try to download some maps of CC2 to see if I have the same issue

#12: Re: Can't see tree layer inside 5CC v1.22 Author: EagleEye PostPosted: Thu Apr 18, 2019 12:52 pm
    —
Tried other maps from the mod section and the issue is always the same... No trees shown, even with user maps, the layer stays empty even if the terrain file is loaded correctly. On 3 different computers the issue is the same, so or I am doing something really stupid or the issue is the god version

#13: Re: Can't see tree layer inside 5CC v1.22 Author: ScnelleMeyer PostPosted: Thu Apr 18, 2019 1:20 pm
    —
Can you see tree layers on CC3 maps?

#14: Re: Can't see tree layer inside 5CC v1.22 Author: MafiLocation: Germany PostPosted: Thu Apr 18, 2019 5:03 pm
    —
EagleEye wrote (View Post):
I've tried this in OS X Sierra and even in Parallels with Win 8 and the result is the same. Could you share the map that you have tried to see if the issue is the with the default maps?


Hi EagleEye,

AFAIR the 5CC will remember the last used Terrain file. Perhaps this is gone in your case and you will see no trees therefore? So select a new Terrain file via: Menubar: Edit > Select tree image overlay > Button "Load file "Terrain". You wrote you did it this way, what is okay.

Now check your selection: below this button there also a line labeled "file path". There you will find the path of the actually loaded Terrain file. Just stay with the mouse over the text of this path and a tooltip will appear, showing the full path of Terrain file. So you can control which file you have really loaded.

If this file is missing on next start of 5CC, 5CC should ask for "a sprite file to load". In this dialog you can also select the disked Terrain file.

Next problem what might appear: you are using an unusual or empty terrain elements file (or perhaps no terrain elements file at all?) with no trees defined inside? In this case you will see also no trees.

I hope this helps a little bit, otherwise I must dug out my own old manual first.

Just made a test with old 5CC v1.17 on MacOS-X 10.14 and it works.

Cheers
Mafi

#15: Re: Can't see tree layer inside 5CC v1.22 Author: Drizzt PostPosted: Thu Apr 18, 2019 7:41 pm
    —
Mafi wrote (View Post):
EagleEye wrote (View Post):
I've tried this in OS X Sierra and even in Parallels with Win 8 and the result is the same. Could you share the map that you have tried to see if the issue is the with the default maps?


Hi EagleEye,

AFAIR the 5CC will remember the last used Terrain file. Perhaps this is gone in your case and you will see no trees therefore? So select a new Terrain file via: Menubar: Edit > Select tree image overlay > Button "Load file "Terrain". You wrote you did it this way, what is okay.

Now check your selection: below this button there also a line labeled "file path". There you will find the path of the actually loaded Terrain file. Just stay with the mouse over the text of this path and a tooltip will appear, showing the full path of Terrain file. So you can control which file you have really loaded.

If this file is missing on next start of 5CC, 5CC should ask for "a sprite file to load". In this dialog you can also select the disked Terrain file.

Next problem what might appear: you are using an unusual or empty terrain elements file (or perhaps no terrain elements file at all?) with no trees defined inside? In this case you will see also no trees.

I hope this helps a little bit, otherwise I must dug out my own old manual first.

Just made a test with old 5CC v1.17 on MacOS-X 10.14 and it works.

Cheers
Mafi


Hi Mafi, your tools are awesome: I have always used them in a profitable way. I have a consideration to do about this problem, and a question about BED9:

1) About what it has reported EagleEye user, in your opinion, the problem could be a wrong terrain elements file loaded? Or, at the opposite point of view: trees location inside this file can cause this kind of problem with the wrong terrain file? For my mods I have always created a user-defined terrain elements file (tab limited for the tool) relative to the mod, so I don't remember which is the tool default file (terrain elements file). It's just an hypothesis (just to be clear for who read: terrain and terrain elements files are two different files).

2) About Bed9: I Know very well this tool, but there is a thing that I am always obliged to do manually: "Map view screen, overview map: red circle that shows which map this is on the strat map". In your tool, the coordinates are "not centered" with TLD (they don't match in the game: they aren't too distant, but don't match). In your opinion, it's a bug? It's something that sounds new for you? Maybe I do something of wrong or there is something that I don't know: you have some advice about this specific issue?

#16: Re: Can't see tree layer inside 5CC v1.22 Author: EagleEye PostPosted: Fri Apr 19, 2019 12:45 am
    —
Mafi wrote (View Post):
EagleEye wrote (View Post):
I've tried this in OS X Sierra and even in Parallels with Win 8 and the result is the same. Could you share the map that you have tried to see if the issue is the with the default maps?


Hi EagleEye,

AFAIR the 5CC will remember the last used Terrain file. Perhaps this is gone in your case and you will see no trees therefore? So select a new Terrain file via: Menubar: Edit > Select tree image overlay > Button "Load file "Terrain". You wrote you did it this way, what is okay.

Now check your selection: below this button there also a line labeled "file path". There you will find the path of the actually loaded Terrain file. Just stay with the mouse over the text of this path and a tooltip will appear, showing the full path of Terrain file. So you can control which file you have really loaded.

If this file is missing on next start of 5CC, 5CC should ask for "a sprite file to load". In this dialog you can also select the disked Terrain file.

Next problem what might appear: you are using an unusual or empty terrain elements file (or perhaps no terrain elements file at all?) with no trees defined inside? In this case you will see also no trees.

I hope this helps a little bit, otherwise I must dug out my own old manual first.

Just made a test with old 5CC v1.17 on MacOS-X 10.14 and it works.

Cheers
Mafi


Thanks for the answer, I am loading the Terrain file inside the Graphics folder inside CC2, in game I see the trees so I suppose that the trees should be inside the file. I've checked multiple times insied the "edit tree image overlay" screen and the path is right and there is written the number of sprites loaded, but still the same issue, no trees. I can't try to open other CC maps because I don't have other games installed and so I can't have the Terrain file. Which CC version have you tested on Mac? It could be useful to try all this with the terrain file that you have used to test?

#17: Re: Can't see tree layer inside 5CC v1.22 Author: MafiLocation: Germany PostPosted: Fri Apr 19, 2019 5:03 pm
    —
EagleEye wrote (View Post):
... in game I see the trees so I suppose that the trees should be inside the file. I've checked multiple times insied the "edit tree image overlay" screen and the path is right and there is written the number of sprites loaded, but still the same issue, no trees. I can't try to open other CC maps because I don't have other games installed and so I can't have the Terrain file. Which CC version have you tested on Mac? It could be useful to try all this with the terrain file that you have used to test?


Hello EagleEye,

I have checked the CC2 Terrain file with LSA maps with the original CC2-Elements file. In such a case I see the trees not on the trunks but on the hedges, because the the maps are coded in LSA and not in CC2. But this doesn't matter. The tree layer is there and it's visibility can be toggled. Did you have toogled the visibility in the "Layer select window"? See also menubar item "Visibility", menu item "Show layer select".

Concerning BED9: might be a bug. No chance at the moment to dive into this problem. Sorry.

Cheers
Mafi

#18: Re: Can't see tree layer inside 5CC v1.22 Author: Drizzt PostPosted: Fri Apr 19, 2019 6:48 pm
    —
Can I suggest to EagleEye to go in "preferences", "elements terrain table", and check if there is selected the CC2 terrain elements file? He can also search it (with "search" button) inside the tool folder named "TerrainElementsTable" to confirm that it's loaded correctly.
It seems to me to remember that once I didn't see the trees because terrain file and terrain elements file were not selected for the same CC version (or maybe terrain elements file was not selected/loaded at all).

#19: Re: Can't see tree layer inside 5CC v1.22 Author: TejszdLocation: Canada PostPosted: Fri Apr 19, 2019 9:53 pm
    —
Not helping solve the problem, but wanted to jump in to say THANK YOU again to Mafi for the great CC mod tools!

Last edited by Tejszd on Sun Apr 21, 2019 1:47 am; edited 1 time in total

#20: Re: Can't see tree layer inside 5CC v1.22 Author: EagleEye PostPosted: Fri Apr 19, 2019 11:19 pm
    —
Drizzt wrote (View Post):
Can I suggest to EagleEye to go in "preferences", "elements terrain table", and check if there is selected the CC2 terrain elements file? He can also search it (with "search" button) inside the tool folder named "TerrainElementsTable" to confirm that it's loaded correctly.
It seems to me to remember that once I didn't see the trees because terrain file and terrain elements file were not selected for the same CC version (or maybe terrain elements file was not selected/loaded at all).


Thank you very much! It worked! I've already went inside the preferences and the file inside the archive was selected, had to point to the path manually and now the trees are there, thanks to everyone for the help!



Close Combat Series -> Modding Workshop


output generated using printer-friendly topic mod. All times are GMT

Goto page 1, 2  Next  :| |:
Page 1 of 2