Page 1 of 1
How To Adjust Unit Run, Walk, Roll... Speed [Solved]
Posted: Sun Mar 18, 2012 12:23 pm
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

Re: How To Adjust Unit Run, Walk, Roll... Speed
Posted: Sun Mar 18, 2012 12:55 pm
by Webster27
You should have a look at com_inf_default.odf, there you can set up the speed.
Re: How To Adjust Unit Run, Walk, Roll... Speed
Posted: Sun Mar 18, 2012 1:18 pm
by DarthXeon
can you put up the entire odf's contents because for some reason i dont have it

Re: How To Adjust Unit Run, Walk, Roll... Speed
Posted: Sun Mar 18, 2012 1:19 pm
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.
Re: How To Adjust Unit Run, Walk, Roll... Speed
Posted: Sun Mar 18, 2012 1:20 pm
by DarthXeon
oh i was looking in assets/sides/common/odfs
Re: How To Adjust Unit Run, Walk, Roll... Speed
Posted: Sun Mar 18, 2012 2:02 pm
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.
Re: How To Adjust Unit Run, Walk, Roll... Speed
Posted: Sun Mar 18, 2012 2:10 pm
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.
Re: How To Adjust Unit Run, Walk, Roll... Speed
Posted: Mon Mar 19, 2012 6:10 pm
by DarthXeon
lol lets not make a simple thing too complicated, you'll drive me crazy!!!
