vehicle speed

duffstone

Member
Joined
Sep 13, 2013
Messages
188
Anyone know where this is handled?  for instance, how does the client and core know that a speederbike is faster than the swoop?   sounds like it has to be a .tre thing, but I'm not finding it yet.

-Duff
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
MMOCoreORB/bin/scripts/object/mobile/vehicle/objects.lua suggests it's read from the object files.

Might be wrong though, best to ask Lasko/Miztah or someone with experience.
 

duffstone

Member
Joined
Sep 13, 2013
Messages
188
Nice! I was looking at the wrong set of IFF's... Now it's time to make a super swoop, and if I can do that, then it's time to replace the model with something more sexy... :) thanks Tim!
 

duffstone

Member
Joined
Sep 13, 2013
Messages
188
well, you can change it, and it works, but you get so much rubberbanding that it's insane. plus some settings just don't work at all and the speeder won't move. Still getting a feel for it, but I think I can get it. Not sure why it's rubberbanding yet tho. I can /setspeed 100 with an admin and run lights out without a single rubber band, so the server isn't the issue.

anyway... that's all I can report for tonight, I'll let you guys know if I figure it all out and what everything means. -Duff
 

jowwarr

New Member
Joined
Nov 7, 2015
Messages
13
The server probably thinks it's some kind of speed hack. I remember serious rubberbanding on Valcyn when my connection started lagging from the west coast of Australia. Once the connection picked up, the rubberbanding stopped.
 

duffstone

Member
Joined
Sep 13, 2013
Messages
188
possible, but doubtful. I can set my admin char to "/setspeed 100" and zoom across the planet in seconds with zero rubber banding. but if I increase the speed on a speeder by +1 to an integer, I get rubber banding so bad I can't get anywhere. Increase the speed by +2 and the speeder doesn't move at all.

I wish there was a quicker way of testing, a way to reload .tre data or something. makes trial and error testing a pain. Not bitching, just wishing. :)

-Duff
 

Arioch

Member
Joined
Apr 22, 2014
Messages
123
duffstone said:
possible, but doubtful.  I can set my admin char to "/setspeed 100" and zoom across the planet in seconds with zero rubber banding.  but if I increase the speed on a speeder by +1 to an integer, I get rubber banding so bad I can't get anywhere.   Increase the speed by +2 and the speeder doesn't move at all.  

I wish there was a quicker way of testing,  a way to reload .tre data or something.  makes trial and error testing a pain. Not bitching, just wishing. :)

-Duff
Just put the folder and files in the game install folder youre using they will over ride the tres
 

Halyn

That One Guy
Staff member
Moderator
Joined
Jan 11, 2015
Messages
257
Location
Empire in Flames
duffstone said:
possible, but doubtful.  I can set my admin char to "/setspeed 100" and zoom across the planet in seconds with zero rubber banding.  but if I increase the speed on a speeder by +1 to an integer, I get rubber banding so bad I can't get anywhere.   Increase the speed by +2 and the speeder doesn't move at all.  

I wish there was a quicker way of testing,  a way to reload .tre data or something.  makes trial and error testing a pain. Not bitching, just wishing. :)

-Duff
When you're modding your speeder velocities, are you also adding that file back up to your server? If you're only working client side, the server likely is detecting it as a speed hack.
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
If it actually is reading the object files, then it's object/mobile/vehicle/shared_speederbike_swoop.iff for example.
 

oostos

Member
Joined
Mar 8, 2015
Messages
52
Hey Duff, I have found if you are on your admin account have your /setSpeed set to anything but normal speed, when you get on a vehicle you will rubber band like crazy. It may not be your issue, but it was for me.
 

Anach

Member
Joined
Sep 17, 2010
Messages
48
Halyn said:
duffstone said:
possible, but doubtful.  I can set my admin char to "/setspeed 100" and zoom across the planet in seconds with zero rubber banding.  but if I increase the speed on a speeder by +1 to an integer, I get rubber banding so bad I can't get anywhere.   Increase the speed by +2 and the speeder doesn't move at all.  

I wish there was a quicker way of testing,  a way to reload .tre data or something.  makes trial and error testing a pain. Not bitching, just wishing. :)

-Duff
When you're modding your speeder velocities, are you also adding that file back up to your server? If you're only working client side, the server likely is detecting it as a speed hack.
Exactly. Using admin commands is expected by the server, but when a client speed doesnt match the server's expectation, you will encounter issues.
 

duffstone

Member
Joined
Sep 13, 2013
Messages
188
yeah, the .tre data was getting back to the server just fine. right now I'm cleaning up some scripting, re-enabling some draft_schems, etc.. trying to clean up my project and get it ready to publish. I'll start looking into the speeder speeds again soon tho. it's my next major project since I want to inject a new speeder into the game.

-Duff
 

duffstone

Member
Joined
Sep 13, 2013
Messages
188
Ok, I got back this and it works fine. the secret is that you have to delete an existing speeder, and regenerate it with the new settings. kind of a pain on a production server, but on a test / single play it's not bad. I now have my barc speeding along at 27,19 speed.

couple items learned. the two numbers have to be increased together by the same amount. I have no idea what they do, but if I only increase on of them, core3 won't start. I also used the below template in the iff editor to make them easier to use

string[category]
byte
byte
byte
byte
byte
byte
float[num1]
byte
byte
float[num2]
 

oostos

Member
Joined
Mar 8, 2015
Messages
52
Hey Duff, I looked in the object/mobile/vehicle/shared_speederbike_swoop.iff (for example) but I am not seeing any numbers to change for speed. Anyone have any more info on this?
 

textony

New Member
Joined
Jun 20, 2017
Messages
7
duffstone said:
Ok,  I got back this and it works fine.  the secret is that you have to delete an existing speeder, and regenerate it with the new settings.  kind of a pain on a production server, but on a test / single play it's not bad.  I now have my barc speeding along at 27,19 speed.  

couple items learned.  the two numbers have to be increased together by the same amount.  I have no idea what they do, but if I only increase on of them, core3 won't start.  I also used the below template in the iff editor to make them easier to use

string[category]
byte
byte
byte
byte
byte
byte
float[num1]
byte
byte
float[num2]
I'm doing this at the server level, however it's not changing anything when I spawn a new vehicle. I've updated all speeds and did a build on the server. Started it up and all of my changes so far are working except the speeds.
I'm very new to this so I'm likely missing something obvious. Any ideas?
-T
 

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
textony said:
I'm doing this at the server level, however it's not changing anything when I spawn a new vehicle. I've updated all speeds and did a build on the server. Started it up and all of my changes so far are working except the speeds.
I'm very new to this so I'm likely missing something obvious. Any ideas?
-T
You need to load duffstones template into SIE and modify the .iff file for the speeder. Once you have done that repackage back into a tre file and make sure it is loaded on both the server side and client side otherwise you will get issues like the vehicle just rubberbanding back and forth.

see screenshot attached...
 

Attachments

textony

New Member
Joined
Jun 20, 2017
Messages
7
gyrantol said:
textony said:
I'm doing this at the server level, however it's not changing anything when I spawn a new vehicle. I've updated all speeds and did a build on the server. Started it up and all of my changes so far are working except the speeds.
I'm very new to this so I'm likely missing something obvious. Any ideas?
-T
You need to load duffstones template into SIE and modify the .iff file for the speeder. Once you have done that repackage back into a tre file and make sure it is loaded on both the server side and client side otherwise you will get issues like the vehicle just rubberbanding back and forth.

see screenshot attached...
Thanks so much! I'm on day 2 of trying to mod this stuff. So I'm using the guides. Just using them poorly while I learn.
 

textony

New Member
Joined
Jun 20, 2017
Messages
7
gyrantol said:
textony said:
I'm doing this at the server level, however it's not changing anything when I spawn a new vehicle. I've updated all speeds and did a build on the server. Started it up and all of my changes so far are working except the speeds.
I'm very new to this so I'm likely missing something obvious. Any ideas?
-T
You need to load duffstones template into SIE and modify the .iff file for the speeder. Once you have done that repackage back into a tre file and make sure it is loaded on both the server side and client side otherwise you will get issues like the vehicle just rubberbanding back and forth.

see screenshot attached...
Gyrantol, I appreciate your help so far. 
I did the update to the AV21 as I'm not trying to add anything new yet.
Made sure I updated both values the same amount as mentioned above, and repacked the tre with the updated iff into "vehicle01.tre"
The server wont start once I update the conf.lua to include the new tre. Is there a way to troubleshoot this?
When I start the server it just quits with an exit code of 1 and I can't scroll back up to see what happened.

--------------------------------Update-----------------------------
Syntax got me. Forgot the comma after the tre. *facepalm*
Thanks again!
 
Top Bottom