Jump to content

Photo
- - - - -

Using Custom Units in Warfare?


  • Please log in to reply
6 replies to this topic
Thread Starter
cpt-craig
cpt-craig

    Private First Class

  • Members
  • 14 posts

#1

Posted 30 May 2011 - 16:39

Hey I appreciate this has probably already been asked but I cannot seem to find an answer anywhere on this forum. My problem is I am trying to switch out the units from the warfare mission provided with BAF units, I have swapped all the weapons over no problem but I cannot despite how hard I try change the units. I am using the warfare examples hidden in the Warfare PBOs and I go to switch a unit by changing this piece of code
Spoiler

to this piece of code
Spoiler

and when I go into warfare in the editor the entry has been removed from the units list. I believe there is some kind of problem with scripts/common/config/Config_Factions as BAF isn't listed under there (this file is located inside the Warfare PBO also). If anyone has any idea what i might have to include in order to use BAF troops that would be REALLY REALLY helpful. I've included the text from the Factions file to help anyone who thinks they might know a solution,
Spoiler


koalasalad
koalasalad

    Corporal

  • Members
  • 66 posts

#2

Posted 30 May 2011 - 21:38

I haven't attempted to switch out the units of BIS's standard warfare but I know that when using Benny's version there are two different places that you have to change for the units to change. Again, I have never used the standard version so I am not sure what files to look in but I'm pretty sure there are two of them.

Thread Starter
cpt-craig
cpt-craig

    Private First Class

  • Members
  • 14 posts

#3

Posted 31 May 2011 - 12:20

hmmm, I'm not sure if benny's version works of the standard scripts, I'll look into it. For now I am gonna try and create a custom Faction script in order to try and allow the units to be created. Nope didn't work, I am having a load of trouble with this and I cannot even get the default US army units to spawn from the barracks.

Edited by cpt-craig, 31 May 2011 - 16:32.


koalasalad
koalasalad

    Corporal

  • Members
  • 66 posts

#4

Posted 01 June 2011 - 02:15

Look into: warfare2_e/Scripts/Common/Config

I think you need to add the units to Config_Barracks.sqf and Config_Teams.sqf. I don't have time right now but when I do I will mess around and see what I can do. Good Luck

Thread Starter
cpt-craig
cpt-craig

    Private First Class

  • Members
  • 14 posts

#5

Posted 01 June 2011 - 14:04

cheers sounds like a good idea, but when I try and unpbo warfare_e there is only one file there and it is unreadable? any ideas?

o.Solei.o
o.Solei.o

    Private

  • Members
  • 8 posts

#6

Posted 10 July 2011 - 01:09

Still no news?

Hexerie
Hexerie

    Rookie

  • Members
  • 4 posts

#7

Posted 15 September 2011 - 14:08

Customizing The Warfare Aircraft Factory Part 1.

You can use the link above and see what you can do.