Jump to content

func_shaking


Springheel
 Share

Recommended Posts

Has anyone ever used this entity? The description says:

Shaking object. Starts shaking at map start by default. Triggering entity turns it on and off.

 

 

Does this entity make an actual model shake? Or does it make the whole screen shake like some loud noises do?

 

I'm wondering if it could be used to simulate a really unstable floor by shaking the player's view as they walk.

Link to comment
Share on other sites

Is this http://idtechforums.fuzzylogicinc.com/index.php?topic=365.msg3819;topicseen#msg3819 related to your question?

 

If so, no, it's not possible to make floating ship out of the box. However, with minor game code tweaks, you could do it. Basically you need for an entity that is being bound to the root entity via bind to copy its origin and angles. Then you can make animated (as func_animated) model of the ship and a collisions hull for it. Collision hull would be func_mover and you can bind it to the func_animated. Player's code works with func_mover (collisions) and func_mover will "float" with animation of func_animated.

Link to comment
Share on other sites

This isn't necessarily related to a ship. It's about making the player feel like they're shaking or bobbing by moving only the camera, not any geometry.

Link to comment
Share on other sites

Still not possible. The way camera shakes currently is by playing sound shader with shake key (https://www.iddevnet.com/doom3/sounds.php). You could try making sound with sine waveform, and cranking down its volume in the sound shader, and using looping/shaking keys, but I am not quite sure if such hack will work or produce shaking of the cam.

Link to comment
Share on other sites

func_shaking makes an entity wobble, either a model or an fs created in DR. I don't think it could make the camera bob during normal play.

 

It'd be possible to script moving the player (and therefore the eye camera) around, but it probably won't work if the player has to move around normally at the same time. The wobble script would probably get the player stuck in the surrounding geometry.

Link to comment
Share on other sites

Collision hull would be func_mover and you can bind it to the func_animated.

 

 

Would the same principle work if you bound a func_mover to a func_pendulum or func_bobbing?

Link to comment
Share on other sites

I did a quick test binding a simple func_mover to a model that was bound to a func_bobbing entity, and the results are promising. The player moved correctly with it, and movables did too--at least until you stacked two movables on top of each other--then the bobbing was interrupted. That was to be expected, though, since the same thing happens to elevators and doors.

Link to comment
Share on other sites

Are you sure about that? Keys bound to AI rotate correctly as the AI moves, for example.

 

Maybe you guys already had it fixed in TDM. I recall we didn't have it working right and had to fix it in the Storm Engine. Or maybe it worked fine with entity>bone, but didn't work with entity>entity binding. I don't recall by now.

Edited by motorsep
Link to comment
Share on other sites

Doors attached to a func_bobbing seem to work properly, but oddly their sounds are extremely muted--so muted you can't hear anything but the loudest noises.

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.

 Share

  • Recent Status Updates

    • STiFU

      Anyone here played Inscryption? At first, I was like "no, I am not going to play a stupid card game", but this game is so much more than that. It is so meta, full of 4th wall breaks, and feels so damn spooky and weird because of it. Absolutely recommended, if you can stand the visuals. I recommend not reading up too much on it, as that could easily spoil half the incredible surprises. Just know that what you see in the beginning is by far not everything.
      · 1 reply
    • freyk

      Tried to make a tdm advertisement commentpost at one of civvie11 youtube videos about T2. Post got marked as spam. His problem (to not discover TDM for himself),..not my problem.
      But some help of some fellow TDM yt-videocomment posters would be nice. To ask him and others, to play TDM. To get more players/creators. 
      · 2 replies
    • datiswous

      Currently Profile Information has 3 fields, these are shown in forum posts under your avatar:
      1. Gender
      2. Location
      3. Interests
      I think that it could be useful to have an extra field called "Operating system" (under location). It can be useful for tech support and to see what people use.
      Alternatively it could be a more general term, like PC system, so that you can for example state that you use an AMD gpu.
      · 2 replies
    • OrbWeaver

      Greetings fellow kids.
      · 11 replies
    • Crafty_Creeper

      Keep on Creeping on...
       
      · 3 replies
×
×
  • Create New...