How can I put points to unlock only in Conquest?

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 can I put points to unlock only in Conquest?

Post by DaviidHL »

How can I put points to unlock in classes in conquest mode but remove them in hunt?
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: How can I put points to unlock only in Conquest?

Post by ARCTroopaNate »

You can use setclassproperty in your scriptpostload section of you lua script like so.


SetClassProperty("all_inf_custom", "PointsToUnlock", "12")
Calrissian97
Second Lance Corporal
Second Lance Corporal
Posts: 102
Joined: Sun May 07, 2017 11:31 pm
Projects :: ANF - ISM Skin Changer - BF1 Ports
Games I'm Playing :: All teh BFs
Location: Kentucky, USA

Re: How can I put points to unlock only in Conquest?

Post by Calrissian97 »

What Nate said, but you might have to use it *after* you have already loaded the class from your side lvl. Otherwise you'll be referencing a unit that doesn't exist yet. But I'd only do that if what Nate suggested doesn't work because sometimes that stuff seems to matter, sometimes it doesn't.
ARCTroopaNate
Jedi
Jedi
Posts: 1161
Joined: Mon Mar 21, 2011 8:12 pm
Projects :: Star Wars Battlefront - Tides of War
Games I'm Playing :: SWBF2 RC EAW
xbox live or psn: I have ps4
Location: STALKER!
Contact:

Re: How can I put points to unlock only in Conquest?

Post by ARCTroopaNate »

Hasn't ever mattered for me, I use Setclassproperty a fair bit but who knows.
Post Reply