How To Adjust Unit Run, Walk, Roll... Speed [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
DarthXeon
Banned
Posts: 84
Joined: Mon Sep 19, 2011 5:41 pm
Projects :: I move fast... Lightning fast...
Games I'm Playing :: Hmm... I wonder...
Location: In A Nearby Solar System

How To Adjust Unit Run, Walk, Roll... Speed [Solved]

Post by DarthXeon »

I know how to adjust the jump but i want to know how to make units able to run REALLY fast like in the Dann Boeing maps, is there some sorta code you add to the units odf, because i would like to have it :)
Webster27
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 312
Joined: Tue Nov 08, 2011 11:14 am
Projects :: The Republic Commando Mod
Games I'm Playing :: SWBF2 Minecraft
xbox live or psn: No gamertag set
Location: Germany

Re: How To Adjust Unit Run, Walk, Roll... Speed

Post by Webster27 »

You should have a look at com_inf_default.odf, there you can set up the speed.
User avatar
DarthXeon
Banned
Posts: 84
Joined: Mon Sep 19, 2011 5:41 pm
Projects :: I move fast... Lightning fast...
Games I'm Playing :: Hmm... I wonder...
Location: In A Nearby Solar System

Re: How To Adjust Unit Run, Walk, Roll... Speed

Post by DarthXeon »

can you put up the entire odf's contents because for some reason i dont have it :?
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: How To Adjust Unit Run, Walk, Roll... Speed

Post by THEWULFMAN »

DarthXeon wrote:can you put up the entire odf's contents because for some reason i dont have it :?


You do. Trust me. Look in Data_ABC/Common/odfs.
User avatar
DarthXeon
Banned
Posts: 84
Joined: Mon Sep 19, 2011 5:41 pm
Projects :: I move fast... Lightning fast...
Games I'm Playing :: Hmm... I wonder...
Location: In A Nearby Solar System

Re: How To Adjust Unit Run, Walk, Roll... Speed

Post by DarthXeon »

oh i was looking in assets/sides/common/odfs
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: How To Adjust Unit Run, Walk, Roll... Speed

Post by Marth8880 »

You may also want to take a look at the ControlSpeed parameters; their explanations are in comments above them in that ODF. Also, if you make any changes to that ODF, you need to add a line for it in your ingame.req.

For example:

Code: Select all

ucft
{
    REQN
    {
        "class"
        "com_inf_default"
    }
}
And add a ReadDataFile line with a dc: variable for the ingame.lvl in your LUA right above the stock line. Then munge Common and copy the new ingame.lvl in data_***/_LVL_PC/ and paste it into your map's _LVL_PC directory in your addon folder.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: How To Adjust Unit Run, Walk, Roll... Speed

Post by THEWULFMAN »

Alternatively if you don't want to use an ingame to make the changes (which really isn't hard to do) you can add the ODF lines in your side ODFs, like rep_inf_default for example.
User avatar
DarthXeon
Banned
Posts: 84
Joined: Mon Sep 19, 2011 5:41 pm
Projects :: I move fast... Lightning fast...
Games I'm Playing :: Hmm... I wonder...
Location: In A Nearby Solar System

Re: How To Adjust Unit Run, Walk, Roll... Speed

Post by DarthXeon »

lol lets not make a simple thing too complicated, you'll drive me crazy!!! :runaway:
Post Reply