combo file question

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
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

combo file question

Post by nobody3 »

Question 1: Does one need to have a melee unit to have .combo file working? (I want to edit the "posture" only)

Question 2:
I want to utilize this:
Hidden/Spoiler:
//Posture("<posture>"[, "<posture>"][, ...]);
// Sets the soldier postures allowed in this state; defaults to "All"
// The soldier will be forced into one of the postures, if
// possible, and will abort to IDLE state if not.
// <posture> string param; values:
// "All", "Any" - All postures
// "Stand" - soldier is standing
// "Crouch" - soldier is crouching
// "Prone" - soldier is prone
// "Sprint" - soldier is sprinting
// "Jump" - soldier is jumping
// "RollRight" - soldier is rolling to the right
// "RollLeft" - soldier is rolling to the left
// "Jet" - soldier is jet jumping
// "Roll" - synonym for "RollLeft","RollRight"
// "!<posture>" - except a posture
Posture("Stand"); // must be standing
into allowing unit to use "Roll" and Roll left/right postures...

Does anyone have information how to use this correctly? Or more specifications about what it is or what is it used for?

Thanks
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: combo file question

Post by MileHighGuy »

the posture line determines what posture the unit can be in during that state. Yes it has to be a melee unit to use the combo file. What are you trying to do with rolls exactly?

EDIT: will > can
Last edited by MileHighGuy on Thu May 14, 2015 5:46 pm, edited 2 times in total.
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

Re: combo file question

Post by nobody3 »

MileHighGuy wrote:What are you trying to do with rolls exactly?
Nothing, but the AI does not roll by default so I was thinking I could allow them to roll to appear more human-like.

Do I just make .combo file (assigned to melee unit) and insert this?:

Code: Select all

State("IDLE")
{
    Posture("Stand", "Roll");
}
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: combo file question

Post by MileHighGuy »

that just means that the unit can stand or roll in that state, not that it will. If you want to force a roll you could, for example, make a state that attack1 transitions to that only has roll for the posture.
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

Re: combo file question

Post by nobody3 »

it crashed
MileHighGuy
Jedi
Jedi
Posts: 1194
Joined: Fri Dec 19, 2008 7:58 pm

Re: combo file question

Post by MileHighGuy »

What does your error log say? and no that state would not work. I would just copy a state and edit it slightly, not make one from scratch.
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

Re: combo file question

Post by nobody3 »

I dont know what the error log says, I deleted everything because I gave up already.
Post Reply