Aller au contenu

Photo

request: Large invisible objects


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
DM_Vecna

DM_Vecna
  • Members
  • 280 messages
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! 

#2
Zwerkules

Zwerkules
  • Members
  • 1 322 messages
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 .


#3
420

420
  • Members
  • 190 messages
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 .