Сообщение отредактировал Master_TW_DAR: 27 Июль 2014 - 20:27
- Просмотр новых публикаций
- Total WarS
- Моды
- Игры
- Правила форума
- Форумы
- Пользователи
- Чат
- Больше
Мододел
Отправлено 15 Июнь 2014 - 06:12
IWTE - Editing worldterrain files
The following information should help modders understand the basics of modding the worldterrain files.This allows you to change the landscape of any .world map without actually changing any of the .world/collision/animations. So you can position the ‘settlement’ on a hill, in a valley etc but still retain everything about the settlement (if you wish).
Essentially you should think of the worldterrain file as containing four items :
The worldterrain Vertex – these are all exactly 8m apart. You can only adjust the height
The worldterrain merge factor associated with each vector – value 1.0 to 0.0 identifying whether this vector shows fully or becomes more merged until it has no effect on the original landscape
The Landscape merge mask – merges the original landscape towards an average 0.0 height
The mask TGA paths – the texture masks applied to the world terrain file. There are 4 masks with a macro and micro mask for each
To try and explain this better :
The worldterrain vertexes
The vertexes are all 8m apart. All you can do is add new rows or columns and amend their height.
The normal battlemap is approx. 221 vertexes square.
Milkshape can only handle 181 vertexes square.
The worldterrain should be variations of height from a 0.0 average height.
It should be noted that the triangles that then make up the mesh do not have a uniform direction. They follow a basic pattern (which isn't a single bottom left to top right split as an example). However when the vertex meets water the pattern gets broken and the triangles are formed connecting to the lowest vertex.
The worldterrain merge factor
This factor says what the vertex weighting is versus the underlying landscape. A value of 1.0 implies the vertex shows 100% and the underlying terrain is completely hidden whereas a value of 0.0 means the underlying landscape is showing completely and the vertex has no effect. Obviously you should have values of 1.0 under the settlement (ie any vertexes associated with the .world file) and then should merge to a 0.0 value for the outer edges of the world terrain. This will then blend the worldterrain into the underlying landscape.
The Landscape merge mask
This is a fixed size (256*256) and is either present or not (IWTE tool doesn’t allow you to delete it if you don’t want it – in that case just select a starting file that doesn’t have one. It will allow you to add though). Its purpose is to merge the surrounding landscape towards an average height which is 0.0 in .world/.worldterrain terms. In this case the fully merged means the landscape value is 0.0 whereas the unmerged shows the true landscape (based around an average 0.0 height).
The merge mask also covers the same area regardless of changes to the world terrain vertex mesh (it’s a few metres bigger than the 121 size maybe fitting to a 128 size)
The mask TGA paths
OK these are really textures but are internally referred to as TGA. There are 4 masks which can be called whatever you like but start normally as mud, path, farm1 and farm2. Each has 2 files associated with it representing the macro file and the micro file. Each file then has a size associated with it (in metres) over which the TGA is stretched.
Please note that the masks ONLY use their alpha channels to determine how much of the associated Macro and Micro files show.
Order of sequence
You should think of the order of sequence for building the battlemap as :
Obtain height and feature information from stratmap.
- Also apply climate, geography and vegetation information.
Apply landscape merge mask – to merge landscape towards a central average height deemed to be 0.0 in .world terms
Apply the Worldterrain vertexes merging according to the vertex world terrain merge factor
- Applies rock values to cliffs and also applies the terrain TGA masks (other underlying geography still applies).
This post by Makanyane helps explain pictorially the above merge processes (ie the impact of the landscape merge mask and the world terrain merge factor) :-
]]> http://www.twcenter.....6#post11133666 ]]>
How do you change them using IWTE?
The features for changing the world terrain are all under tab Terrain1 in the IWTE tool.
Amend WT Mask TGA paths
This option brings up a table where you can overwrite the TGA names and change the size associated with the macro and micro files.
Create Terrain base TGA
This option creates a TGA of the vertexes (The terrain TGA) and (if it exists) a TGA of the Landscape merge mask. It asks for 3 parameters which only affect the Terrain TGA.
Greyscale control point – is a grey scale value which controls the conversion of the height to greyscale.
Height assigned to GCP – This is the height associated with the greyscale value.
Greyscale increments per height – This is the number of greyscale values per metre height change.
OK this normally confuses me but what it means is if you use greyscale height 150 has Height assigned 0.0 and greyscale increments is 3.0 then a height of 1.0metres would be greyscale 153 and 2.0 would be greyscale 156 etc
Always note the values down as you need to enter the same values when you replace the terrain TGA.
If the height exceeds the parameter settings i.e. requires greyscale above 255 then the colour is changed to blue and if it required a value less than zero it is changed to red.
The worldterrain merge factor is stored in the alpha channel of this TGA.
For the TGA of the landscape merge mask this just uses a greyscale value representing the merge. It doesn’t use the alpha channel.
Replace with Terrain TGA
This replaces only the Terrain TGA file (the one with the vertex heights and the world terrain merge). You should enter the same parameters as used to create the file in the first place. One thing to note, if a pixel is NOT greyscale it does NOT replace the existing value. This then allows you to concentrate on editing a small piece in detail and leaves the remainder as it was.
Please remember the TGA is a 32 bit TGA and expects an alpha channel.
Replace with WT merge TGA
This replaces the existing Landscape merge mask values with the values from the TGA (Note it doesn’t check for greyscale it simply uses one of the values). It also adds it in if the worldterrain file doesn’t currently contain one.
Please remember the TGA is a 32 bit TGA and expects an alpha channel even though not used.
Create Terrain ms3d
This creates a milkshape file which you can then edit in milkshape. However it only works for sizes up to a maximum of 181 by 181 vertexes after which the milkshape limit is exceeded.
This file doesn’t allow you adjust the world terrain merge factor.
The mask TGA path information is held in the model comments. You can amend that (provided you keep the right format) or you can delete it completely.
Replace with terrain .ms3d
This replaces the vertex height information with an ms3d file. Like all the read backs it must match the expected file size. Model comments are read back if present but if the format is not correct this will crash. Best to remove the model comment COMPLETELY.
Amend Terrain in 2D window
This checks to see if a world file is already held in memory. It displays the height and location of the vertex in the 2d window. You then can drag and select vertexes and set them to specific heights or add a height increment (ie move them up/down x metres). It allows very precise changes and you can view the world file at the same time. It also allows you to set the vertex merge values.
You need to press OK at the end to save the change.
Resize world terrain
This asks for a number of parameters.
You can set the number of vertexes in each direction (most .world settlements are square but tech trees are often rectangular).
There is then a flag to decide whether to apply any default merge values. If you set this to on then the default merge values will be generated based on the 4 entries. These 4 entries identify the distance in vertices from that edge over which to generate merge values moving from 0.0 to 1.0.
You should also always resize the worldvegetation file or the game will crash. There is no need to resize the world pathfinding but its probably best to.
OK that’s all there is to it.
So a few tips we find useful
Create the right size world terrain, pathfinding and vegetation first.
We prefer editing generally via the TGA’s. So copy in a general TGA merge alpha and also a standard landscape merge if needed (not needed for tech trees).
TGA blur effects can quickly smooth off terrain if that’s what's needed once basic heights are set.
For fine tuning we use the amend terrain in 2D window
It’s a good idea to think of the placement of settlement shapes from the .world in relation to the vertex positions of the world terrain.
You cannot join reflective planes to other water a gap needs to be maintained eg of approx 8m. If you try it the reflective planes will disappear.
Link to IWTE tool thread :
]]> http://www.twcenter....ad.php?t=323503 ]]>
Сообщение отредактировал Master_TW_DAR: 27 Июль 2014 - 20:22
Мододел
Отправлено 01 Июль 2014 - 15:00
Сообщение отредактировал Master_TW_DAR: 01 Июль 2014 - 15:38
Куренной Атаман
Отправлено 15 Август 2014 - 01:46
Сообщение отредактировал Delabras: 15 Август 2014 - 02:10
Куренной Атаман
Отправлено 03 Сентябрь 2014 - 10:59
Куренной Атаман
Отправлено 22 Сентябрь 2014 - 13:54
Сообщение отредактировал Delabras: 22 Сентябрь 2014 - 13:56
Мододел
Отправлено 11 Январь 2015 - 01:17
поглядел на досуге видосы ...Видеоурок по созданию более сложного дома: ]]> https://yadi.sk/d/v-PkKOvsavLCp ]]>
Козак
Отправлено 12 Январь 2015 - 14:36
в самой милке объекты можно оставлять без текстур, загружая их однако в игру, они все должны иметь хоть какую-то текстуру.Delabras,
поглядел на досуге видосы ...
Такой вопрос: зачем автор при совмещении разных объектов (здание двухэтажное + пристройка , пристройка + лестница) оставляет текстуры на первоначальных объектах, которым присоединяет новые ?
А именно там, где часть объекта не будет никем видима ... То есть кусок текстуры закрыт геометрией и текстурой другого объекта )) Для чего эти лишние куски подгружаться будут ?? )
А так неплохое ознакомление по работе в Милке, спасибо за видео
- 0
Мододел
Отправлено 02 Февраль 2015 - 16:45
0 пользователей, 2 гостей, 0 анонимных
Total War: WARHAMMER
Мы ждали, мы верили. И наша вера была вознаграждена! Анонс Total War: WARHAMMER состоялся! Скептики были посрамлены, а вахоманы возликовали! Но разработчики на форумах успели уже рассказать немало подробностей. Во первых стало известно? что это будет не одна игра, а трилогия сдобренная целым сомном аддонов и дополнительного платного и бесплатного контента. Во-вторых фракций будет только четыре (Империя Сигмара, Зеленокожие, Гномы и Графы-Вампиры) но обещают сделать их максимально проработанными, богатыми на юниты и реально отличающимися друг от друга по геймплею. В третьих - главы фракций теперь не просто генералы которых не жалко потерять в бою. Теперь это Легендарные Лорды (Карл Франц, Гримгор, Торгрим и Маннфрэд фон Карштайн), герои со уникальным оружием, верховым животным, шмотками и набором квестов. Еще обещают такие новинки как летающие юниты, магию, танки, пушки и мущкеты... в общем вкуснятинка! В общем ждем больше информации и надеемся, что игра станет прорывом в серии.
Ну а апологетам историчности спешим успокоить - над Вархаммер трудится отдельная команда. Исторические игры Тотал Вар производство фэнтэзийной игры не тормозит.
Подробней о Total War: WARHAMMER
Total War: Attila
Анонс Total War: Attila с одной стороны немало удивил нас, а с другой еще раз доказал, что СА идет проторенной дорожкой. Ведь Аттила по сути это сиквэл аддона "Вторжение варваров" для Рима 1. Правда на этот раз они не стали скромничать и назвали его "новой игрой". Ок, мы не будем спорить. Отдельная игра про нашествие варварских племен на цивилизации античного мира - это прекрасно. Нужно отметиьт что разработчики действительно поработали на славу. По мнению большинства игроков, Аттила действительно оказался достойным продуктом, позволившим окунутся в мрачные эпохи.
Подробней о Total War: Attila Часть 1 и Часть 2
Total War: Rome 2
Анонс Rome II Total War состоялся 2 июля и это вызвало настоящую бурю восторга нашего сообщества! Настолько люди истосковались по рукопашному бою и легионерам, что анонс сиквела восприняли как настоящее чудо и "сбычу мечт". Снова вести в бой скованные железной дисциплиной легионы, непоколебимых греческих гоплитов и македонских сариссофоров, топтать врагов слонами и забрасывать отрубленными головами - это ли не счастье! Но ведь новые игры Total War это еще и морские баталии. И тут уж будет море фана, ведь разработчики обещают активное взаимодействие между сухопутными и военно-морскими силами. Обоюдный обстрел между береговыми укреплениями и боевыми кораблями на рейде даст новую степень свободы "стратегосам" античного мира.
Подробней о Total War: Rome II
Community Forum Software by IP.Board
Лицензия зарегистрирована на: СiЧь Total WarS
Игровые автоматы с выводом денег на карту