Page 1 of 1

Is it possible to do this?

PostPosted: Mon Apr 05, 2021 3:21 am
by Kafelnikov
Is it possible to have a monster spin around like this while moving at the same time:

https://youtu.be/_EEa5Rubm7E?t=100


I have a section of my map where a monster is supposed to be sucked out into the void of space and slowly disappear on the horizon like in that scene in 2001 Space Odissey. Right now I just put a few patrol points for him to follow but it looks silly because he just walks floating in space to the point where he's supposed to disappear, it doesn't look like he is in the grips of outside forces but that he's voluntarily going for a walk there lol. I experimented with giving him some flags (floatbob, float, friction, etc) but it still doesn't look convincing at all.
Can that motion in the video be recreated somehow or maybe even just some approximation/trick that gives that idea somehow?

By the way, while I'm familiar with ACS obviously, I have yet to touch DECORATE and Zscript so I haven't explored any option embedded within those 2 tools.

Re: Is it possible to do this?

PostPosted: Mon Apr 05, 2021 3:26 am
by Player701
If this is a map event, then ACS is the way to go. Try SetActorAngle (there's some example code in the article).

Re: Is it possible to do this?

PostPosted: Tue Apr 13, 2021 2:38 pm
by Kafelnikov
Player701 wrote:If this is a map event, then ACS is the way to go. Try SetActorAngle (there's some example code in the article).


Hey thanks, that helped. Although it still looks kinda goofy but at least it gives a decent approximation of actors dealing with 0 gravity rather than just walking suspended in mid air.
I have another question if you don't mind. I have a section of my map taking place in outer space, emulating reality I'd like to have no sound playing in space which I can do with placing silent sector things on the sectors I want silenced but I'd like to hear the sound of breathing in my spacesuit during the spacewalk, is there a way to add one exception and have just one sound play even if the sectors are silenced? some workaround or something?

Re: Is it possible to do this?

PostPosted: Wed Apr 14, 2021 12:14 am
by Player701
Kafelnikov wrote:
Player701 wrote:I have a section of my map taking place in outer space, emulating reality I'd like to have no sound playing in space which I can do with placing silent sector things on the sectors I want silenced but I'd like to hear the sound of breathing in my spacesuit during the spacewalk, is there a way to add one exception and have just one sound play even if the sectors are silenced? some workaround or something?

I don't do a lot of ACS, but it seems that LocalAmbientSound should do the trick. AmbientSound will probably work too, if you don't care about multiplayer support. With LocalAmbientSound, you should have each player run a script that would play the sound as long as they are in the designated "outer space" area.

Re: Is it possible to do this?

PostPosted: Sat Apr 17, 2021 6:03 pm
by rabidrage
Maybe some application of the following would make it less goofy?

https://zdoom.org/wiki/ThrustThingZ

https://zdoom.org/wiki/ThrustThing