Just a quick question...and now another...erm...little help?
Moderator: Moderators
-
Wadi
Just a quick question...and now another...erm...little help?
I have been spending this morning reading the Jedi creation doc and shouting at my PC when I load my level and, for the umpteenth time, my hero isn't there. I think (fingers crossed) that I've now got it down to one problem: the line "ReadDataFile...etc" that it tells you to put into "your mission script". It doesn't actually give me any clue where to put it. So where does it go?
Last edited by Wadi on Sun Jun 18, 2006 2:24 pm, edited 1 time in total.
-
Murdocr
RE: Just a quick question...
you need to put dc: before the readDatafile, eg:
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
-
Wadi
RE: Just a quick question...
Okay great, that works. But now, my Jedi crashes the game to desktop! I know that's not right. Here is the jedi ODF, it's jsut basic, nothing flash. I hope to be able to use it to make Wadi the Scottish Jedi once I've retextured the model...but see if you can spot what's wrong with it, it's probably a right mess but it's a learning curve...
If anybody wants to see the lightsaber ODF or anything, just ask if you think it'll help find out where I'm going wrong.
Code: Select all
[GameObjectClass]
ClassParent = "com_jedi_default"
GeometryName = "jed_inf_jedi.msh"
[Properties]
AISizeType = "HOVER"
GeometryName = "jed_inf_jedi"
GeometryLowRes = "jed_inf_jedi_low1"
OverrideTexture = "jed_inf_jedi02"
AnimationName = "mace"
//ClothODF = "rep_inf_ep3obiwan_skirt"
HealthType = "person"
MaxHealth = 200.0
AddHealth = 20.0
MaxSpeed = 8.0
MaxStrafeSpeed = 6.0
MaxTurnSpeed = 5.0
JumpHeight = 3.5
RecoverFromTumble = "1"
//Jet Jump
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
//Jet Jump End
WEAPONSECTION = 1
WeaponName1 = "jdi_weap_demo_lightsaber"
WeaponAmmo1 = 0
VOUnitType = 0181
//SoldierMusic = "rep_hero_ObiWan_lp"
HurtSound = ""
DeathSound = ""
AcquiredTargetSound = ""
HidingSound = ""
//ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
ShockFadeOutTime = ""
ShockFadeInTime = ""
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
//LowHealthSound = "com_inf_saber_ambient"
LowHealthThreshold = "1.1"
FoleyFXClass = "rep_inf_soldier"
-
fat_walrus
RE: Just a quick question...
Do you have a combo file? That was the problem for me then It loaded fine 
-
Wadi
RE: Just a quick question...
Yeah, but it's just mace's combos copied straight from his folder in assets.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
RE: Just a quick question...
Or much easier, load mace into memory as well
just add
ReadDataFile("SIDE\\REP.LVL, "rep_hero_macewindu")
and it will load his animations without copying files and creating more headaches. You don't have to add him to available characters, but he's in memory to use his anims.
just add
ReadDataFile("SIDE\\REP.LVL, "rep_hero_macewindu")
and it will load his animations without copying files and creating more headaches. You don't have to add him to available characters, but he's in memory to use his anims.
-
fat_walrus
RE: Just a quick question...
Thanks for the tip Teancum 
-
Wadi
RE: Just a quick question...
okay, I've implemented both those...my hero no longer has a combo file, ut still uses "mace", and the game now loads windu from ReadDataFile. However, my map now crashes to desktop just after side selection, so I don't even have the chance to see if my Jedi works. Those are the new symptoms - anybody care to diagnose, because I can't see anything wrong with my LUA or nay ODF's.
