Author Topic: request: Large invisible objects  (Read 357 times)

Legacy_DM_Vecna

  • Hero Member
  • *****
  • Posts: 501
  • Karma: +0/-0
request: Large invisible objects
« on: November 09, 2010, 04:41:05 am »


               I am wondering if anyone will make the following custom placeables.

- Large invisible object that is narrow like a beam but about 4 tiles long
- Narrow invisible object one tile long.

Maybe others have a need for this.

I would use them to block off areas.

Thanks! 
               
               

               
            

Legacy_Zwerkules

  • Hero Member
  • *****
  • Posts: 1997
  • Karma: +0/-0
request: Large invisible objects
« Reply #1 on: November 09, 2010, 03:26:40 pm »


               Just wondering: Why would you block off areas with invisible objects instead of something visible? There'll be no obvious reason why an area is inaccessible. I need to block off some outdoor areas because of a few terrain types that leave some gaps between them, but I'll make tree groups with thick undergrowth between them. Maybe you have use for them. They'll only be one tile wide though. Wasn't there something about not placing stuff across the borders of tiles anyway?
               
               

               


                     Modifié par Zwerkules, 09 novembre 2010 - 03:27 .
                     
                  


            

Legacy_420

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
request: Large invisible objects
« Reply #2 on: November 09, 2010, 11:48:36 pm »


               Couple solutions that don't require creating new models.

The 1.69 patch added a miscellaneous placeable called "Invisible Wall (blocks movement, visible for easy placement until initial state is set to "Deactivated")." It's exactly 1/4 of a tile in size.

The option I use is to pick a placeable of a similar size, like the Rural Fence from Trades & Academics & Farm and put this in the OnHeartbeat:

void main()
{
int iDoOnce = GetLocalInt(OBJECT_SELF, "DoOnce");
if(iDoOnce != 1)
    {
    SetLocalInt(OBJECT_SELF, "DoOnce", 1);
    ApplyEffectToObject(DURATION_TYPE_PERMANENT, SupernaturalEffect(EffectVisualEffect(VFX_DUR_CUTSCENE_INVISIBILITY)), OBJECT_SELF);
    }
}

-420
               
               

               


                     Modifié par 420, 09 novembre 2010 - 11:48 .