Page 1 of 2 12 LastLast
Results 1 to 20 of 28

Thread: Settlement line of sight

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Settlement line of sight

    Curious if anyone's found out whether we can increase this. My map is huge and I would've liked for the line of sight to've been bigger...


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  2. #2
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: Settlement line of sight

    This is a good point. I think one of the improvements in Empire, at least from my standpoint, is that you can see all of the region when you own it, as opposed to just a little ways around it. Would be nice to know about this though.

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

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

    Default Re: Settlement line of sight

    You should be able to script it using the reveal_time command, but it would ugly as I can't see a way around having to do it for each settlement for each faction.
    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

  4. #4
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Settlement line of sight

    I had an idea a while back on this when I was working on the AI Sight Bonus script but I dont think I ever mentioned it. Maybe one of you modelers can work this out.

    Placing watchtowers all over the place gives you great line of sight, but looks like crap. Can you make them transparent? If you placed them on impassable land types, the AI wouldnt try to take over them.

  5. #5
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Settlement line of sight

    Quote Originally Posted by GrnEyedDvl View Post
    Placing watchtowers all over the place gives you great line of sight, but looks like crap. Can you make them transparent? If you placed them on impassable land types, the AI wouldnt try to take over them.
    Hmmm...can strat map models utilise an alpha map?

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  6. #6
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Settlement line of sight

    Asking the wrong guy

  7. #7
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Settlement line of sight

    Wow, that's a GREAT idea. And I don't see why alpha channels can't be used either. In fact that's how mods create strat-map generals holding round shields. The shield they're holding is square, with the corners being alphaed out.

    The only problem I see is faction-ownership-- whom should the watchtowers belong to?


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  8. #8
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Settlement line of sight

    Quote Originally Posted by SigniferOne View Post
    Wow, that's a GREAT idea. And I don't see why alpha channels can't be used either. In fact that's how mods create strat-map generals holding round shields. The shield they're holding is square, with the corners being alphaed out.
    Like I said had that idea long ago, just never mentioned it.

    The only problem I see is faction-ownership-- whom should the watchtowers belong to?
    Dont they belong to whoever owns the region unless another general is standing on it?

  9. #9
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Settlement line of sight

    Actually you can set watchtowers up in descr_strat.txt so they'll be there at the beginning of the campaign.

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  10. #10
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Settlement line of sight

    Quote Originally Posted by Caesar Clivus View Post
    Actually you can set watchtowers up in descr_strat.txt so they'll be there at the beginning of the campaign.
    This means what, that they belong to everybody and open up the line of sight to all?


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  11. #11
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Settlement line of sight

    Quote Originally Posted by SigniferOne View Post
    This means what, that they belong to everybody and open up the line of sight to all?
    I guess the way this works is that whoever controls the settlement owns its watchtowers' line of sight -- am I right?


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  12. #12
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Settlement line of sight

    Quote Originally Posted by SigniferOne View Post
    I guess the way this works is that whoever controls the settlement owns its watchtowers' line of sight -- am I right?
    I would say yes. I mean when you take over an enemy's settlement in-game, you automatically gain the line of sight of any watchtowers in the region.

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  13. #13
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Settlement line of sight

    There is the symbol.cas (nothing in front or the end of the name) file that uses a transparent skin, so I think it should be possible.










  14. #14
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Settlement line of sight

    I think so.

  15. #15
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Settlement line of sight

    Then I think we found our solution.

    1-pixel-high alphaed watchtower -- here we come!


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  16. #16
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Settlement line of sight

    Quote Originally Posted by SigniferOne View Post
    Then I think we found our solution.

    1-pixel-high alphaed watchtower -- here we come!
    But I guess you'll still have the problem of enemy armies taking them over. Especially those pesky rebels. Is there any way to program the AI not to do that?

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  17. #17
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Settlement line of sight

    Use map_groundtypes to create impassable areas where you place the tower.










  18. #18
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: Settlement line of sight

    Quote Originally Posted by gigantus View Post
    Use map_groundtypes to create impassable areas where you place the tower.
    Ah yes. Which is what GrnEyedDvl said above. Silly me

    SigniferOne I'd be very interested to know how this goes

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  19. #19
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Settlement line of sight

    I'm going to place it on top of my settlements, so enemy generals won't be taking over it.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  20. #20
    GrnEyedDvl's Avatar Liberalism is a Socially Transmitted Disease
    Artifex Technical Staff

    Join Date
    Jan 2007
    Location
    Denver CO
    Posts
    23,851
    Blog Entries
    10

    Default Re: Settlement line of sight

    Quote Originally Posted by SigniferOne View Post
    I'm going to place it on top of my settlements, so enemy generals won't be taking over it.
    That might work too, but if you have some large regions you will need a few extra. Another thing that could be done is use one of the land_types that are not used in vanilla, such as volcanic, and just change the texture for it to look the same as fertile land or even forest. Then you could place a single pixel or set of pixels that are "volcanic" which is impassable but look like the rest of the map. Then place your towers on those.

    I have some info around here someplace on using volcanic and other land types, but I think it must be on my laptop as I cant find it. I have some threads over on the Mod Squad site that I can look for if someone needs them, and there is a bit of info I posted on TWC here. They are pretty easy to figure out.

Page 1 of 2 12 LastLast

Posting Permissions

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