Unit count getting ignored.

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
^Destroyer^

Unit count getting ignored.

Post by ^Destroyer^ »

Ok im working on a geonosis but if i use ep2 clones it crashes, so now i overwrited the ep3 clones with ep2 clones and it still crashes!! What am i doing wrong?

^Destroyer^
Last edited by ^Destroyer^ on Tue May 02, 2006 11:31 am, edited 1 time in total.
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

RE: Help ep2 clones make my map crash.

Post by Penguin »

don't change the officer
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
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: Help ep2 clones make my map crash.

Post by Teancum »

Yeah, the officer (A red ARC trooper) was never actually munged into rep.lvl because they forgot to add him to the req. You have to create a new side to add him.
^Destroyer^

Post by ^Destroyer^ »

I use other skins for almost every troopers, this are the skins:

Trooper: http://img163.imageshack.us/my.php?imag ... per0wj.jpg
Heavy Trooper: http://img163.imageshack.us/my.php?imag ... per7mz.jpg
Sniper: http://img163.imageshack.us/my.php?imag ... per7tv.jpg
Engineer: http://img163.imageshack.us/my.php?imag ... lot3rr.jpg
Clone Commander: http://img163.imageshack.us/my.php?imag ... der0dr.jpg
Jet Trooper: http://img163.imageshack.us/my.php?imag ... per2ed.jpg

The're new names are gonna be: Trooper, Clone Commander, Clone Luitenant, Clone pilot, Clone General, Clone Medic.

Im using those skins, i still got regular ep3 names in the lua because the ep2 names made them crash but ill try the thing with the officer.

^Destroyer^
^Destroyer^

Post by ^Destroyer^ »

Ok it still doesnt work!!! :( now what?

^Destroyer^
RєÅpér

Post by RєÅpér »

don't nkow your prob dude but my clones were all white they had no skins XD
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Post by MercuryNoodles »

How about some specific information with these questions? How can you expect an answer when we have absolutely no clue what you're doing with your files? Simple syntax errors, and improper names or values can easily crash the game. It can be anything. Show us or describe any changes to the lua, odf, and msh files.
^Destroyer^

Post by ^Destroyer^ »

Well maybe im misspelling names, could someone list up the ep 2 clone names i need to add in my lua?

^Destroyer^
^Destroyer^

Post by ^Destroyer^ »

Ok i finally got the ep 2 clones to work, i got another problem. I need many reinforcements and units and i setted it in my lua, but nothing happens. What did i do wrong? Here my lua that says the part about reinforcements:

Code: Select all

SetupTeams{
	rep = {
		team = REP,
		units = 300,
		reinforcements = 600,
		soldier  = { "rep_inf_ep2_rifleman",50, 75},
		assault  = { "rep_inf_ep2_rocketeer",45, 70},
		engineer = { "rep_inf_ep2_engineer",45, 70},
		sniper   = { "rep_inf_ep2_sniper",45, 70},
	   officer = {"rep_inf_ep2_rocketeer_chaingun",45, 70},
		special = { "rep_inf_ep2_jettrooper",45, 70},
	        
	},
	cis = {
		team = CIS,
		units = 300,
		reinforcements = 600,
		soldier  = { "cis_inf_rifleman",50, 75},
		assault  = { "cis_inf_rocketeer",45, 70},
		engineer = { "cis_inf_engineer",45, 70},
		sniper   = { "cis_inf_sniper",45, 70},
		officer = {"cis_inf_officer",45, 70},
		special = { "cis_inf_droideka",45, 70},
	}
}
Big_rich

Post by Big_rich »

^Destroyer^

Post by ^Destroyer^ »

But thats about ubermode, i need it for conquest mode.

^Destroyer^
Big_rich

Post by Big_rich »

how many units are you auctually getting to spawn at a time? Cause you are limited to 300 in any mode I assume. Maybe it's less for conquest, idk. in your script you calling for more to spawn than 300. 45,70 45 to start max of 70. of just about each. try editing these to equal max to start of 300 per side.

from mission.lua doc:


The numbers in these lines define min and max numbers for these units. For example, we have 20 units total on the play field. The soldier unit is set to 9 min and 25 max. What this means is that there will ALWAYS be 9 soliders on the field, 1 rocketeer, 1 engineer, 1 sniper, 1 officer, and 1 jet trooper. The second number sets the max, so there will never be MORE than 25 soldiers, 4 rocketeers, 4 engineers, etc. The minimums are filled up first, and then the the game will fill up to the max’s randomly until the 20 unit maximum units on the field is hit. You should never have you minimums exceed your total number of units allowed on the field (in this example, the minimums would never be set to more than 20 in total.)
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
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

Post by Teancum »

^Destroyer^ wrote:But thats about ubermode, i need it for conquest mode.

^Destroyer^
All you do when you set UberMode active is to basically tell the game "Let me have more men on the field/reinforcements." It doesn't actually change gameplay.
^Destroyer^

Post by ^Destroyer^ »

How do i set UberMode on??

^Destroyer^
Post Reply