How I put points to unlock unities in-game?

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
DaviidHL
Private Third Class
Posts: 52
Joined: Thu Apr 05, 2018 11:48 am
Projects :: Kashyyyk Droid Invasion
Games I'm Playing :: SWBF2
xbox live or psn: DaviidHL_

How I put points to unlock unities in-game?

Post by DaviidHL »

Like Droidekas, Wookies, Dark Trooper or Jet Trooper...

Example: Get 8 more points to unlock!
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: How I put points to unlock unities in-game?

Post by Samee3 »

Put this line in the unit's ODF:

Code: Select all

PointsToUnlock = ""
You can put any positive integer value in the quotes.
Hidden/Spoiler:
At least, I'm pretty sure you can't have decimal or negative values.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11079
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: How I put points to unlock unities in-game?

Post by Teancum »

"-1" works too.
Samee3
First Lance Corporal
First Lance Corporal
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310
Location: California, USA

Re: How I put points to unlock unities in-game?

Post by Samee3 »

Teancum wrote:"-1" works too.
Interesting. I suppose it could be useful for something.
DaviidHL
Private Third Class
Posts: 52
Joined: Thu Apr 05, 2018 11:48 am
Projects :: Kashyyyk Droid Invasion
Games I'm Playing :: SWBF2
xbox live or psn: DaviidHL_

Re: How I put points to unlock unities in-game?

Post by DaviidHL »

Where is the odf all_hero_chewbacca ? I dont find him
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: How I put points to unlock unities in-game?

Post by Lorul1 »

BFTWO_ModTools\data_ABC\Sides\all\odf (this is the location for all your "custom units" AKA units you want to change)
and in that folder should be all_hero_chewbacca

you want to make sure you have the game recognize your unit as a custom unit

use this tutorial if you don't have custom units set up
http://www.gametoast.com/viewtopic.php?f=27&t=12729

also you can watch my video which goes through the steps - its not doing exactly what you asked for but basically I'm copying the units battlefront 2 comes with and changing them.
https://www.youtube.com/edit?o=U&video_id=ajtffHc2UuQ

The video wont be up forever ill probably take it down in a few months.
Post Reply