New jedi not working
Posted: Wed Dec 03, 2008 10:44 pm
So I've been working on a custom jedi, and I beleive that I have done everything correctly.
I made a new side, clonejedi, and I have a munged folder
inside the munged folder,
I have a req folder, with my trooper req.
I have a msh folder.
In the munged folder there is a PC folder.
contents.
I have a odf folder.
contents
here is the clonejedi_inf_ep3_cloneaayla.odf, and then the rep_inf_default_rifleman
I also have the proper effects, and I added the unit to the lua, and it doesn't work
lua.
the problem is the unit dosn't show up in the game. what do I need to do?
thanks
I made a new side, clonejedi, and I have a munged folder
inside the munged folder,
Code: Select all
aayla's anims,
humansabre animsCode: Select all
ucft
{
REQN
{
"class"
"clonejedi_inf_ep3_cloneaayla"
}
}
Code: Select all
imp_inf_weap_lightsaber
reversed_hilt
rep_inf_trooper_low1
rep_inf_trooper_low1.msh.option
rep_inf_trooper
rep_inf_trooper.msh.optioncontents.
Code: Select all
rep_inf_trooper
rep_inf_trooper.tga.optioncontents
Code: Select all
clonejedi_inf_ep3_clonaayla
com_weap_(forcepowers)
rep_inf_default_rifleman
rep_weap_lightsabre_aalyaCode: Select all
[GameObjectClass]
ClassParent = "com_jedi_default"
[Properties]
GeometryName = "rep_inf_trooper"
GeometryLowRes = "rep_inf_trooper_low1"
Code: Select all
[GameObjectClass]
ClassParent = "rep_inf_default"
AISizeType = "HOVER"
[Properties]
Label = "Republic Trooper"
UnitType = "trooper"
IconTexture = "rep_trooper_icon"
GeometryName = "rep_inf_trooper"
GeometryLowRes = "rep_inf_trooper_low1"
AnimationName = "aalya"
//JetJump
JetJump = "10.0" //The initial jump-push given when enabling the jet
JetPush = "0.0" //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration = "10.0" // for characters with jet jump, use this acceleration for in air control
JetEffect = ""
JetFuelRechargeRate = "0.0" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.0" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.0" //4initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "0.0" //minimum fuel to perform a jet jump(fuel is 0 to 1)
JetShowHud = 0
JetEnergyDrain = 40.0
CollisionScale = "0.0 0.0 0.0" // don't take damage from collisions
///JetJumpEnd
[Properties]
WEAPONSECTION = 1
WeaponName1 = "imp_inf_weap_lightsaber"
WeaponAmmo1 = 0
WeaponChannel1 =1
WEAPONSECTION = 2
WeaponName2 = "com_weap_inf_saber_throw"
WeaponAmmo2 = 0
WeaponChannel2 = 1
WEAPONSECTION = 3
WeaponName3 = "rep_weap_inf_forcepush"
WeaponAmmo3 = 0
WeaponChannel3 = 1
WEAPONSECTION = 4
WeaponName4 = "rep_weap_inf_mindtrick"
WeaponAmmo4 = 0
WeaponChannel4 = 1
VOUnitType = 121lua.
Code: Select all
ReadDataFile("dc:SIDE\\clonejedi.lvl",
"clonejedi_inf_ep3_cloneaayla")
some stuff
AddUnitClass(REP, "clonejedi_inf_ep3_cloneaayla",1,4)thanks