Page 2 of 4
Posted: Mon Mar 20, 2006 10:21 pm
by EraOfDesann
Okay, I tried that and it didn't work. However I ran the map in the BF2_modtools.exe and I got this message about Plo Koon.
Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:SIDE\plo.lvl
Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(1379)
Hero class "plo_plokoon" not found for team 1 (check the side's .req file)
Message Severity: 2
.\Source\Team.cpp(658)
Team missing hero class "0x8ecd86e7" (check the side's .req file)
Posted: Tue Mar 21, 2006 11:50 am
by Epena
Yeah, yeah.
I had some issue last night. I added him to my test map no prob. Then when it came to my real map, it wasn't working.
Follow this guide step-by-step. I suggest that you delete everything Plo-wise and start over. That's what I did this morning.
First.
You take the common folder found in Assests\Sides. You place it in data_VER\Sides (I'm assuming that you used VER for Veriss, bear with me) Then you take the plo folder and place it in data_VER too, as a folder.
Then.
Go to data_VER\_BUILD\Sides and create a folder called plo . IT IS IMPORTANT THAT IT IS "plo", NOT "PLO". Go to ALL and copy clean.bat and munge.bat and past them in your 'plo' folder there.
Next.
Go to data_VER\Common\Scripts\VER\VERc_con.lua . Open it.
Important part that you most definately messed up on before!
Then edit your lua so that this part looks EXACTLY like this!
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",
"rep_hover_fightertank",
"rep_hero_plokoon",
"rep_hover_barcspeeder")
Okay. Got that? Let's move on to the next section.. Place this UNDER the tur.lvl info. Hit enter twice, and ont he second line that you made (I'm pretty sure you need one line space between tur and plo) paste this--
ReadDataFile("dc:SIDE\\plo.lvl",
"rep_hero_plokoon")
Last part!!
Find this stuff and edit it so it's EXACTLY like this. Just ignor the CIS stuff, it's there to help you find the line..
SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_plokoon")
NOTE!!!!! It is "rep_hero_plokoon"!
-Not- "plo_plokoon"!!!!! It is set to register as rep_hero_plokoon in its REQ!
Now...why did I type that all up when I know the answer already? In case you made a mistake somewhere else along the line, like the PLO folder (not sure about that, but make it lowercase to be safe)...and also for anyone else that needs help adding Plo Koon or other custom heros.
Hey, I might even use it in case I forget!

Posted: Tue Mar 21, 2006 12:19 pm
by yodaminch
Not quite sure why you you are renaming it to rep_hero. You'll need to rename the odf as well to do that.
Posted: Tue Mar 21, 2006 12:21 pm
by Teancum
Its much easier to find that way. It's what they call 'sytactic sugar'.
Posted: Tue Mar 21, 2006 12:41 pm
by yodaminch
well if its easier, then i'll just make rep_hero for the others i guess.
Posted: Tue Mar 21, 2006 12:48 pm
by Epena
It appears that we got diferent versions of Koon.
I highly recommend Tean's 'updated' version with force judgement.
It might even work in your map! lol
Posted: Tue Mar 21, 2006 2:33 pm
by EraOfDesann
So which method do I use?

Posted: Tue Mar 21, 2006 2:50 pm
by Epena
Get Tean's Koon version from him and use my method.

Posted: Tue Mar 21, 2006 2:53 pm
by EraOfDesann
Okay, so may I have your version Tean'?

Posted: Tue Mar 21, 2006 3:17 pm
by Epena
Posted: Tue Mar 21, 2006 9:40 pm
by EraOfDesann
Okay so I don't need to edit anything besides the lua?
Posted: Tue Mar 21, 2006 10:03 pm
by Epena
No, just the lua and make some folders, etc. Follow my tutorial and I garuntee it'll work. I didn't leave anything out.
Posted: Tue Mar 21, 2006 10:08 pm
by EraOfDesann
Epena wrote:No, just the lua and make some folders, etc. Follow my tutorial and I garuntee it'll work. I didn't leave anything out.
Well I hate to say it but...no success. I followed your tutorial exactly. I'm not sure why, but I can never get SIDES working. It's so frustrating!

Posted: Tue Mar 21, 2006 10:32 pm
by Epena
Uggh.
Email me your world's file and I'll set it up for you. Or send it to me on MSN
[email protected] (Old email....it's my MSN, though) My current email is
[email protected]
EDIT--what'd actually be easier if you just sent me your LUA and I can send you a separate SIDE folder with everything set up. Whatever you prefer...I know I wouldn't nessecarily feel comfortalbegiving out my world file to some guy with a online name meaning stone.

Posted: Sat Mar 25, 2006 1:18 pm
by EraOfDesann
Okay I'm going to try and do a little work on the map today, so I'll give you the stuff later. Could you maybe specify which files and folders you need? The entire mod folder is like 103MB when it's zipped so...Anyway thanks for the help so far Epena. I appreciate it.
EDIT: Okay, I just saw your edit. ROFL I can give you the lua later today, right now I'm busy.

Posted: Sat Mar 25, 2006 4:13 pm
by Epena
Okay. It'd be easiest to get this done on MSN.
No prob, man. I'm happy to help people when they need it...I sure appreciate it when I receive such assistance.
My little ways to give abck to this community.
Posted: Sat Mar 25, 2006 8:02 pm
by EraOfDesann
Okay I PM'd you a link to the lua. My MSN isn't working so that complicated e-mailing it to you but this should be ok.
Posted: Mon Apr 03, 2006 4:15 pm
by Epena
I PMed you the fixed version. I highly recomend that you delte the old stuff and put the new version in becasue you don't wanta ny overwriting crud that cometimes occurs.
If you didn't get the PM, I've still got the zip on my desktop. Lemme know if it works....if not, quite sad, quite sad, indeed.
Posted: Mon Apr 03, 2006 6:54 pm
by EraOfDesann
I got it. And...the map crashed and had other problems so I couldn't find out whether or not it worked. I'm restarting the map (layout is same, I saved the world1 files) to get rid of any problems. As of yet I haven't tested it again, since I've been busy trying to fix the mysterious problems. Whenever I get to testing it I'll let you know on whether or not it was successful.
Posted: Tue Apr 04, 2006 10:42 am
by Epena
Alrighty.
If not I'll continue sniffing around for errors, though I haven't found any yet. It works just fine in my game except for the name not working yet. (but that's another story, localization. Crashed my mamp last time. >>;)