Author Topic: TNO Drawbridge Tiles  (Read 676 times)

Legacy_AndarianTD

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +0/-0
TNO Drawbridge Tiles
« on: October 24, 2010, 04:24:52 am »


               Does anyone know if the drawbridge tiles in TNO work, and if so how? I'm trying them out but don't seem to be able to figure out how to place them.

Thanks -- Andarian
               
               

               
            

Legacy__six

  • Hero Member
  • *****
  • Posts: 1436
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #1 on: October 24, 2010, 04:31:12 am »


               They are a bit of a pain. You generally have to paint a line of Sea Cliffs or Water, a stretch of Castle Low and a stretch of City in tile-thin rows before getting them to place.

You should also note that the version marked "Passage" has a walkable passageway, whilst the other version has a walkable roof but requires you to set up a door transition through the tunnel.
               
               

               


                     Modifié par _six, 24 octobre 2010 - 03:32 .
                     
                  


            

Legacy_AndarianTD

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #2 on: October 24, 2010, 05:01:09 am »


               That did it -- thanks!
               
               

               
            

Legacy_AndarianTD

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #3 on: October 24, 2010, 06:11:15 am »


               Hm... It looks like the drawbridges have an unfortunate tendency to fade to invisibility. Has anyone else noticed this?
               
               

               
            

Legacy_ThriKreen

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #4 on: October 24, 2010, 08:17:09 am »


               "Works as designed" unfortunately, due to position and the line of sight in relation to the player and camera.
               
               

               
            

Legacy_OldMansBeard

  • Full Member
  • ***
  • Posts: 245
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #5 on: October 24, 2010, 09:19:25 am »


               I did find a possible work-around for this problem, although I never really tested it properly. The trick is to set the alpha on all the visible door meshes to something stupidly large like 100.0

What seems to happen when the engine tries to fade a door, is that it *multiplies* all the alphas by something like 0.1 which normally is the right thing to do. But by setting it to 100, when the fading multiples by 0.1 it gets 10 or so, which is still >1 and therefore still completely visible.

Worth a try, but can't promise it works in this case.

OMB
               
               

               
            

Legacy_Guest_Chrysoli_*

  • Jr. Member
  • **
  • Posts: 53
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #6 on: October 26, 2010, 10:54:36 pm »


               This was a placeable solution, but the alpha-altering solution is so much simplier, so I've removed the original links and content of this post.
               
               

               


                     Modifié par Chrysoli, 27 octobre 2010 - 04:06 .
                     
                  


            

Legacy__six

  • Hero Member
  • *****
  • Posts: 1436
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #7 on: October 27, 2010, 09:15:07 am »


               

OldMansBeard wrote...

What seems to happen when the engine tries to fade a door, is that it *multiplies* all the alphas by something like 0.1 which normally is the right thing to do. But by setting it to 100, when the fading multiples by 0.1 it gets 10 or so, which is still >1 and therefore still completely visible.


After a play about I can confirm that this works. It also has other beneficial side effects for the drawbridge itself, as it's still unclickable whist walking over it (which is kinda necessary when you think about it). OMB, you strike again.
               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #8 on: October 27, 2010, 11:17:01 am »


               _Six, we should put this fix in Q 1.4.
               
               

               
            

Legacy_AndarianTD

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #9 on: October 27, 2010, 12:02:48 pm »


               I was just about to give up using the drawbridge, so this sounds great -- thanks! Six, do you mind if I use your workaround in Sanctum 3? If you're OK with that, I'll PM you about getting the needed components. '<img'>
               
               

               


                     Modifié par AndarianTD, 27 octobre 2010 - 11:03 .
                     
                  


            

Legacy_Guest_Chrysoli_*

  • Jr. Member
  • **
  • Posts: 53
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #10 on: October 27, 2010, 05:02:45 pm »


               I also checked and setting the alpha to 100.0 does indeed stop the fading. That's so much simpler and easier then the work-around I have been using. I adjusted the tno and tcn (gibro's) drawbridge doors and both work great. Culling my previous post on how I was using placeables, as it's no longer needed.
               
               

               


                     Modifié par Chrysoli, 27 octobre 2010 - 04:04 .
                     
                  


            

Legacy__six

  • Hero Member
  • *****
  • Posts: 1436
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #11 on: October 28, 2010, 01:59:06 am »


               

AndarianTD wrote...

I was just about to give up using the drawbridge, so this sounds great -- thanks! Six, do you mind if I use your workaround in Sanctum 3? If you're OK with that, I'll PM you about getting the needed components. '<img'>

Heh, I was under the impression you were using Project Q - we'll be bunging the fix for the doors in the next update (which will be less than a year away this time) '<img'> However it's a fairly simple edit anyone can do themselves really - just do a search/replace for the line "alpha 1.0" in the model with "alpha 100" in notepad or similar.
               
               

               
            

Legacy_AndarianTD

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #12 on: October 28, 2010, 03:33:50 am »


               

_six wrote...

Heh, I was under the impression you were using Project Q - we'll be bunging the fix for the doors in the next update (which will be less than a year away this time) '<img'> However it's a fairly simple edit anyone can do themselves really - just do a search/replace for the line "alpha 1.0" in the model with "alpha 100" in notepad or similar.


Oh, I definitely am using Project Q. But I'm building and testing the areas that would use those drawbridges right now, and I didn't expect you to be able to get a new Q update out right away. However, with your feedback above I'm pretty sure I can hack the fix myself now. '<img'>
               
               

               
            

Legacy_AndarianTD

  • Hero Member
  • *****
  • Posts: 725
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #13 on: November 11, 2010, 03:53:30 pm »


               

_six wrote...

However it's a fairly simple edit anyone can do themselves really - just do a search/replace for the line "alpha 1.0" in the model with "alpha 100" in notepad or similar.


Just confirming which model this is...

EDIT: OK, got it. It's tn_sdoor_18.mdl. The fix works like a charm. Thanks!
               
               

               


                     Modifié par AndarianTD, 11 novembre 2010 - 04:04 .
                     
                  


            

Legacy_CalSailX

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +0/-0
TNO Drawbridge Tiles
« Reply #14 on: November 11, 2010, 07:44:56 pm »


               Nice little jewel that OMB tossed our way,  without the drawbridge fix I don't think I would have used this tile....  thank you  OMB and _six