bux
Rep: 50.2 votes: 2
|
Posted: Tue Mar 28, 2017 7:47 pm Post subject: Which element tile for prevent vehicles |
|
|
Hello,
Using 5CC map editor, i woud like to set tiles where vehicles cannot be placed/move. In the present case, it's mountain slope flan. Only soldiers should be able to move in this tiles. I use 1.024 Steep slope, but soldier are very, very slow on it. On my map, they sould be able to move nearly normally (like 2/3 of normal speed).
Wich element tile can i use ?
Thank's, bux. |
|
|
Back to top |
|
|
|
mick_xe5
Rep: 19.4 votes: 5
|
Posted: Tue Mar 28, 2017 8:13 pm Post subject: Re: Which element tile for prevent vehicles |
|
|
There is no terrain element that prevents only the placement of vehicles. The element 'Steep Slope' has a soldier movement cost of 150 tenths of a second (=15 seconds). See columns R, S, & T in the Elements.txt file. If you would like soldiers to move faster in Steep Slope terrain (eg. 2/3 normal speed) then edit 150 to ~39, 21, 19 in those columns. Keep in mind that a soldiers movement speed will be affected by elevation changes as well as element movement values. |
|
|
Back to top |
|
|
bux
Rep: 50.2 votes: 2
|
Posted: Wed Mar 29, 2017 7:15 am Post subject: Re: Which element tile for prevent vehicles |
|
|
I will do that thank's. So when we change values in Elements.txt, these values are keep in the game (i was not sure about that).
Additional question: If there is no terrain element that prevent vehicles placement, how Steep Slope do the trick ? Change R, S, & T columns will not change that ?
Thank's. |
|
|
Back to top |
|
|
mick_xe5
Rep: 19.4 votes: 5
|
Posted: Wed Mar 29, 2017 1:14 pm Post subject: Re: Which element tile for prevent vehicles |
|
|
All changes to game files are used in-game. Except in cases where the changed data isnt used at all- eg. some of the sections in Campaign.txt like "# Battle group 'base' battle plans:"
Steep slope prevent vehicle movement by using a movement value of 0 in columns U, V, W, X & Y. (Vehicle Move Pushed, Vehicle Move Truck, Vehicle Move Arm Car, Vehicle Move Halftrack, Vehicle Move Tracked). Refer to the Data workbook for these explanatory column headers not found in the data/base files. |
|
|
Back to top |
|
|
bux
Rep: 50.2 votes: 2
|
Posted: Wed Mar 29, 2017 7:05 pm Post subject: Re: Which element tile for prevent vehicles |
|
|
Thank you very much for all these explanations ! |
|
|
Back to top |
|
|
bux
Rep: 50.2 votes: 2
|
Posted: Wed Mar 29, 2017 7:44 pm Post subject: Re: Which element tile for prevent vehicles |
|
|
Hmm, i edited line with Grass field values for test:
Quote:
|
Steep Slope 24 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 2 30 16 14 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 10 -1 -1 -1 -1
|
And make a "save as" on my map. Soldier are still very slow. I replaced Steep Slope tiles by Sand tiles to check if i have a problem with saving my map, soldier move fast.
Note, i'm editing a GTC map, so i edit "CCGtCElements.txt" file. I'm doing it right ? Maybe i have to use a 5CC option to "generate" something ? |
|
|
Back to top |
|
|
mick_xe5
Rep: 19.4 votes: 5
|
Posted: Wed Mar 29, 2017 9:57 pm Post subject: Re: Which element tile for prevent vehicles |
|
|
Edit column B (Height of element in 1/2m. Range = 0 - 255). The height value for Steep Slope is 24 (=12m) where the height value for Grass Field is 1 (=.5m). |
|
|
Back to top |
|
|
bux
Rep: 50.2 votes: 2
|
Posted: Thu Mar 30, 2017 7:09 pm Post subject: Re: Which element tile for prevent vehicles |
|
|
Erf, still not working. If i edit the second column (where Steep Slope value is 24) into 1, it is breaking editor (element 24 is uknown).
I see what columns names are:
So i edit the third column (and thourth just to test) with Grass field values. Not working to :/ |
|
|
Back to top |
|
|
mick_xe5
Rep: 19.4 votes: 5
|
Posted: Thu Mar 30, 2017 8:47 pm Post subject: Re: Which element tile for prevent vehicles |
|
|
It seems you are editing the 5CC CCGTCElements.txt file. You need to edit the/Data/Base/Elements.txt file in the game directory. |
|
|
Back to top |
|
|
GameRat
Rep: 44.8 votes: 2
|
Posted: Thu Mar 30, 2017 11:21 pm Post subject: Re: Which element tile for prevent vehicles |
|
|
didn't SL make a brick or something element in PITF to keep vehicles away from buidings?
In GJS ... the element is courtyard |
|
|
Back to top |
|
|
mick_xe5
Rep: 19.4 votes: 5
|
Posted: Fri Mar 31, 2017 2:23 pm Post subject: Re: Which element tile for prevent vehicles |
|
|
The Courtyard element in GJS works the same way Steep Slope does by making vehicle movement rates 0. Guns can still move thru Courtyard since the movement rate for Vehicle-Pushed is 1. |
|
|
Back to top |
|
|
bux
Rep: 50.2 votes: 2
|
Posted: Fri Mar 31, 2017 6:51 pm Post subject: Re: Which element tile for prevent vehicles |
|
|
Okay It work better now. Thank's |
|
|
Back to top |
|
|