RockingSkyZoneInfo

Anything about UT2004 mapping, Uscripting & more
User avatar
Cat1981England
Administrator
Posts: 2220
Joined: Mon 23. Aug 2010, 15:35

RockingSkyZoneInfo

Postby Cat1981England » Mon 19. Dec 2016, 20:15

Spank has kindly given us permission to edit his map SpankJox, but i'm having problems trying to get this actor to behave in the way we want.

The first problem is that it only seems to work when the player is facing in a certain direction. Is it even possible for this to work? Secondly, when i make changes to the RotationRate pitch, roll and yaw, some random numbers do work while others don't seem to and i can't work out why.

Any help would be appreciated :dammit:
The Universal Declaration of Human Rights, Article 1:

All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.

unkorix
Posts: 11
Joined: Fri 28. Oct 2016, 19:41

Re: RockingSkyZoneInfo

Postby unkorix » Wed 21. Dec 2016, 11:26

Cat1981England wrote:Secondly, when i make changes to the RotationRate pitch, roll and yaw, some random numbers do work while others don't seem to and i can't work out why.

What exactly numbers did you try? I've just used different sets (pitch/roll/yaw) of RotationRate. All was looking good and predictable.

User avatar
Cat1981England
Administrator
Posts: 2220
Joined: Mon 23. Aug 2010, 15:35

Re: RockingSkyZoneInfo

Postby Cat1981England » Wed 21. Dec 2016, 18:52

If i try and half(ish) the numbers to pitch -139 roll 57 yaw 25, there's no movement. If i increase the numbers to pitch -553 roll 233 yaw 105 it does have an affect but only if i'm looking in a north west direction :dunnosoz:
The Universal Declaration of Human Rights, Article 1:

All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.

unkorix
Posts: 11
Joined: Fri 28. Oct 2016, 19:41

Re: RockingSkyZoneInfo

Postby unkorix » Wed 21. Dec 2016, 21:44

In my case both sets of numbers are going well - a skybox is rotating, nevertheless in which direction I'm looking. With -139/57/25 it is rotating very slow and with -553/233/105 faster.

User avatar
Cat1981England
Administrator
Posts: 2220
Joined: Mon 23. Aug 2010, 15:35

Re: RockingSkyZoneInfo

Postby Cat1981England » Wed 21. Dec 2016, 22:29

Would you be kind enough to send me an edit?
The Universal Declaration of Human Rights, Article 1:

All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.

unkorix
Posts: 11
Joined: Fri 28. Oct 2016, 19:41

Re: RockingSkyZoneInfo

Postby unkorix » Thu 22. Dec 2016, 08:29

Yeah, no problem. Check your PM for the link.

User avatar
Cat1981England
Administrator
Posts: 2220
Joined: Mon 23. Aug 2010, 15:35

Re: RockingSkyZoneInfo

Postby Cat1981England » Thu 22. Dec 2016, 18:34

Thank you, but it's still doing it.

Could someone else try please. Just so i know it isn't a problem at my end.
The Universal Declaration of Human Rights, Article 1:

All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.

User avatar
Wormbo
Posts: 383
Joined: Sun 28. Aug 2011, 11:52
Description: Coding Dude

Re: RockingSkyZoneInfo

Postby Wormbo » Sat 24. Dec 2016, 08:17

The problem with rotation rates is that they use only integer calculations. That may or may not work out as intended, depending on how small the length of a frame is on average. Generally, the higher your framerate the less reliably small rotation rates will work. For example, if your average frame rate is 140fps, any rotation rate values below 140 will straight up do nothing and all values between 140 and 280 will likely have the same results.
(For reference: A rotation rate of about 1000 is about one rotation per minute.)

User avatar
Cat1981England
Administrator
Posts: 2220
Joined: Mon 23. Aug 2010, 15:35

Re: RockingSkyZoneInfo

Postby Cat1981England » Mon 26. Dec 2016, 19:54

Ahh i see. So it's relative to each user. That would explain why we're all seeing different things.

Thank you
The Universal Declaration of Human Rights, Article 1:

All human beings are born free and equal in dignity and rights. They are endowed with reason and conscience and should act towards one another in a spirit of brotherhood.


Return to “The Creative Corner”



Who is online

Users browsing this forum: No registered users and 2 guests