Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Repel physics

 
Post new topic   Reply to topic Printable version
 View previous topic  Having an issue Post :: Post What exactly is db_res?  View next topic  
Author Message
CaptainPoopface
Newbie


Joined: Dec 16 2008
Posts: 17
Offline

PostPosted: Wed Jan 21, 2009 9:11 am    Post subject: Repel physics Reply to topic Reply with quote

Can someone explain what happens to ships and projectiles when they are repelled? It looks as if anything within RepelDistance, if it is heading toward the repel, gets pushed radially outward, and its velocity is set to RepelSpeed.

When you fly away from the repel, it seems like RepelSpeed is added to your velocity, whereas if you fly into the repel, your velocity is set to RepelSpeed (moving radially out from the repel). In other words, it is impossible to fly into a repelling ship until RepelTime is up. Is that correct?

Also, why does a rocketing ship travel so much faster when it is repelled, even if it initially was headed into the repel?
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Wed Jan 21, 2009 11:26 am    Post subject: Reply to topic Reply with quote

anything within RepelDistance gets pushed radially outward at repelSpeed (if repelSpeed is negative it gets sucked in, so you can collide with the repeling object), disirregardless of initial direction traveling. Also this effect repeats at some sort of frequency during the duration repel (like 5x a second or so) (which presents another way to hit the repeling ship)

for a short period of time, maximum speeds are disabled after you get hit by a repel. Because of this if you are traveling with the repel or using a rocket you seem to go much faster as you can surpass your ship's maximum speed.
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Wed Jan 21, 2009 12:27 pm    Post subject: Reply to topic Reply with quote

Quote:
for a short period of time, maximum speeds are disabled after you get hit by a repel. Because of this if you are traveling with the repel or using a rocket you seem to go much faster as you can surpass your ship's maximum speed.
Makes a lot of sense. So if you're flying away from a repel, you will only go faster if you keep thrusting forward. That's probably why the OP thought the velocity was 'added' to the repel speed. But if you're not thrusting at all, you will only go at RepelSpeed.
And that does not work if you're too close to the repel, because of the 5x/second thing, you'll get set back to RepelSpeed even if you try to accelerate. So I guess it only works as you get out of the RepelDistance just after you're "hit" by it.

Interesting. I always wondered what the occasional speed boosts were about...
_________________
(Insert a bunch of dead links here)
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 209 page(s) served in previous 5 minutes.

phpBB Created this page in 0.470631 seconds : 28 queries executed (95.6%): GZIP compression disabled