Vehicle speed

Aeryna

Active Member
Joined
Oct 10, 2017
Messages
312
Anyone know if can it be possible to modify the vehicle speed?
 

Dirtnose

New Member
Joined
Feb 20, 2015
Messages
7
Yes, that can be modified in the tre files with the IFF editor.

object -> mobile -> vehicle. Then the vehicle you want to modify.
 

Aeryna

Active Member
Joined
Oct 10, 2017
Messages
312
Well. I didn't check but i'm not familiar with chunk or Hexa codes.
 

netyoda

Member
Joined
Oct 18, 2017
Messages
35
Here's the speederbike in the repo, the swoop is 3 down from it

725

Speederbike stats, not the default7/num1 and default10/num2 values

726

Compared to the swoop ones

727

iirc num1 contributes towards the max speed, while num2 is the min speed. You can see that the values are slightly higher for the swoop than the speederbike. Let's compare it to the X-31 Landspeeder for a little more contrast.
729
and you can see the numbers drop for the slower landspeeder

Hope this helps. Turn rate, acceleration etc can also be changed in here.

Only 3 years late in the reply, but only just found this post.
 

Attachments

Enferno

New Member
Joined
Oct 7, 2021
Messages
14
Hey guys, I have a question regarding this topic, because my pictures are different. Let me show you:
740
and this one here doesn't have everything like in the previous post:
741

Is this because I am using the SWGEmu? If so, can I fix / change it at all or will it mess it up?

Thanks!
 

Tyclo

New Member
Joined
Nov 23, 2016
Messages
12
Location
Las Vegas, Nevada
Hey guys, I have a question regarding this topic, because my pictures are different. Let me show you:
...
and this one here doesn't have everything like in the previous post:
...

Is this because I am using the SWGEmu? If so, can I fix / change it at all or will it mess it up?

Thanks!
Open the speeder in SIE, in the bottom right portion of the Template Editor (your first screenshot) change the Arrangement Slot from:
Code:
String[Slot, -1]
to:
Code:
String[category]
byte
byte
byte
byte
byte
byte
float[num1]
byte
byte
float[num2]
That will display the correct information.

Some information on IFF/Chunk structure can be found here. There's a bunch of Template editor examples somewhere here on MtG, but I can't seem to find the post.
 

Enferno

New Member
Joined
Oct 7, 2021
Messages
14
Open the speeder in SIE, in the bottom right portion of the Template Editor (your first screenshot) change the Arrangement Slot from:
Code:
String[Slot, -1]
to:
Code:
String[category]
byte
byte
byte
byte
byte
byte
float[num1]
byte
byte
float[num2]
That will display the correct information.

Some information on IFF/Chunk structure can be found here. There's a bunch of Template editor examples somewhere here on MtG, but I can't seem to find the post.
Awesome, thank you very much! That seemed to have fixed it :)

Now to find a post on where to extract the .iff files to just edit those to work on my personal server! I can't seem to get the .tre files to work :(
 

Tyclo

New Member
Joined
Nov 23, 2016
Messages
12
Location
Las Vegas, Nevada
Awesome, thank you very much! That seemed to have fixed it :)

Now to find a post on where to extract the .iff files to just edit those to work on my personal server! I can't seem to get the .tre files to work :(
Make a folder and name it "speeder_01"

Extract the speeder iff file to object/mobile/vehicle and make your changes. Then in SIE, use the "TOC/TRE Builder" button to create a new Tre file, selecting the "speeder_01" folder. Save the Tre file anywhere.

On your server, copy your speeder_01.tre to the directory with all of your other server tre files. Add the tre to your config file in the TreFiles = {} table here as "speeder_01.tre",. (Don't forget the comma)

If you're using the MtG, it should look similar to this:
C#:
TreFiles = {
        "speeder_01.tre",
        "mtg_patch_023.tre",
        "mtg_patch_022.tre",
        "mtg_planets.tre",
        "mtg_patch_021.tre",
        --"mtg_patch_020.tre",
        "mtg_patch_019.tre",
        "mtg_patch_018.tre",
        "mtg_patch_017.tre",
        "mtg_patch_016.tre",
        "mtg_patch_015.tre",
        "mtg_patch_014.tre",
        "mtg_patch_013_configurable_02.tre",
        "mtg_patch_012_configurable_01.tre",
        "mtg_patch_011_files_01.tre",
        "mtg_patch_010_object_01.tre",
        "mtg_patch_009_Shader_01.tre",
        "mtg_patch_008_texture_04.tre",
        "mtg_patch_007_texture_03.tre",
        "mtg_patch_006_texture_02.tre",
        "mtg_patch_005_texture_01.tre",
        "mtg_patch_004_appearance_04.tre",
        "mtg_patch_003_appearance_03.tre",
        "mtg_patch_002_appearance_02.tre",
        "mtg_patch_001_appearance_01.tre"
    },
On your client, open the "swgemu_live.cfg" file. Increase the numerical value on the line maxSearchPriority=XX. If the number is 21, increase it to 22. Below that, copy the top line searchTree_00_XX=some_file.tre and increment XX to XX+1, and replace "some_file.tre" with "speeder_01.tre"

If you're using the MtG server files, your swgemu_live.cfg should look something like this:
Code:
[SharedFile]
    maxSearchPriority=22
    searchTree_00_22=speeder_01.tre
    searchTree_00_21=mtg_planets.tre
    searchTree_00_20=mtg_patch_022.tre
    searchTree_00_19=mtg_patch_021.tre
    searchTree_00_18=mtg_patch_019.tre
    searchTree_00_17=mtg_patch_018.tre
    searchTree_00_16=mtg_patch_017.tre
    searchTree_00_15=mtg_patch_016.tre
    searchTree_00_14=mtg_patch_015.tre
    searchTree_00_13=mtg_patch_014.tre
    searchTree_00_12=mtg_patch_013_configurable_02.tre
    searchTree_01_11=mtg_patch_012_configurable_01.tre
    searchTree_00_10=mtg_patch_011_files_01.tre
    searchTree_01_9=mtg_patch_010_object_01.tre
    searchTree_00_9=mtg_patch_009_Shader_01.tre
    searchTree_01_8=mtg_patch_008_texture_04.tre
    searchTree_00_7=mtg_patch_007_texture_03.tre
    searchTree_00_6=mtg_patch_006_texture_02.tre
    searchTree_01_5=mtg_patch_005_texture_01.tre
    searchTree_00_4=mtg_patch_004_appearance_04.tre
    searchTree_01_3=mtg_patch_003_appearance_03.tre
    searchTree_00_2=mtg_patch_002_appearance_02.tre
    searchTree_00_1=mtg_patch_001_appearance_01.tre
After making these changes, restart both your game and your server, the speeder should be updated. You need to have the tre on both your client and the server for the speeder changes to work, they can't be just the iff files. Otherwise you're going to be rubberbanding lol.
 

Enferno

New Member
Joined
Oct 7, 2021
Messages
14
Make a folder and name it "speeder_01"

Extract the speeder iff file to object/mobile/vehicle and make your changes. Then in SIE, use the "TOC/TRE Builder" button to create a new Tre file, selecting the "speeder_01" folder. Save the Tre file anywhere.

On your server, copy your speeder_01.tre to the directory with all of your other server tre files. Add the tre to your config file in the TreFiles = {} table here as "speeder_01.tre",. (Don't forget the comma)

If you're using the MtG, it should look similar to this:
C#:
TreFiles = {
        "speeder_01.tre",
        "mtg_patch_023.tre",
        "mtg_patch_022.tre",
        "mtg_planets.tre",
        "mtg_patch_021.tre",
        --"mtg_patch_020.tre",
        "mtg_patch_019.tre",
        "mtg_patch_018.tre",
        "mtg_patch_017.tre",
        "mtg_patch_016.tre",
        "mtg_patch_015.tre",
        "mtg_patch_014.tre",
        "mtg_patch_013_configurable_02.tre",
        "mtg_patch_012_configurable_01.tre",
        "mtg_patch_011_files_01.tre",
        "mtg_patch_010_object_01.tre",
        "mtg_patch_009_Shader_01.tre",
        "mtg_patch_008_texture_04.tre",
        "mtg_patch_007_texture_03.tre",
        "mtg_patch_006_texture_02.tre",
        "mtg_patch_005_texture_01.tre",
        "mtg_patch_004_appearance_04.tre",
        "mtg_patch_003_appearance_03.tre",
        "mtg_patch_002_appearance_02.tre",
        "mtg_patch_001_appearance_01.tre"
    },
On your client, open the "swgemu_live.cfg" file. Increase the numerical value on the line maxSearchPriority=XX. If the number is 21, increase it to 22. Below that, copy the top line searchTree_00_XX=some_file.tre and increment XX to XX+1, and replace "some_file.tre" with "speeder_01.tre"

If you're using the MtG server files, your swgemu_live.cfg should look something like this:
Code:
[SharedFile]
    maxSearchPriority=22
    searchTree_00_22=speeder_01.tre
    searchTree_00_21=mtg_planets.tre
    searchTree_00_20=mtg_patch_022.tre
    searchTree_00_19=mtg_patch_021.tre
    searchTree_00_18=mtg_patch_019.tre
    searchTree_00_17=mtg_patch_018.tre
    searchTree_00_16=mtg_patch_017.tre
    searchTree_00_15=mtg_patch_016.tre
    searchTree_00_14=mtg_patch_015.tre
    searchTree_00_13=mtg_patch_014.tre
    searchTree_00_12=mtg_patch_013_configurable_02.tre
    searchTree_01_11=mtg_patch_012_configurable_01.tre
    searchTree_00_10=mtg_patch_011_files_01.tre
    searchTree_01_9=mtg_patch_010_object_01.tre
    searchTree_00_9=mtg_patch_009_Shader_01.tre
    searchTree_01_8=mtg_patch_008_texture_04.tre
    searchTree_00_7=mtg_patch_007_texture_03.tre
    searchTree_00_6=mtg_patch_006_texture_02.tre
    searchTree_01_5=mtg_patch_005_texture_01.tre
    searchTree_00_4=mtg_patch_004_appearance_04.tre
    searchTree_01_3=mtg_patch_003_appearance_03.tre
    searchTree_00_2=mtg_patch_002_appearance_02.tre
    searchTree_00_1=mtg_patch_001_appearance_01.tre
After making these changes, restart both your game and your server, the speeder should be updated. You need to have the tre on both your client and the server for the speeder changes to work, they can't be just the iff files. Otherwise you're going to be rubberbanding lol.
Man, I so could have used this yesterday! lol. Honestly, I forgot that I even said that comment and I surely wasn't expecting you to come back with a full detailed step-by-step guide on how to do so!! However, I am greatful for your effort and time, because it took me over 6+ hours figuring all of this out and searching for help. The most problem that I had was putting it into the folder on the server system. I had to go into the options and figure out how to allow my host (main PC) to copy / paste / drag over files. That is where I was stuck for hours! I did it and it worked, so thanks a lot for the help!! :)
 
Top Bottom