Jump to content
The Dark Mod Forums

Cobwebs that move:


Bikerdude

Recommended Posts

Define "gently move".

 

A script could control the visibility of one of a set of cobwebs, each in a slightly different position. Only one is visible at a time, the others hidden. As each is progressively shown and the remaining hidden, the cobweb would appear to be moving around.

 

If you just want to rotate it or translate it, that would be a simpler solution.

Link to comment
Share on other sites

If you want the web to "bow" and keep its corners fixed, you'd need a set of webs, each portraying a different amount of bow.

 

1 - hide all the webs and show web N
2 - a fraction of a second later, show N+1 and hide N
3 - keep doing this until you run out of webs, then start over again

 

If you just want to move the web around, rather than having a set of webs in different places, you could alter a single web's origin.

 

1 - Start with the web at origin A.
2 - A fraction of a second later, change its origin to B.
3 - Keep changing the origin until you run out of origins, then start over from A.

 

In both cases, the movement is cyclical, in that it when it returns to the first web or first origin, it's not a distinct jump, but a smooth transition.

Link to comment
Share on other sites

if there are only a few webs to do im going this way:

 

creating the web (normally as an bulky square if they are hanging from the ceiling). Than create a func_pendulum and two func_rotate. bind the func_pendulum on the func_rotate to have a rotating pendulum. Now bind the second func_rotate on the func_pendulum to prevent the web rotating itself. and now binding the web on the second func_rotate. Now you have a "more direction" cobwebpendulum.

It is relative inefficient but looks very well and for a few webs its really ok.

Link to comment
Share on other sites

It is probaby easiest if an animator makes a "bow" animation of a small patch, then you can texture it with cobwebs etc.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw (1856 - 1950)

 

"Remember: If the game lets you do it, it's not cheating." -- Xarax

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...