Anyways, I'm adding my own version of the droideka to my own side, TRF (short for Trade Federation) and I've been having problems implementing it. As far as I am aware, all files required are in the proper locations, that I could find. I haven't been able to get it to work. I checked my luas and noticed there was no comma after the first class (the droid rifleman I added) like it showed on all the other classes, so I added the comma. It's been crashing so I removed the comma and this version of the droideka entirely. Can anyone find out what's wrong?
Droideka Causes Crash [Solved]
Moderator: Moderators
-
RevanSithLord
- Sith Master

- Posts: 2636
- Joined: Mon Nov 07, 2005 12:40 am
- Projects :: Designated Days + LFC + GT vs SWBFC
- xbox live or psn: Master Revan
- Location: GDSS Philadelphia
Droideka Causes Crash [Solved]
I've done some searches, but if I somehow skipped over a similar topic about droidekas, please link me and just close the thread or something. It's very likely I missed it whilst browsing if there was another thread.
Anyways, I'm adding my own version of the droideka to my own side, TRF (short for Trade Federation) and I've been having problems implementing it. As far as I am aware, all files required are in the proper locations, that I could find. I haven't been able to get it to work. I checked my luas and noticed there was no comma after the first class (the droid rifleman I added) like it showed on all the other classes, so I added the comma. It's been crashing so I removed the comma and this version of the droideka entirely. Can anyone find out what's wrong?
To confirm that it was in-fact the droideka causing problems, I removed him from the .lua, and that seems to have stopped my map from crashing the game. I suppose I'll just go and do the other classes until then, but this one is just not wanting to do it for me.
Anyways, I'm adding my own version of the droideka to my own side, TRF (short for Trade Federation) and I've been having problems implementing it. As far as I am aware, all files required are in the proper locations, that I could find. I haven't been able to get it to work. I checked my luas and noticed there was no comma after the first class (the droid rifleman I added) like it showed on all the other classes, so I added the comma. It's been crashing so I removed the comma and this version of the droideka entirely. Can anyone find out what's wrong?
Hidden/Spoiler:
-
ARCTroopaNate
- Jedi

- Posts: 1161
- Joined: Mon Mar 21, 2011 8:12 pm
- Projects :: Star Wars Battlefront - Tides of War
- xbox live or psn: I have ps4
- Location: STALKER!
- Contact:
Re: Droideka Causes Crash
Could you please post your lua? Also, I would suggest fixing those missing 1st person models, it may not affect the droideka but you never know, battlefront can be picky sometimes. 
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
-
RevanSithLord
- Sith Master

- Posts: 2636
- Joined: Mon Nov 07, 2005 12:40 am
- Projects :: Designated Days + LFC + GT vs SWBFC
- xbox live or psn: Master Revan
- Location: GDSS Philadelphia
Re: Droideka Causes Crash
@Marth: I'm pretty sure I saw that in there, but I will double-check and let you know if it's in there.
Edit - Yes, I has its.
@Nate: Sure I'll go grab it, but as I said I removed the class, but I can put it back how it was to show you what I had.
Also yeah, I'll fix those 1st problems, they are getting rather annoying. XD
Edit - This is what I had, which actually did crash the game. Note: without the droideka, it's fine. Also, DC is in front of REP and CIS because I don't want those default classes loaded in there. Earlier when I had droideka class removed and added DC (yes I know what it does and what it stands for) in front of those, it loaded only my TRF and LRP sides with the two only classes for them, so I can actually test only those. I'm sure modders here have done that for ages, but I find it convenient to test specific side units. Just had a big deathmatch between only B-1's and Pirate Riflemen earlier. It was cool and insane.
Edit - Yes, I has its.
@Nate: Sure I'll go grab it, but as I said I removed the class, but I can put it back how it was to show you what I had.
Also yeah, I'll fix those 1st problems, they are getting rather annoying. XD
Edit - This is what I had, which actually did crash the game. Note: without the droideka, it's fine. Also, DC is in front of REP and CIS because I don't want those default classes loaded in there. Earlier when I had droideka class removed and added DC (yes I know what it does and what it stands for) in front of those, it loaded only my TRF and LRP sides with the two only classes for them, so I can actually test only those. I'm sure modders here have done that for ages, but I find it convenient to test specific side units. Just had a big deathmatch between only B-1's and Pirate Riflemen earlier. It was cool and insane.
Hidden/Spoiler:
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: Droideka Causes Crash
i don't know if it would help much, but i also had a problem with droidekas, whenever i add them they would crash. the weird thing is when i removed ai from the team with the droidekas it didn't crash when i used the droideka.
Does the droideka crash with ai disabled? Also have you done any changes to the droideka? mine worked untill i changed it's skin.
Does the droideka crash with ai disabled? Also have you done any changes to the droideka? mine worked untill i changed it's skin.
-
RevanSithLord
- Sith Master

- Posts: 2636
- Joined: Mon Nov 07, 2005 12:40 am
- Projects :: Designated Days + LFC + GT vs SWBFC
- xbox live or psn: Master Revan
- Location: GDSS Philadelphia
Re: Droideka Causes Crash
Yeah, I retextured it and I gave it the effects from Tusken Camp assets. Sad. Is it just something that can't be done? I didn't know BF2 was THAT picky on when you retexture things.
I know for a fact the problem has always been the droideka and nothing else. I guess I could leave it out for now.
I know for a fact the problem has always been the droideka and nothing else. I guess I could leave it out for now.
-
ARCTroopaNate
- Jedi

- Posts: 1161
- Joined: Mon Mar 21, 2011 8:12 pm
- Projects :: Star Wars Battlefront - Tides of War
- xbox live or psn: I have ps4
- Location: STALKER!
- Contact:
Re: Droideka Causes Crash
Could you use setclassproperty to edit it? I've made fully functioning edited droidekas via lua and setclassproperty.
-
RevanSithLord
- Sith Master

- Posts: 2636
- Joined: Mon Nov 07, 2005 12:40 am
- Projects :: Designated Days + LFC + GT vs SWBFC
- xbox live or psn: Master Revan
- Location: GDSS Philadelphia
Re: Droideka Causes Crash
Oh, that could work. I'll try that when I get back in about half-hour. 
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Droideka Causes Crash
That just allows them to show up. It wouldn't crash the game.Marth8880 wrote:Has you this in teh loo-ow?
Code: Select all
AddWalkerType(0, 4) -- special -> droidekas
You must have done something else wrong. The only thing special about the Droideka is that it's a "walkerdroid." Other than that, it can be reskinned, given new weapons, etc. just like any other unit, and it will work fine if you have all of the files necessary that are associated with it/called for, which leads to:Dakota wrote:mine worked untill i changed it's skin.
Can you list all of these files please just to check if you really do have all of the files required?RevanSithLord wrote:As far as I am aware, all files required are in the proper locations,
-
RevanSithLord
- Sith Master

- Posts: 2636
- Joined: Mon Nov 07, 2005 12:40 am
- Projects :: Designated Days + LFC + GT vs SWBFC
- xbox live or psn: Master Revan
- Location: GDSS Philadelphia
Re: Droideka Causes Crash
Yes, I shall. With my luck I probably really am missing a few.
Filtering by droideka related files:
[Effects]
cis_droideka_dust.tga
cis_droideka_shield.msh + .msh option
cis_droideka_shield.tga
cis_sfx_droideka_explosion.fx
droideka_wake.fx
droidekashield.fx
ptc_sfx_droideka_laser.tga
[MSH]
cis_1st_droideka_hands.tga
cis_inf_droideka.tga
cis_1st_droideka.msh + .msh option
cis_walk_droideka.msh + its low1 msh file.
droideka_chunk1.msh - all the way up to the 5th chunk.
hud_droideka_shield.msh + option + tga
cis_inf_droideka.tga.option
cis_droideka_idle + roll + their low1 files + options.
[ODF]
trf_inf_droideka.odf (my file, it references everything it should, I believe)
cis_inf_droideka_exp.odf
cis_weap_walk_droideka_shield.odf
cis_weap_inf_repeater.odf and its ord.
That's all I could find.
However, when I look at the default Droidekas req, it shows this:
I'm guessing that, by judging from the Droideka's req that I set it up wrong? I sound like such a noob.
I've been trying to narrow down everything.
Filtering by droideka related files:
[Effects]
cis_droideka_dust.tga
cis_droideka_shield.msh + .msh option
cis_droideka_shield.tga
cis_sfx_droideka_explosion.fx
droideka_wake.fx
droidekashield.fx
ptc_sfx_droideka_laser.tga
[MSH]
cis_1st_droideka_hands.tga
cis_inf_droideka.tga
cis_1st_droideka.msh + .msh option
cis_walk_droideka.msh + its low1 msh file.
droideka_chunk1.msh - all the way up to the 5th chunk.
hud_droideka_shield.msh + option + tga
cis_inf_droideka.tga.option
cis_droideka_idle + roll + their low1 files + options.
[ODF]
trf_inf_droideka.odf (my file, it references everything it should, I believe)
cis_inf_droideka_exp.odf
cis_weap_walk_droideka_shield.odf
cis_weap_inf_repeater.odf and its ord.
That's all I could find.
However, when I look at the default Droidekas req, it shows this:
Hidden/Spoiler:
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Droideka Causes Crash
You're missing the Droideka's animation files, which can be found in assets\sides\cis\munged. 
-
RevanSithLord
- Sith Master

- Posts: 2636
- Joined: Mon Nov 07, 2005 12:40 am
- Projects :: Designated Days + LFC + GT vs SWBFC
- xbox live or psn: Master Revan
- Location: GDSS Philadelphia
Re: Droideka Causes Crash
*facepalm* Lemme check to make sure I even have those in the location where required.
Edit - I had the fp anims, but not the normal anims. I am such a dork...I'll munge and see if this fixes it...
Edit 2 - I knew I was forgetting something.
Edit 3 - crashed. Also said couldn't load dc:SIDE\\rep.lvl, which doesn't make sense as I had that without any problems since I only want to test out the custom units, not the stock ones plus mine. So I took out the dc just now, gonna see if I get another crash.
Edit 4 - another crash. Strange.
Edit 5 - Made my trf_inf_droideka.req look exactly like cis_inf_droideka.req, will see if it works.
Edit 6 - SUCCESS. That was the problem the whole time. The req was incorrect.
May now mark as solved and maybe even sticky in-case people run into this problem.
Edit - I had the fp anims, but not the normal anims. I am such a dork...I'll munge and see if this fixes it...
Edit 2 - I knew I was forgetting something.
Edit 3 - crashed. Also said couldn't load dc:SIDE\\rep.lvl, which doesn't make sense as I had that without any problems since I only want to test out the custom units, not the stock ones plus mine. So I took out the dc just now, gonna see if I get another crash.
Edit 4 - another crash. Strange.
Edit 5 - Made my trf_inf_droideka.req look exactly like cis_inf_droideka.req, will see if it works.
Edit 6 - SUCCESS. That was the problem the whole time. The req was incorrect.
