LUA error

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

User avatar
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

Re: LUA error

Post by destos »

ok we got progress =D the log no longer says cant find the reqs.... but it still crashes.... and this is all i can find on the log
Hidden/Spoiler:
Message Severity: 3
.\Source\Entity.cpp(218)
Entity base class "com_jedi_default" not found
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: LUA error

Post by AceMastermind »

Go to:
\BF2_ModTools\assets\sides\Common\odf
and copy:
com_jedi_default.odf
to:
data_FOT\Sides\fot\odf
then munge and play and see what happens.
User avatar
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

Re: LUA error

Post by destos »

well now it cant find this.... and i dont understand fully what it wants....
Hidden/Spoiler:
Message Severity: 3
.\Source\Weapon.cpp(2044)
Weapon "jed_weap_lightsaber_obiwan" missing geometry "rep_weap_inf_lightsabre"

Message Severity: 3
.\Source\WeaponMelee.cpp(3191)
WeaponMelee "jed_weap_lightsaber_obiwan" invalid combo definition file "rep_hero_ep3obiwan"

Message Severity: 3
.\Source\WeaponMelee.cpp(3196)
WeaponMelee[jed_weap_lightsaber_obiwan]::ComboAnimationBank invalid params "human_sabre melee rep_hero_ep3obiwan"

Message Severity: 3
.\Source\EntityGeometry.cpp(619)
Entity "fot_inf_knight_01" missing geometry "jed_inf_jedi"
.....
ryukaji
Major
Major
Posts: 513
Joined: Mon Sep 17, 2007 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: LUA error

Post by ryukaji »

looks like you need
rep_weap_inf_lightsabre.msh, and jed_inf_jedi.msh, in your side MSH folder

but cant help with the combo stuff...
User avatar
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

Re: LUA error

Post by destos »

ok now then.... i got a new batch of errors that i cant figure out at all..... but now the game gets passed load screen and i can see for a split second what my char looks like and it makes me happy =D but yea... so here what the thing wats now... i cant find it anywhere in my assests folder....
Hidden/Spoiler:
Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_useforce(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_throw(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_catch(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_block_idle(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_attack_backwards(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_dashattack(_upper)
got any ideas? and also thank you for sticking with me for this long.....
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: LUA error

Post by Tourny »

First of all, I think that you do not have the correct mindset for the understanding. You must think of it EXTREMELY literally and stop thinking that the computer isn't speaking english, because it is. It is simply to simple for us to understand. Usually the answer is obvious.
I apologize if I sound like a smarty pants (for lack of a better word) but the answer is simply that it cannot find the animations. Theories:
1. THey do not exist by default, in which case you should go to assets/(enter whatever soldieranimationbank your dude uses, which soundsl ike obiwan) and copy it to data_***/Animations/SoldierAnimationBank. Then you make a folder for your guy. THen you copy the animations you want into your guys folder. The catch is that you have to rename them from e.g. human_saber_etc. to (your folder's name)_etc.

2. You're missing the zafbin, zaabin etc. Files from the MUNGED folder. If you don't HAVE a munged folder then get one.

And I have another possibility.
It seems to me like you're just editing the side "jed". If so you do not have to rename it. Just say to read DC:SIDE//jed.lvl and then the guys you want.

Edit
and then edit the guys you want*
(srry, there wasn't an obvious "EDIT" button)
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Re: LUA error

Post by RED51 »

Tourny wrote:First of all, I think that you do not have the correct mindset for the understanding. You must think of it EXTREMELY literally and stop thinking that the computer isn't speaking english, because it is. It is simply to simple for us to understand. Usually the answer is obvious.
I apologize if I sound like a smarty pants (for lack of a better word) but the answer is simply that it cannot find the animations.
For some reason that sounded rude to me. Anyone else think that? Anyway, Did you copy the munged folder found in the assests/sides/commomfolder along with every thing else in it? If not, then do it, and those errors way go away. If your game still crashs, then the problem is else where
User avatar
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

Re: LUA error

Post by destos »

bah still says the same exact thing i have the human zaabin anim and that other z file and the obiwan files..... but no dice yet it is still asking for the attack moves.....

also tourney keep that up and your visit here at gametoast i can assure you will be shorter than a amoeba
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: LUA error

Post by Tourny »

Keep what up? I'm sorry if I sound rude. I am not trying to sound rude. It's just a talent that I have. And here I am with some of the wisest people ever and they still can't spell my name right. No offense. No offense is ever meant from me. EVER EVER EVER EVER EVER EVER. I only stepped it up because my WELCOME to the site was "If you've ever read the rules then you would know that double posting isn't allowed..." Which I apologized for right away, I didn't know I'd done it until I looked. And then they say my apology was spam. Which it wasn't. Then they tell me that apologizing doesn't make it better. And THEN they say I don't know what I'm talking about, which I do!

The problem is, when I SOUND like I know what I'm taling about I sound like a smart alec (again, for lack of a better word). But despite my rudeness my information and suggestions are perfectly plausible, aren't they?
I would appreciate it if I could just be left in my "I don't know what I;m talking about" stage because Desto is correct. And I don't want that to happen. (and then you're going to say this is spam...) YOu guys are perfectly right, this is not about how I'm better than all of you and we all know it.
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Re: LUA error

Post by -_- »

destos wrote:ok now then.... i got a new batch of errors that i cant figure out at all..... but now the game gets passed load screen and i can see for a split second what my char looks like and it makes me happy =D but yea... so here what the thing wats now... i cant find it anywhere in my assests folder....
Hidden/Spoiler:
Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_useforce(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_throw(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_catch(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_block_idle(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_attack_backwards(_upper)


Message Severity: 3
.\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation obiwan_sabre_stand_dashattack(_upper)
got any ideas? and also thank you for sticking with me for this long.....
For that, you'll need obiwan.ANIMS/.ZAABIN/.ZAFBIN from rep/munged copied to your custom side's munged folder. Make sure you clean/re-munge.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: LUA error

Post by [RDH]Zerted »

Tourny wrote:First of all, I think that you do not have the correct mindset for the understanding. You must think of it EXTREMELY literally and stop thinking that the computer isn't speaking english, because it is. It is simply to simple for us to understand. Usually the answer is obvious.
I apologize if I sound like a smarty pants (for lack of a better word) but the answer is simply that it cannot find the animations...
You can get your meaning across without saying anything in the red.
destos wrote:also tourney keep that up and your visit here at gametoast i can assure you will be shorter than a amoeba
You have no such say in the matter.
Tourny wrote:still can't spell my name right
There are so many spelling mistakes in the posts on GT and in general on the internet that its pointless to point out non-offensive (with offensive being something like zerted -> pervted) spelling errors.
Tourny wrote:Which I apologized for right away
Which for some reason is always annoying :?. Its best to just not do it again. Actions > Words. Also, full words in uppercase are annoying too. We're on the web. We can use bold, italic, or underlined text to make it stand out.
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: LUA error

Post by Tourny »

Yay! Forgiveness! Ahem
Post Reply