SSM/CSM Soldier Sprint code
-
- Posts: 44
- Joined: Sun Oct 18, 2009 3:06 pm
Re: SSM/CSM Soldier Sprint code
I would assume that the code is spelled out differently than the code from bf1942 as is the case most of the time, because there is a walk animation, you just need to find it and do these same edits
AKA WhatThe
-
- Posts: 1
- Joined: Sun Mar 28, 2010 3:05 pm
Re: SSM/CSM Soldier Sprint code
Hello, Im relatively new to the modding scene.LightSpeed/// wrote:There is an different way in BFV, you can do it on a per kit basis evenCode: Select all
ObjectTemplate.active (kit name here) ObjectTemplate.setKitSpeedFactor 1 (change this number for top speed) ObjectTemplate.setKitAccelFactor 1
Which file do I amend with this code exactly? I would love to have them run a little faster!
Thanks for any help,
Bill
Re: SSM/CSM Soldier Sprint code
Add it to the ObjectSpawns.con.william17050 wrote:Hello, Im relatively new to the modding scene.LightSpeed/// wrote:There is an different way in BFV, you can do it on a per kit basis evenCode: Select all
ObjectTemplate.active (kit name here) ObjectTemplate.setKitSpeedFactor 1 (change this number for top speed) ObjectTemplate.setKitAccelFactor 1
Which file do I amend with this code exactly? I would love to have them run a little faster!
Thanks for any help,
Bill
Re: SSM/CSM Soldier Sprint code
I was unable to find out the code:
AnimationStateMachine.SetActiveState Lb_WalkForward
AnimationStateMachine.setSpeed 10 0.5 10
AnimationStateMachine.SetActiveState Lb_WalkBackward
AnimationStateMachine.setSpeed 10 0.5 10
so can u tell me in which inc or con files exactly containing these ? thnx
AnimationStateMachine.SetActiveState Lb_WalkForward
AnimationStateMachine.setSpeed 10 0.5 10
AnimationStateMachine.SetActiveState Lb_WalkBackward
AnimationStateMachine.setSpeed 10 0.5 10
so can u tell me in which inc or con files exactly containing these ? thnx
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: SSM/CSM Soldier Sprint code
You'll find those code lines in the AnimationStatesLower.con file in the Animations.rfa file.
I have cameras in your head!
-
- Posts: 590
- Joined: Mon Oct 01, 2012 3:13 pm
- Location: Canada
- Contact:
Re: SSM/CSM Soldier Sprint code
Looking at the MDT's definition of the .setSpeed command, the first argument can indeed be changed to be higher than 1, however, changing the 2 next arguments to anything other than 0 or 1 will have no effect on the game. Therefore it seems only the speed at which a soldier walks forward and backwards can be modified, as opposed to the code Player posted.
Source: http://bfmods.com/mdt/scripting/Animati ... Speed.html
Source: http://bfmods.com/mdt/scripting/Animati ... Speed.html
See my Strasbourg map project here.