Master Leffe Posted March 2, 2006 Share Posted March 2, 2006 You know how on some ships, instead of saying "Nameofvessel" it says Class: _____? Is there any way to modify the game so that instead of saying Class:_______, it says something else? (Not for fighters though) Link to comment Share on other sites More sharing options...
Three60 Posted March 2, 2006 Share Posted March 2, 2006 Um... you could edit the words that pop up not to read that, and say what you want it to. I think... I haven't messed with that section yet (soon, but not yet). Link to comment Share on other sites More sharing options...
Master Leffe Posted March 2, 2006 Author Share Posted March 2, 2006 Hmmmm... But how would I make the random name script that the other ships have? Link to comment Share on other sites More sharing options...
Jmaster3265 Posted March 2, 2006 Share Posted March 2, 2006 You know how on some ships, instead of saying "Nameofvessel" it says Class: _____? Is there any way to modify the game so that instead of saying Class:_______, it says something else? (Not for fighters though) What? I don't follow.... Link to comment Share on other sites More sharing options...
Rhedd-5 Posted March 4, 2006 Share Posted March 4, 2006 It's not too hard. You'll need an extractor to get to the XML files in the Config.meg file, of course. STEP 1: You'll need to know the "unit name" of the ship you're dealing with. For instance, the only large ship that I know of that doesn't already get named is a modded-in Venator. In the mod that I'm using, the Rebel Venator is "Jedi_Cruiser_R", and the Imperial one is "Jedi_Cruiser_E". Look in the proper ship XML file for your ship's <<SpaceUnit Name=> line, if you don't know it. STEP 2: The first change you'll need to make is to create a .TXT file in ".../GameData/Data" that is named after your ship ( Jedi_Cruiser_E.txt ) and contains all of the names you want to randomize from. You can name it anything, really, but naming it after the ship is sensible and organized. You'll see all the other ship name files there, such as Corellian_Corvette.txt, so just look at those for an example of what the file should look like. If you aren't feeling very creative, you can just copy and rename one of those existing files, but be aware that if you do, you might end up with a fleet containing two ships with the same name. ^_^ STEP 3: If you don't already have a folder called ".../GameData/Data/XML", then make one, and place a copy of GAMECONSTANTS.XML in it. Search that XML for <ShipNameTextFiles> . You'll see the list of ship classes in the game (listed by unit name), and the text file associated with it. Make a new entry for your ship class. Be sure you get the commas right. look at the other lines to be sure. Each line ends in a comma except the very last line in the set. That's all there is to it. Sounds harder than it is. Now, go think up some really cool ship names! ^_^ Link to comment Share on other sites More sharing options...
Patrickj64_ak Posted March 4, 2006 Share Posted March 4, 2006 sweet... i have been looking for a way to do this. just couldnt seem to find the right place to go. Link to comment Share on other sites More sharing options...
Master Leffe Posted March 4, 2006 Author Share Posted March 4, 2006 I don't have time to do that right now, but I'm going to try that in a bit. Thanks Rhedd, that saved me a LOT of headaches. Link to comment Share on other sites More sharing options...
mandead Posted March 4, 2006 Share Posted March 4, 2006 I followed your instructions (and made sure to get the commas right) yet the Venator's names **** up a bit lol, 'cus instead of saying the ship's name, it just gives me a load of boxes like these: Any ideas? Link to comment Share on other sites More sharing options...
Jan Gaarni Posted March 4, 2006 Share Posted March 4, 2006 What did you change? The text on the left, or the text on the right? Also, remember to make a backup of the file before you change anything. Link to comment Share on other sites More sharing options...
Rhedd-5 Posted March 4, 2006 Share Posted March 4, 2006 No problem Leffe. I figured out how to do it by accident, and remembered seeing your question here. Mandead, boxes like that usually mean that something is trying to print symbols that don't exist in the typefont. I have NO idea why your ship names would be doing that to you. I tested this method myself before posting, so it worked fine for me. Try renaming one of the existing ship name TXT files, just to see if you still have the same problem. If you don't then it's something about how you're typing up your list of names. You aren't saving it from Word with formatting, or something, are you? Link to comment Share on other sites More sharing options...
mandead Posted March 4, 2006 Share Posted March 4, 2006 <!-- Files for custom ship names --> <ShipNameTextFiles> Calamari_Cruiser, Data\Calamari_Cruiser.txt, MC80_Calamari_Cruiser, Data\Calamari_MC80.txt, Generic_Star_Destroyer, Data\Star_Destroyer.txt, Star_Destroyer, Data\Star_Destroyer.txt, Star_Destroyer_Tractor_Fighters, Data\Star_Destroyer.txt, Corellian_Corvette, Data\Corellian_Corvette.txt, Corellian_Gunboat, Data\Corellian_Gunboat.txt, Broadside_Class_Cruiser, Data\Broadside_Class_Cruiser.txt, Marauder_Missile_Cruiser, Data\Marauder_Missile_Cruiser.txt, Nebulon_B_Frigate, Data\Nebulon_B_Frigate.txt, Alliance_Assault_Frigate, Data\Alliance_Assault_Frigate.txt, Victory_Destroyer_No_Fighters, Data\Victory_Destroyer.txt, Victory_Destroyer, Data\Victory_Destroyer.txt, Acclamator_Assault_Ship, Data\Acclamator_Assault_Ship.txt, Interdictor_Cruiser, Data\Interdictor_Cruiser.txt, Tartan_Patrol_Cruiser, Data\Tartan_Patrol_Cruiser.txt, Action IV Transport, Data\Pirate_Frigate.txt, Shadowclaw, Data\Shadowclaw.txt, Jedi_Cruiser_E, Data\Jedi_Cruiser_E.txt, Jedi_Cruiser_R, Data\Jedi_Cruiser_R.txt </ShipNameTextFiles> That's from GAMECONSTANTS.XML I can't see the problem being with the .TXT files... Link to comment Share on other sites More sharing options...
Tokakeke Posted March 4, 2006 Share Posted March 4, 2006 I believe since E and R are variants, it won't work. Try just Jedi_Cruiser. Link to comment Share on other sites More sharing options...
Master Leffe Posted March 4, 2006 Author Share Posted March 4, 2006 I hate to say it, but I can't get it to work either... No boxes, just nothing's changing... Rhedd, I don't suppose you could post your files for us to glance at? Link to comment Share on other sites More sharing options...
Patrickj64_ak Posted March 5, 2006 Share Posted March 5, 2006 hmmm. im getting those darn square boxes too. Link to comment Share on other sites More sharing options...
Rhedd-5 Posted March 5, 2006 Share Posted March 5, 2006 Odd. Works fine for me. Here, this file includes the edited GAMECONSTANTS.XML and two txt files of Venator names. There are as many names as the official ships have (18), but the Rebel and Imperial lists share the same names. They are, however, reversed, so you won't run into ships with the same name unless you have a lot of them. (The game doesn't pick randomly, it starts at the top and goes down the list.) I chose names that sounded "Old Republic" to me, but just use it as an example, if you want. NOTE: This will only work if you're using a mod that has Venators named "Jedi_Cruiser_R" and "Jedi_Cruiser_E". http://home.wnm.net/~bgriff/SW/VenatorNames.zip Link to comment Share on other sites More sharing options...
mandead Posted March 5, 2006 Share Posted March 5, 2006 Right, cheers. I'll give it another whirl. Also, I'm doing the same thing with the Pirate Frigate. Can someone do me some ship names? Link to comment Share on other sites More sharing options...
Master Leffe Posted March 5, 2006 Author Share Posted March 5, 2006 Hmmm... Still not working... I have the .xml file in, and the two .txt's in... Link to comment Share on other sites More sharing options...
MistenTH Posted March 5, 2006 Share Posted March 5, 2006 You need to use a .DAT editor to edit the Master Text File in the TEXT folder. The notepad .txts are only to name individual ships. To rename classes and unit tooltips you need to go into the .DAT text files. Link to comment Share on other sites More sharing options...
Master Leffe Posted March 5, 2006 Author Share Posted March 5, 2006 Ok, I can do that, but what do I need to alter? Link to comment Share on other sites More sharing options...
Rhedd-5 Posted March 5, 2006 Share Posted March 5, 2006 Let's keep this straight... If you want to change "Star Destroyer" to a "Super Star Destroyer", or a "TIE Fighter" to a "TIE Defender", or something like that, then you have to edit the .DAT file. (As far as I know.) If you want to change ships that show up as a generic class, such as "Venator Class", to a unique, individual ship name, like "Aegis", "Stalwart", "Bonnie Mae" (heheh), then you do it the way I said. And, there's no reason in the world why those files I posted would't work, PROVIDED you're trying to give names to Venators, and only Venators, and they're called "Jedi_Cruiser_R" and "Jedi_Cruiser_E" in your files. Otherwise they can only be used as examples. If you search the XML for my name, "Rhedd", you'll find every line I've edited, since I make a notation on every edit. Oh... and you DO realize that individual ship names only show up in "Space mode" combat, not in "Galactic mode", right? Link to comment Share on other sites More sharing options...
Master Leffe Posted March 5, 2006 Author Share Posted March 5, 2006 By "SPace Mode", you mean skirmish mode, right? Link to comment Share on other sites More sharing options...
Master Leffe Posted March 5, 2006 Author Share Posted March 5, 2006 Wow, never mind. I was just playing a game, and all of a sudden the boxes disappeared and names started showing up... Odd... But, hey, I aint complaining! Thanks Rhedd. Link to comment Share on other sites More sharing options...
Rhedd-5 Posted March 6, 2006 Share Posted March 6, 2006 Well... that's one way to fix a problem. ^_^ You're welcome! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.