Ackaly trouble

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
GolfBulb

Ackaly trouble

Post by GolfBulb »

my acklay isnt showing up, Here is part of the lua:

ReadDataFile("SIDE\\geo.lvl",
"geo_inf_acklay"
"gen_inf_geonosian")

ReadDataFile("dc:SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")

SetupTeams{
rep = {
team = REP,
units = **,
reinforcements = ***,
soldier = { "rep_inf_ep2_rifleman",*, *},
assault = { "rep_inf_ep2_rocketeer",*, *},
engineer = { "rep_inf_ep2_engineer",*, *},
sniper = { "rep_inf_ep2_sniper",*, *},
officer = {"rep_inf_ep3_officer",*, *},
special = { "rep_inf_ep2_jettrooper",*, *},

},
cis = {
team = CIS,
units = **,
reinforcements = ***,
soldier = { "cis_inf_bdroid",*, *},
assault = { "cis_inf_rifleman",*, *},
engineer = { "geo_inf_geonosian",*, *},
sniper = { "cis_inf_sniper",*, *},
officer = {"geo_inf_acklay",*, *},
special = { "cis_inf_droideka",*, *},

I put the *'s because its a suprise ;) it makes sense for the map im making, ANy help is..Helpful :D
Master Fionwë
Rebel Colonel
Rebel Colonel
Posts: 598
Joined: Wed May 30, 2007 3:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: At RCTC
Contact:

RE: Ackaly trouble

Post by Master Fionwë »

What does the error log say? Also, you need to have a memory pool set for acklays. AcklayData
GolfBulb

Re: RE: Ackaly trouble

Post by GolfBulb »

Master Fionwë wrote:What does the error log say? Also, you need to have a memory pool set for acklays. AcklayData
can u explain the "pool" please

And here is my log:

C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\DDW\DDWc_con.lua:96: `)' expected (to close `(' at line 94) near `"gen_inf_geonosian"'
ERROR[scriptmunge scripts\DDW\DDWc_con.lua]:Could not read input file.ERROR[scriptmunge scripts\DDW\DDWc_con.lua]:Could not read input file. [continuing]
2 Errors 0 Warnings

ERROR[localizemunge japanese.cfg]:Text file syntax error. (No matching bracket)ERROR[localizemunge japanese.cfg]:Text file syntax error. (No matching bracket) [continuing]
2 Errors 0 Warnings

ERROR[levelpack mission\DDWc_con.req]:Expecting bracket, but none was found.
File : munged\pc\ddwc_con.script.req(1)...

ucft <--
ERROR[levelpack mission\DDWc_con.req]:Expecting bracket, but none was found.
File : munged\pc\ddwc_con.script.req(1)...

ucft <--

2 Errors 0 Warnings
Master Fionwë
Rebel Colonel
Rebel Colonel
Posts: 598
Joined: Wed May 30, 2007 3:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: At RCTC
Contact:

RE: Re: RE: Ackaly trouble

Post by Master Fionwë »

Okay, well obviously you have an error near the geonosian loading part. Make sure everything is right there. The memory pool sets a, well, memory pool for certain things. It tells the game/computer how much memory it needs to set aside for that thing. Having a more important one too low will cause a crash. Acklays are one of those. UnitAgent is another. Look at the shipped luas for examples of different memory pools.
GolfBulb

Re: RE: Re: RE: Ackaly trouble

Post by GolfBulb »

Master Fionwë wrote:Okay, well obviously you have an error near the geonosian loading part. Make sure everything is right there. The memory pool sets a, well, memory pool for certain things. It tells the game/computer how much memory it needs to set aside for that thing. Having a more important one too low will cause a crash. Acklays are one of those. UnitAgent is another. Look at the shipped luas for examples of different memory pools.
Uhh still not sure
User avatar
B94
Private Third Class
Posts: 46
Joined: Sat Apr 15, 2006 12:20 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by B94 »

U need a comma after the Acklay, simple as that

ReadDataFile("SIDE\\geo.lvl",
"geo_inf_acklay",
"gen_inf_geonosian")

ReadDataFile("dc:SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")

SetupTeams{
rep = {
team = REP,
units = **,
reinforcements = ***,
soldier = { "rep_inf_ep2_rifleman",*, *},
assault = { "rep_inf_ep2_rocketeer",*, *},
engineer = { "rep_inf_ep2_engineer",*, *},
sniper = { "rep_inf_ep2_sniper",*, *},
officer = {"rep_inf_ep3_officer",*, *},
special = { "rep_inf_ep2_jettrooper",*, *},

},
cis = {
team = CIS,
units = **,
reinforcements = ***,
soldier = { "cis_inf_bdroid",*, *},
assault = { "cis_inf_rifleman",*, *},
engineer = { "geo_inf_geonosian",*, *},
sniper = { "cis_inf_sniper",*, *},
officer = {"geo_inf_acklay",*, *},
special = { "cis_inf_droideka",*, *},
Post Reply