Prevent Offchamber And Turrets To Fire Trough Door

Lt_GravityLt_Gravity Join Date: 2003-04-28 Member: 15909Members
I came about an bug when I playtested ns_source_b34 the first time directly after the succesful compile:

offense chamber and turrets shot at players if they come in range although a CLOSED door is in between.
is it a common problem or is it somethingthat "broke"?
is there any way to fx it? maybe the "entities block vis" flag within the compile tools?

Comments

  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    edited June 2005
    Turret's dont shoot at player's behind closed doors on my map, I know for sure because iv'e been a gorge and built OC's behind a door and they would only shoot when I opened the door.
    Marine turrets seem to be fine also as I would be a gorge behind the door, open it, Bile bomb, Close it when low on health and here the turrets stop shooting.

    It must be uniquie problem caused by either odd door size or unique configuration/layout of geometry surrounding the door.
  • CrispyCrispy Jaded GD Join Date: 2004-08-22 Member: 30793Members, Constellation
    Is it one of your doors that has a ramp after it?

    Perhaps the vertical discrepancy has something to do with the problem. If the turret/oc is on the upper end of the ramp (as is the door) and someone approaches from the lower end (but still the other side of the closed door), maybe the turret somehow sees through. Just a hunch and I know nothing about coding at all.

    To test maybe move the ramp back a bit and see if it changes?
  • Lt_GravityLt_Gravity Join Date: 2003-04-28 Member: 15909Members
    it happens on all doors in the map. you have a point crispy.
    maybe I should get rit of the remaining leaf errors. but Im not shure if this would solve the problem.
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    i have seen ocs and turrets firing through many types of entities on all sorts of maps. also on some entities, if the turret can see you on the other side (glass for example) they will swing over and target you, but wont fire. they will just sit there and bob up and down.

    the fact that entities dont block vis is probably the reason they can "see" the player on the other side of the door, there probably isnt a fix by doing something to the map, its probably a code bug that needs to be addressed.
  • BulletHeadBulletHead Join Date: 2004-07-22 Member: 30049Members
    Giga is halfway there

    Fixing those Leaf errors will help though <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    yea leaf errors are never a good thing.
  • Lt_GravityLt_Gravity Join Date: 2003-04-28 Member: 15909Members
    ok I can try it at least. but Im not shure if this is the problem.
    but nobody mentioned it during test games. there is something going on here <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo-->
Sign In or Register to comment.