No unlocking Specials
Moderator: Moderators
-
Recon Trooper
- Command Sergeant Major

- Posts: 285
- Joined: Fri Sep 11, 2009 5:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Muhamid Ant Farm ???
- Contact:
No unlocking Specials
How do you make it that when you start the battle you can automatically be a special soldier?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: No unlocking Specials
ODF property. PointsToUnlock = "0".
-
fiddler_on_the_roof
- 1st Lieutenant

- Posts: 460
- Joined: Wed Nov 12, 2008 5:28 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: No unlocking Specials
you can either use the fake console command "remove poit limits"
or in the lua, add
(or something close to that)
or in the lua, add
Code: Select all
SetClassProperty("your_unit" "PointsToUnlock", 0)-
Recon Trooper
- Command Sergeant Major

- Posts: 285
- Joined: Fri Sep 11, 2009 5:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Muhamid Ant Farm ???
- Contact:
Re: No unlocking Specials
Where do you put it in the lua. I put it under setmemorypool and it had an error.
- Ka-Ching
- Command Sergeant Major

- Posts: 274
- Joined: Wed Jul 23, 2008 4:03 pm
Re: No unlocking Specials
i'd try under this:
SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1,4},
engineer = { "rep_inf_ep3_engineer",1,4},
sniper = { "rep_inf_ep3_sniper",1,4},
officer = {"rep_inf_ep3_officer",1,4},
special = { "rep_inf_ep3_jettrooper",1,4},
or somewhere near this this:
SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_obiwan")
SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1,4},
engineer = { "rep_inf_ep3_engineer",1,4},
sniper = { "rep_inf_ep3_sniper",1,4},
officer = {"rep_inf_ep3_officer",1,4},
special = { "rep_inf_ep3_jettrooper",1,4},
or somewhere near this this:
SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_obiwan")
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: No unlocking Specials
no its not.
it goes here:correct me if im wrong
it goes here:
Hidden/Spoiler:
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: No unlocking Specials
@Recon Trooper: If this is for your Imperial side mod, I suggest you just edit the unit(s)' ODF as Fiodis pointed out.
-
Recon Trooper
- Command Sergeant Major

- Posts: 285
- Joined: Fri Sep 11, 2009 5:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Muhamid Ant Farm ???
- Contact:
Re: No unlocking Specials
I know what to do now...
In soldier.odf you write what fiodis said...
In soldier.odf you write what fiodis said...
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: No unlocking Specials
Both places would have worked. It goes any time after the unit class has been read in. However, the ODF file changes are the preferred way of doing it.myers73 wrote:correct me if im wrong
