Results 1 to 3 of 3

Thread: How to change walls between cultures

  1. #1
    Remlap's Avatar Lag Slayer
    Join Date
    Jul 2008
    Location
    Florida
    Posts
    5,564

    Default How to change walls between cultures

    I posted this for someone else in a help thread and I will post it here for good measure. I am showing how to edit the Eastern Culture to use the Roman walls.

    This is contained within the descr_walls.txt

    Ok, well first you need to find the code for the walls of the eastern faction.
    Spoiler Alert, click show to read: 
    wall
    {
    culture egyptian
    level 0 ; 2
    siege_tower_size small
    straight
    {
    egyptian_town_wall_straight
    breach_inner_link 0 10
    breach_outer_link 0 -10
    breach_width 10
    }
    internal_corner_link
    {
    egyptian_town_wall_internal_corner
    }
    external_corner_link
    {
    egyptian_town_wall_external_corner
    }
    straight_link
    {
    egyptian_town_wall_joiner_straight
    }
    diagonal_link
    {
    egyptian_town_wall_joiner_diagonal
    }
    internal_left_link
    {
    egyptian_town_wall_joiner_internal_left
    }
    internal_right_link
    {
    egyptian_town_wall_joiner_internal_right
    }
    external_left_link
    {
    egyptian_town_wall_joiner_external_left
    }
    external_right_link
    {
    egyptian_town_wall_joiner_external_right
    }
    gateway
    {
    offset_xz 0 -1.5
    egyptian_town_gateway
    medium_wooden
    medium_reinforced
    medium_iron
    }
    tower_straight
    {
    egyptian_town_wall_watchtower
    reload_ticks_arrow 5
    reload_ticks_ballista 10
    }
    tower_internal_corner_link
    {
    egyptian_town_internal_corner_watchtower
    reload_ticks_arrow 5
    reload_ticks_ballista 10
    }
    tower_external_corner_link
    {
    egyptian_town_external_corner_watchtower
    reload_ticks_arrow 5
    reload_ticks_ballista 10
    }
    }

    I highlighted the most important part. Your going to copy egyptian and then delete it and replace it with any.

    Now we go to the roman walls
    Spoiler Alert, click show to read: 
    wall
    {
    culture any ; roman
    level 0 ; 4
    siege_tower_size small
    straight
    {
    roman_town_wall_straight
    breach_inner_link 0.4 14
    breach_outer_link 0.4 -14
    breach_width 10
    }
    internal_corner_link
    {
    roman_town_wall_internal_corner
    }
    external_corner_link
    {
    roman_town_wall_external_corner
    }
    straight_link
    {
    roman_town_wall_joiner_straight
    }
    diagonal_link
    {
    roman_town_wall_joiner_diagonal
    }
    internal_left_link
    {
    roman_town_wall_joiner_internal_left
    }
    internal_right_link
    {
    roman_town_wall_joiner_internal_right
    }
    external_left_link
    {
    roman_town_wall_joiner_external_left
    }
    external_right_link
    {
    roman_town_wall_joiner_external_right
    }
    gateway
    {
    offset_xz 0 -1.5
    roman_town_gateway
    medium_wooden
    medium_reinforced
    medium_iron
    }
    tower_straight
    {
    roman_town_wall_watchtower
    reload_ticks_arrow 5
    reload_ticks_ballista 10
    }
    tower_internal_corner_link
    {
    roman_town_internal_corner_watchtower
    reload_ticks_arrow 5
    reload_ticks_ballista 10
    }
    tower_external_corner_link
    {
    roman_town_external_corner_watchtower
    reload_ticks_arrow 5
    reload_ticks_ballista 10
    }
    }


    this is how it will look now what you need to do is add egyptian to the culture line after the romans, and then put the any after egyptian. So it will become:

    Spoiler Alert, click show to read: 
    wall
    {
    culture roman egyptian any ;
    level 0 ; 4
    siege_tower_size small
    straight
    {
    roman_town_wall_straight
    breach_inner_link 0.4 14
    breach_outer_link 0.4 -14
    breach_width 10
    }
    internal_corner_link
    {
    roman_town_wall_internal_corner
    }
    external_corner_link
    {
    roman_town_wall_external_corner
    }
    straight_link
    {
    roman_town_wall_joiner_straight
    }
    diagonal_link
    {
    roman_town_wall_joiner_diagonal
    }
    internal_left_link
    {
    roman_town_wall_joiner_internal_left
    }
    internal_right_link
    {
    roman_town_wall_joiner_internal_right
    }
    external_left_link
    {
    roman_town_wall_joiner_external_left
    }
    external_right_link
    {
    roman_town_wall_joiner_external_right
    }
    gateway
    {
    offset_xz 0 -1.5
    roman_town_gateway
    medium_wooden
    medium_reinforced
    medium_iron
    }
    tower_straight
    {
    roman_town_wall_watchtower
    reload_ticks_arrow 5
    reload_ticks_ballista 10
    }
    tower_internal_corner_link
    {
    roman_town_internal_corner_watchtower
    reload_ticks_arrow 5
    reload_ticks_ballista 10
    }
    tower_external_corner_link
    {
    roman_town_external_corner_watchtower
    reload_ticks_arrow 5
    reload_ticks_ballista 10
    }
    }


    I highlighted the change. Now you will have to do this for every level of wall which is a bit time consuming but it will achieve the desired end result
    Hope this helped,
    ~Remlap

    FIXED
    Last edited by Remlap; September 27, 2010 at 06:19 PM.

  2. #2
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,760
    Blog Entries
    3

    Default Re: How to change walls between cultures

    Actually this doesn't do anything. The roman (and egyptian) bits are both commented out (see the ';') the only way to force egyptian to use that one would be to remove or comment out the egyptian entry.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  3. #3
    Remlap's Avatar Lag Slayer
    Join Date
    Jul 2008
    Location
    Florida
    Posts
    5,564

    Default Re: How to change walls between cultures

    thats weird it worked for me.

    ; uses a direct match if there is one, otherwise uses the highest level no larger than the selected one that matches the culture.

    Thats the entry in the file about it. Perhaps I am understanding it wrong.

    EDIT: Sorry Your 100% correct thanks for pointing it out to me.
    Last edited by Remlap; September 27, 2010 at 05:42 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •