Have decals been added to the game?

ShrimmShrimm Join Date: 2012-10-05 Member: 161652Members
edited December 2012 in NS2 General Discussion
<div class="IPBDescription">Snowballs seem to have them</div><a href="http://i.imgur.com/YwW7j.jpg" target="_blank">http://i.imgur.com/YwW7j.jpg</a>

Is this just a coding trick that wouldn't work on a large scale? or are decals coming soon?

Comments

  • SixtyWattManSixtyWattMan Join Date: 2004-09-05 Member: 31404Members
    I immediately noticed this. I am also curious.
  • VolcanoVolcano Join Date: 2011-07-27 Member: 112496Members, Constellation
    It's just a jizz stain don't worry about it
  • rantologyrantology Join Date: 2012-02-05 Member: 143750Members, NS2 Developer, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Gold
    gorge spit has had stuff like that for a while..
  • FehaFeha Join Date: 2006-11-16 Member: 58633Members
    edited December 2012
    Decals has been in since the infestation got implemented iirc.
    At least the devs said they had implemented a form of decal system for the WIP-infestation back then.

    But yes there is decals now, and you create them like this:
    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->self.decal= Client.CreateRenderDecal()
    self.decal:SetMaterial(decalMaterialPath)
    self.decal:SetExtents(Vector(xSize,ySize,zSize))
    self.decal:SetCoords(self:GetCoords())<!--c2--></div><!--ec2-->

    They will automaticlly use their Coords negative z axis as a direction to find a surface to paint themself on.
    This means they ought to work on surfaces on a different angle than them as well, have not tested though.
    They wont work for painting without having an actual surface behind though... :(
  • Racer1Racer1 Join Date: 2002-11-22 Member: 9615Members
    Forgive my ignorance, but why would you want to show a decal without having a surface behind it?
  • FehaFeha Join Date: 2006-11-16 Member: 58633Members
    If you want it hanging midair, like a secret passage.
    Or in my case grasping for brambles on how to display a texture at any position with any extents i want, witho having a model
  • PodPod Join Date: 2002-11-03 Member: 5745Members
    <!--quoteo(post=2048050:date=Dec 19 2012, 03:02 PM:name=Racer1)--><div class='quotetop'>QUOTE (Racer1 @ Dec 19 2012, 03:02 PM) <a href="index.php?act=findpost&pid=2048050"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Forgive my ignorance, but why would you want to show a decal without having a surface behind it?<!--QuoteEnd--></div><!--QuoteEEnd-->

    Maybe for holograms or other forms of projection?
Sign In or Register to comment.