How do I add a new terrain to the campaign map?

正在查看此主题的用户

leandrojas_

Squire
Hello!
I have a question:
How do I add a new battle scene?
More specifically a scene where he fights on the coast.
I ask this because I have a map on the Mediterranean (from Britain to India) and I think that besides the battles naval battles on the coast are important.
So I ask you how to add a new terrain to map the game and how to add a scene corresponding to that terrain?

Thanks!




P/D:My English is terrible, sorry for that
 
There are a couple of unused values in header_terrain_types - once you figure out which ones are traversable, etc open up module_scripts and add code similar to this. Check the entire script to see if the terrain type already has a defined scene - if so modify that scene entry instead.
插入代码块:
  (else_try),
      (eq, ":terrain_type", rt_bridge),
      (assign, ":scene_to_use", "scn_random_scene_plain"),
 
also this thread might be useful

http://forums.taleworlds.com/index.php/topic,55831.msg1445321.html#msg1445321
 
Somebody 说:
There are a couple of unused values in header_terrain_types - once you figure out which ones are traversable, etc open up module_scripts and add code similar to this. Check the entire script to see if the terrain type already has a defined scene - if so modify that scene entry instead.
插入代码块:
  (else_try),
      (eq, ":terrain_type", rt_bridge),
      (assign, ":scene_to_use", "scn_random_scene_plain"),


Something like this (the Jai link's) is what you tell me that I find it?
("setup_random_scene",
    [
      (party_get_current_terrain, ":terrain_type", "p_main_party"),
      (assign, ":scene_to_use", "scn_random_scene"),
      (try_begin),
        (eq, ":terrain_type", rt_steppe),
        (assign, ":scene_to_use", "scn_random_scene_steppe"),
      (else_try),
        (eq, ":terrain_type", rt_plain),
        (assign, ":scene_to_use", "scn_random_scene_plain"),
      (else_try),
        (eq, ":terrain_type", rt_snow),
        (assign, ":scene_to_use", "scn_random_scene_snow"),
      (else_try),
        (eq, ":terrain_type", rt_desert),
        (assign, ":scene_to_use", "scn_random_scene_desert"),
      (else_try),
        (eq, ":terrain_type", rt_steppe_forest),
        (assign, ":scene_to_use", "scn_random_scene_steppe_forest"),
      (else_try),
      (eq, ":terrain_type", rt_forest),
      (store_random_in_range, ":random_no", 0, 100),
        (lt, ":random_no", 5),        (assign, ":scene_to_use", "scn_customforest"),
      (this_or_next|assign, ":scene_to_use", "scn_customforest2"),
      (else_try),
        (eq, ":terrain_type", rt_snow_forest),
        (assign, ":scene_to_use", "scn_random_scene_snow_forest"),
      (else_try),
        (eq, ":terrain_type", rt_desert_forest),
        (assign, ":scene_to_use", "scn_random_scene_desert_forest"),
      (try_end),
      (jump_to_scene,":scene_to_use"),
  ]),




But as I make the calling map.txt texture from "...module / mymod / textures"

?

 
后退
顶部 底部