max number of skyboxes and ground types?

Users who are viewing this thread

Cool, thanks :smile: Can't figure out how to download it though :razz:

If anyone has info about the ground types, plase reply.
 
You can just replace ground textures, not add new ones. Same goes for skyboxes. The files that you would have to edit are not in the mod's folder, so changes would apply to every mod.
For skyboxes there's a workaround, though. You could place a scene prop of a skybox which is a little bit smaller than the other one in your scene and change it according to weather via replace_scene_prop.
 
Thanks Alixyang.

I'll paste your post about the skyboxes here (for convenience), if you don't mind.
Alixyang said:
Hey Zaro,  there is a way to add more skyboxes in the M&B, also adjust the enviroment light strenth, color,  and shadow direction.

Here is the detail steppes to get unlimited colorful sky :  (the post below is half in English and half in Chinese, but i think you can understand it)
http://bbs.mountblade.com.cn/viewthread.php?tid=36944

you need to modify the Texture\skybox.brf
but the limit of skybox is in the DATA\skyboxes.txt
the old original tech post is here by Yoshiboy:http://mbx.streetofeyes.com/index.php?topic=143.msg17596

the means of those data:
skybox mesh                                材质名
skybox flags                                  标志位(整数)
sun_bearing (1 float)                    日光朝向(1个浮点数)
sun_elevation (1 float)                  日光高度(1个浮点数)
sun flare strength (1 float)            日光耀眼程度(1个浮点数)
sun_color (3 floats)                      日光颜色(3个浮点数)
sky_color, (3 floats) (not used)      天空颜色...(无用)(3个浮点数)
ambient_color,(3 floats)                空气颜色(3个浮点数)
fog distance, (1 float)                    视距(1个浮点数)
fog color, (1 integer)                    视距边缘颜色(整数)

Skybox flags are as follows:
  sf_day          = 0x00000000,      白天
  sf_dawn        = 0x00000001,    黄昏
  sf_night        = 0x00000002,      晚上
  sf_time_mask    = 0x00000003,  时间遮罩

  sf_cloud_mask  = 0x000000f0,  云遮罩
  sf_cloud_bits  = 4,                    云
but the flags looked not finished......  we asked Amargan and waiting for the replies......

here are some examples:
the cloudy moon night in snowland
skybox_night_1 18 152.000000 38.000000 0.000000 
0.060000 0.074118 0.095294  0.000000 0.000000 0.000000  0.015686 0.015686 0.047059  500.000000 4279574581
but it looks a little too bright.
mount%26blade%202008-08-12%2007-15-28-35.jpg


the dusk in snowland
skybox_sunset_3 17 170.000000 18.000000 0.700000 
0.922000 0.428500 0.158000  0.000000 0.000000 0.000000  0.050196 0.073725 0.139608  300.000000 4287406765
the color is too red  ---- you can see the strenth and color is very important
mount%26blade%202008-08-12%2007-17-19-43.jpg


and you may erase the origenal sun,  left the place to the new one by system
skybox_clear 64 95.000000 78.000000 0.900000 
1.122000 1.028500 0.918000  0.000000 0.000000 0.000000  0.050196 0.073725 0.039608  500.000000 4287406765
mount%26blade%202008-08-12%2007-25-51-21.jpg

I guess the day/night cycle is hardcoded, don't know of any workaround.
 
Back
Top Bottom