Author Topic: Question on static placeables  (Read 354 times)

Legacy_Beccarte

  • Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Question on static placeables
« on: July 14, 2014, 02:11:29 am »


               

  I am attempting to make a quest where the players must travel to this field area, find a large beehive, enter it, and kill the queen bee. (Thanks Carcerian for the Bee Caves and placeables.) I don't want the beehive to appear before the quest is accepted. I have successfully created the beehive object via scripts where I need it to be. However, we use the no-fog option in nwshader and it looks extremely odd to have the giant beehive suddenly appear from nothing in front of you when you get close. I solved this by making the beehive a static object. However, my script that creates the beehive does not preserve the "static" flag, causing it to appear from nothing again even if the template is flagged as "static."


 


  I am aware of the weirdness that can occur when static placeables are altered with a PC already in the area, so I have made sure it is impossible for a player to be in the area when the quest is accepted. All I need is a way to preserve the "static" flag during object creation or a script function that can set the "static" flag. Thanks!



               
               

               
            

Legacy_MannyJabrielle

  • Sr. Member
  • ****
  • Posts: 275
  • Karma: +0/-0
Question on static placeables
« Reply #1 on: July 14, 2014, 03:12:52 am »


               

Is the quest to actually "find the hive", or could it be rephrased or adjusted to "find a way into the hive"?


I'm wondering because the way you explained it, the PC goes inside (use of the beehive tileset), so unless the beehive is mostly under ground, it would seem to me something that massive is going to be seen far away...


 


If your placeable object is a large one, you could have it set in place as static, but have the PC find a crack or opening into it, and simulate that via a script which places in a clickable placeable object, similar to how secret doors work in general.  Or even have the "entrance" as a clickable invisible object placed next to a logical opening part of the main hive placeable.



               
               

               
            

Legacy_Beccarte

  • Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Question on static placeables
« Reply #2 on: July 14, 2014, 03:16:47 am »


               

Thanks for the reply. Hmm, I was planning on having the hive be absent from the area and then appear only later. Your solution would be fine if I settle for having the hive as a permanent object that is there all the time. Do you know, then, whether there is no way to create an object with the "static" flag set?



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Question on static placeables
« Reply #3 on: July 14, 2014, 03:38:37 am »


               


Thanks for the reply. Hmm, I was planning on having the hive be absent from the area and then appear only later. Your solution would be fine if I settle for having the hive as a permanent object that is there all the time. Do you know, then, whether there is no way to create an object with the "static" flag set?




two placeable versions one with and one without...


or spawn invisible placeable exactly on the spot of the beehive so it will appear as usable