Page 1 of 2

Re: side help

Posted: Mon Mar 24, 2008 5:15 pm
by woner11
Did you cite them in the lua correctly before adding them to the sides. Post your lua. Also ligtning? or lighting? Lightning is a weapon and it is pretty straight forward. Lighting you do in the ZE under the lighting section and that is also pretty straight forward I beleive. However I'll be happy to explain either.

Re: side help

Posted: Mon Mar 24, 2008 5:21 pm
by SilvaDalek
The folder geo isn't in the cis folder. Two different sides. Seperate.

Re: side help

Posted: Mon Mar 24, 2008 5:23 pm
by woner11
You need to make another ReadData section and add them both in there. Then you can mix things around in the setupteams section.

Re: side help

Posted: Mon Mar 24, 2008 6:15 pm
by woner11
Yes. :yes:

Re: side help

Posted: Mon Mar 24, 2008 6:32 pm
by woner11
You have some typo on line 101 I beleive

Re: side help

Posted: Mon Mar 24, 2008 6:57 pm
by Maveritchell
If you did what the mungelog said, and checked the .req file, you'd notice that there's no such unit as "geo_inf_geonosian." It's "gen_inf_geonosian."

Also, unless you're modifying the geonosian or the acklay, there's no need to have the dc: to load a custom side.

The other error means that you did something screwy near line 101, probably something like leaving a comma out.

Re: side help

Posted: Mon Mar 24, 2008 7:19 pm
by tsurugi13
If you're adding them to the premade sides you might need to add them to the .req, but that's not really my forte so it's just a suggestion.

Re: side help

Posted: Mon Mar 24, 2008 8:20 pm
by woner11
tsurugi13 wrote:If you're adding them to the premade sides you might need to add them to the .req, but that's not really my forte so it's just a suggestion.
:shock:

Never do that in 3000 years!!! That is a big NO NO!!! Sides go in the lua. Not the maps req. Hoever they do need to have individual reqs.

Re: side help

Posted: Mon Mar 24, 2008 8:47 pm
by SilvaDalek
cloneknight wrote:
Hidden/Spoiler:
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep2_rifleman",
"rep_inf_ep2_rocketeer",
"rep_inf_ep2_engineer",
"rep_inf_ep2_sniper",
"rep_inf_ep2_rocketeer_chaingun",
"rep_inf_ep2_jettrooper_rifleman",
"rep_inf_ep2_jettrooper",
"rep_hover_fightertank",
"rep_hero_obiwan",
"rep_hover_barcspeeder")
ReadDataFile("dc:SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_inf_pilot",
"cis_hero_grievous",
"cis_hover_aat")
ReadDataFile("dc:SIDE\\geo.lvl",
"geo_inf_geonosian",
"geo_inf_acklay",)
like this?
No. No comma after acklay. :P

Re: side help

Posted: Tue Mar 25, 2008 6:58 am
by cloneknight
thsnks ill see if i can get it to work :)

Re: side help

Posted: Tue Mar 25, 2008 6:46 pm
by cloneknight
is my geonosian correct?
Hidden/Spoiler:
ReadDataFile("SIDE\\geo.lvl",
"geo_inf_acklay",
"gen_inf_geonosian")
ReadDataFile("SIDE\\imp.lvl",
"imp_inf_dark_trooper")


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

SetupTeams{
rep = {
team = REP,
units = 73,
reinforcements = 400,
soldier = { "rep_inf_ep2_rifleman",25, 30},
assault = { "rep_inf_ep2_rocketeer",8, 10},
engineer = { "rep_inf_ep2_engineer",8, 10},
sniper = { "rep_inf_ep2_sniper",8, 10},
marine = { "rep_inf_ep2_rocketeer_chaingun",8, 10},
officer = {"rep_inf_ep2_jettrooper_rifleman",8, 10},
special = { "rep_inf_ep2_jettrooper",8, 10},
pilot = { "imp_inf_dark_trooper",8, 10},

},
cis = {
team = CIS,
units = 61,
reinforcements = 500,
soldier = { "cis_inf_rifleman",21, 30},
assault = { "cis_inf_rocketeer",7, 9},
engineer = { "cis_inf_engineer",7, 9},
sniper = { "cis_inf_sniper",7, 9},
officer = {"cis_inf_officer",7, 8},
special = { "cis_inf_droideka",4, 5},
pilot = { "cis_inf_pilot",7, 9},
marine = { "gen_inf_geonosian",7, 9},
}
because it doesnt show up ingame..

Re: side help

Posted: Tue Mar 25, 2008 6:49 pm
by Flinti
I do not really know but I think you can only have up to 7 units per side...

Re: side help

Posted: Tue Mar 25, 2008 6:50 pm
by AceMastermind
cloneknight wrote:marine = { "gen_inf_geonosian",7, 9},
should be:
marine = { "geo_inf_geonosian",7, 9},


gen_inf_geonosian loads the unit, geo_inf_geonosian is the unit

Re: side help

Posted: Tue Mar 25, 2008 6:52 pm
by cloneknight
ya but they dont show up ingame

Re: side help

Posted: Tue Mar 25, 2008 6:54 pm
by Maveritchell
cloneknight wrote:ya but they dont show up ingame
Do what Ace said. In your ReadDataFile section it needs to be gen_inf_geonosian, but in your setupteams it needs to be geo_inf_geonosian. If you're ever unsure just check the stock Geonosis scripts:

From geo1c_hunt.lua:

Code: Select all

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

	ReadDataFile("SIDE\\tur.lvl",
                             "tur_bldg_geoturret")                             

    --  Level Stats

    ClearWalkers()
    SetMemoryPoolSize("EntityWalker", -1)
    AddWalkerType(0, 3) -- 8 droidekas (special case: 0 leg pairs)
    AddWalkerType(2, 2) -- 2 spider walkers with 2 leg pairs each
    AddWalkerType(3, 2) -- 2 attes with 3 leg pairs each
    SetMemoryPoolSize("Aimer", 70)
    SetMemoryPoolSize("BaseHint", 200)
    SetMemoryPoolSize("CommandWalker", 1)
    SetMemoryPoolSize("EntityFlyer", 4)
    SetMemoryPoolSize("EntityHover", 12)
    SetMemoryPoolSize("EntityLight", 50)
    SetMemoryPoolSize("MountedTurret", 12)
    SetMemoryPoolSize("Obstacle", 338)
    SetMemoryPoolSize("PathNode", 100)

    SetSpawnDelay(10.0, 0.25)

    SetupTeams{
             
        rep = {
            team = REP,
            units = 32,
            reinforcements = -1,
            
            sniper   = { "rep_inf_ep2_sniper",8},
            
            
        },
        cis = {
            team = CIS,
            units = 32,
            reinforcements = -1,
            soldier  = { "geo_inf_geonosian",25},
            
        }
     }