Page 1 of 1

Re: strange error

Posted: Sat Mar 08, 2008 6:31 pm
by Maveritchell
It's telling you that it can't find the mesh cis_hero_jangofett. Also, unless you've renamed the mesh file, there is no cis_hero_jangofett.msh, just a cis_inf_jangofett.msh.

Re: strange error

Posted: Sun Mar 09, 2008 12:19 pm
by Maveritchell
Ack. It's giving you those errors because you're still asking it to use a bunch of things from the x-wing mesh that the prop Millennium Falcon doesn't have, like hardpoints and associated animations.

Re: strange error

Posted: Sun Mar 09, 2008 12:44 pm
by elfie
ok. Now I have another problemo. none of my third sides are showing up in my gcw. here is my lua:
Hidden/Spoiler:
[code]--
-- Copyright (c) 2005 Pandemic Studios, LLC. All rights reserved.
--

ScriptCB_DoFile("setup_teams")
ScriptCB_DoFile("ObjectiveConquest")

-- Empire Attacking (attacker is always #1)
local ALL = 2
local IMP = 1
-- These variables do not change
local ATT = 1
local DEF = 2

function ScriptPostLoad()


--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}



--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)

conquest:Start()
SetUberMode(1);
EnableSPHeroRules()

end


---------------------------------------------------------------------------
-- FUNCTION: ScriptInit
-- PURPOSE: This function is only run once
-- INPUT:
-- OUTPUT:
-- NOTES: The name, 'ScriptInit' is a chosen convention, and each
-- mission script must contain a version of this function, as
-- it is called from C to start the mission.
---------------------------------------------------------------------------

function ScriptInit()

ReadDataFile("ingame.lvl")



SetMaxFlyHeight(400)
SetMaxPlayerFlyHeight(400)


SetMemoryPoolSize ("ClothData",20)
SetMemoryPoolSize ("Combo",50) -- should be ~ 2x number of jedi classes
SetMemoryPoolSize ("Combo::State",650) -- should be ~12x #Combo
SetMemoryPoolSize ("Combo::Transition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Condition",650) -- should be a bit bigger than #Combo::State
SetMemoryPoolSize ("Combo::Attack",550) -- should be ~8-12x #Combo
SetMemoryPoolSize ("Combo::DamageSample",6000) -- should be ~8-12x #Combo::Attack
SetMemoryPoolSize ("Combo::Deflect",100) -- should be ~1x #combo


ReadDataFile("sound\\tat.lvl;tat2gcw")
ReadDataFile("dc:SIDE\\all.lvl",
"all_inf_rifleman",
"all_inf_rocketeer",
"all_inf_sniper",
"all_inf_pilot",
"all_inf_officer",
"all_inf_wookiee",
"all_hero_hansolo_tat",
"all_hero_luke_pilot")

ReadDataFile("SIDE\\jed.lvl",
"jed_kight_04")

ReadDataFile("dc:SIDE\\ewk.lvl",
"ewk_inf_basic")

ReadDataFile("dc:SIDE\\imp.lvl",
"imp_inf_officer",
"imp_inf_dark_trooper",
"imp_hero_bobafett",
"imp_fly_destroyer_dome" )

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

SetupTeams{
all = {
team = ALL,
units = 90,
reinforcements = 450,
soldier = { "all_inf_rifleman",9, 65},
assault = { "all_inf_rocketeer",1,4},
engineer = { "all_inf_pilot",1,4},
sniper = { "all_inf_sniper",1,4},
officer = { "all_inf_officer",1,4},
special = { "all_inf_wookiee",1,4},

},
imp = {
team = IMP,
units = 90,
reinforcements = 450,
soldier = { "",9, 65},
assault = { "",1,8},
engineer = { "",1,8},
sniper = { "",1,8},
officer = { "imp_inf_rifleman",9,65},
special = { "imp_inf_dark_trooper",1,65},
},
}

SetHeroClass(ALL, "all_hero_luke_pilot")
SetHeroClass(IMP, "imp_hero_bobafett")

AddUnitClass(ALL, "jed_knight_04",5,12)
AddUnitClass(IMP, "ewk_inf_basic",5,12)

-- Level Stats
ClearWalkers()
AddWalkerType(0, 0) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)[/code]

Re: strange error

Posted: Sun Mar 09, 2008 1:17 pm
by [RDH]Zerted
What do you mean by third side?

Re: strange error

Posted: Sun Mar 09, 2008 1:35 pm
by woner11
He might mean the ewok and the jedi.

Re: strange error

Posted: Mon Mar 10, 2008 12:16 am
by [RDH]Zerted
Those lines don't have any problems. What does your error log say?

Re: strange error

Posted: Mon Mar 10, 2008 12:31 am
by woner11
Are you trying to add locals or are units on a certain team not showing up.

Re: strange error

Posted: Mon Mar 10, 2008 4:19 pm
by elfie
there are no locals. It is just added on units from another side added onto my imp+ewok side. I did, however edit the ewok side. I added a jedi unit in CW though and it worked perfectly.

Also I had no severe 3 warnings in my error log. And I don't think there is something wrong with my ewok side or the game would crash.