How to add Commander Cody [Solved]
Moderator: Moderators
- 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: How to add Commander Cody
What does it tell you when you try to run it? Any original game will give an error if BF2_modtools.exe doesn't work.
-
Firenic
- Private Second Class
- Posts: 60
- Joined: Tue Jul 31, 2007 3:47 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How to add Commander Cody
Please, insert CD 1
- 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: How to add Commander Cody
Ah, you must have the DVD version. If so, the FAQ has a way to get that same BFront2.log. Check it. 
Question: My map keeps crashing. What's wrong?
Answer: Could be lots of things. If you have the CD version, you can run BF2_modtools.exe, which produces a debug output called BFront2.log. Thanks to [RDH]Zerted, those with the DVD version can now get that same log. For information, visit this link:
http://www.gametoast.com/forums/viewtopic.php?t=5363
-
Firenic
- Private Second Class
- Posts: 60
- Joined: Tue Jul 31, 2007 3:47 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How to add Commander Cody
How do i create a .file???
I created one with wordpad, but when i click "open with" Battlefront II
it appears a Window saying "Fatal" Couldn't read C:\Archivos de programa\Lucasarts\Star wars battlefront II S.lvl
I don't know what to do :crying:
*Edit: Now i'm uploading my map to filefront, if someone can, please try to do that of the log in your pc.
I created one with wordpad, but when i click "open with" Battlefront II
it appears a Window saying "Fatal" Couldn't read C:\Archivos de programa\Lucasarts\Star wars battlefront II S.lvl
I don't know what to do :crying:
*Edit: Now i'm uploading my map to filefront, if someone can, please try to do that of the log in your pc.
- 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: How to add Commander Cody
Hopefully this doesn't come out wrong:
We won't do it for you. Once you set the web server up once it's easy to do from then on, and it's essential that you start learning things that way. So ask away on what you need to setup the server to get BFront2.log. Because once you have your log appearing you can debug any map that you have making life tons easier. But if we don't help you through this part you'll get stuck an untold amount of times. Trust me, you need to be able to look at that log constantly, so we need to set you up with the SWBF2 Server Manager so you can get one.
Now, where on setting the manager are you stuck exactly?
We won't do it for you. Once you set the web server up once it's easy to do from then on, and it's essential that you start learning things that way. So ask away on what you need to setup the server to get BFront2.log. Because once you have your log appearing you can debug any map that you have making life tons easier. But if we don't help you through this part you'll get stuck an untold amount of times. Trust me, you need to be able to look at that log constantly, so we need to set you up with the SWBF2 Server Manager so you can get one.
Now, where on setting the manager are you stuck exactly?
-
Firenic
- Private Second Class
- Posts: 60
- Joined: Tue Jul 31, 2007 3:47 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How to add Commander Cody
Well, fisrt of all, sorry
Then. I udapte my game to 1.1, and i install the v1.1 server manager.
Then, i create a Bat file but with wordpad. And in it there's this
That's my pc's swbf2 server location. Then i click to this file, and i select "open with" option. Then, i select the battlefront II thing (the one that is a ep3 soldier hemlet) and appears a FATAL window saying that couldn't open .lvl (Couldn't read C:\Archivos de programa\Lucasarts\Star wars battlefront II S.lvl)
<- It shows like this
And i dunno what to do.
Thanks for all guys
P.D: Can you see my avatar?
EDIT
Well, Well, Well
I have added the "rep" folder into my assets, and now the map loads, and i can play, but, no Cody appears. Here's my Lua.
Please Help
Then. I udapte my game to 1.1, and i install the v1.1 server manager.
Then, i create a Bat file but with wordpad. And in it there's this
Hidden/Spoiler:
<- It shows like this
And i dunno what to do.
Thanks for all guys
P.D: Can you see my avatar?
EDIT
Well, Well, Well
I have added the "rep" folder into my assets, and now the map loads, and i can play, but, no Cody appears. Here's my Lua.
Please Help
Hidden/Spoiler:
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: How to add Commander Cody
So did you ever get the BFront2.log, and if you did, post that so we can help you.
- 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: How to add Commander Cody
Bat files don't need to be opened by anything. They run by just double clicking. If that doesn't work, go START-->RUN-->Type cmd and hit enter. From there move to the directory with your server and run the bat file.Firenic wrote:Well, fisrt of all, sorry
Then. I udapte my game to 1.1, and i install the v1.1 server manager.
Then, i create a Bat file but with wordpad. And in it there's this
That's my pc's swbf2 server location. Then i click to this file, and i select "open with" option. Then, i select the battlefront II thing (the one that is a ep3 soldier hemlet) and appears a FATAL window saying that couldn't open .lvl (Couldn't read C:\Archivos de programa\Lucasarts\Star wars battlefront II S.lvl)Hidden/Spoiler:
<- It shows like this
And i dunno what to do.
Thanks for all guys
P.D: Can you see my avatar?
As long as you didn't associate bat files with SWBF2 you'll be fine. (if you didn't check that checkbox at the bottom when you picked SWBF2)
-
Firenic
- Private Second Class
- Posts: 60
- Joined: Tue Jul 31, 2007 3:47 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How to add Commander Cody
But HOW do i create it? I've created it with wordpad, so it just opens it to edit it.
Can you give me details? (which programm, how..?
Can you give me details? (which programm, how..?
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: How to add Commander Cody
I don't have the DVD version, so I can't hold your hand through it, but if you followed the steps in the link, then you should have output a file named BFront2.log, that is what you need to post.
-
Firenic
- Private Second Class
- Posts: 60
- Joined: Tue Jul 31, 2007 3:47 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How to add Commander Cody
But that's why i want help!!! I need to make a .batch file to make it run and get the Log.Frisbeetarian wrote:I don't have the DVD version, so I can't hold your hand through it, but if you followed the steps in the link, then you should have output a file named BFront2.log, that is what you need to post.
So anyone knows????
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: How to add Commander Cody
Now that you've put in rep.lvl run the .bat file.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: How to add Commander Cody
Create a new text documentFirenic wrote:I need to make a .batch file to make it run and get the Log.
So anyone knows????
Type the contents into it that you need:
Example:
Code: Select all
C:
cd "C:\Program Files\LucasArts\Star Wars Battlefront II PC Server"
BattlefrontII.exe /gamename "Testing Map" /win /norender /resolution 200 200 /autonet dedicated /playercount 1 /bots 15 TESc_con 400 400Save it, close it, then rename the file yourname.bat or whatever, just make sure it has the .bat file extension.
- 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: How to add Commander Cody
And then you just double click to run it. You shouldn't have to associate it with any program. It should run natively in Windows. If it doesn't then your comp has either un-associated it or re-associated it with a different program.
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: How to add Commander Cody
The .bat file he had posted before looked perfectly alright to me.
-
Firenic
- Private Second Class
- Posts: 60
- Joined: Tue Jul 31, 2007 3:47 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How to add Commander Cody
Well, I just repeat you the same. I don't know how to create it.
I right-clik and i select "new". There's no batch file there, so i create a wordpad document.
Then if i double click it, it just opens and i can edit it. No runs.
:crying:
I right-clik and i select "new". There's no batch file there, so i create a wordpad document.
Then if i double click it, it just opens and i can edit it. No runs.
:crying:
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
Re: How to add Commander Cody
have to rename it from .txt to .bat
-
Firenic
- Private Second Class
- Posts: 60
- Joined: Tue Jul 31, 2007 3:47 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How to add Commander Cody
Well, now i ahve a good batch file. I open it, but then a small window appears but nothing else. What do i have to do now?
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: How to add Commander Cody
What was in the window, and how long did you wait before closing it?
-
Firenic
- Private Second Class
- Posts: 60
- Joined: Tue Jul 31, 2007 3:47 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How to add Commander Cody
When a few time passes, appears this:
Game: Testing Map
Mission: C66c_con
Teams: Republic vs. CIS
Score: 400 to 400
time: 0m0s
Players: { } (0)
And nothing more.......
Game: Testing Map
Mission: C66c_con
Teams: Republic vs. CIS
Score: 400 to 400
time: 0m0s
Players: { } (0)
And nothing more.......
