jedi_consulor Posted October 17, 2006 Posted October 17, 2006 (edited) I have seen this in bailknights code but what is it for ? can any one explain the usage of it and how it works. Cheers. Edited October 17, 2006 by jedi_consulor http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
DragonShadow Posted October 17, 2006 Posted October 17, 2006 it's kind of a slang for "name" or something like that... http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg
jedi_consulor Posted October 17, 2006 Author Posted October 17, 2006 Yes I already know it means 'nickname' what I want to know is what its used for in these mods. I found it in spaceunitfrigates and a few others in bailknights mod and in EAW Enhanced. They point to text files that dont exist in the mod at all. ? I want to know what is for in the mod and what is its usage (How to apply this type of code) in my own mods. depending on whether it has any real use. example code : Assault_Frigate_MKII.TXT This is the type of line of code I am finding - it obviously points to a txt file holding ship names. But does anyone know the proper use of this script ? http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
DragonShadow Posted October 17, 2006 Posted October 17, 2006 not a clue, it's not in the original EaW code. http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg
Vanguard Posted October 17, 2006 Posted October 17, 2006 It means call sign. And it is in EAW as this: TextFileName.txt
jedi_consulor Posted October 17, 2006 Author Posted October 17, 2006 I haven't seen it either in the original code. but none the less there is a few mods using this type of code. as I stated above it looks like a link to a text file. shipname.txt If it is to pull ship names from a text file I would guess it reads it from the data folder. any ideas ? http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
jedi_consulor Posted October 17, 2006 Author Posted October 17, 2006 It means call sign. And it is in EAW as this: TextFileName.txt ok but whats its usage ? does it call on shipnames ? and can it be used to read ship names from a text file in the data folder - rather than read from the game constants ship names entry,.? http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
scott2978 Posted October 17, 2006 Posted October 17, 2006 The "Moniker" tag tells the game where to look for the text file that lists the individual ship names that you see during space battles. For instance, your Star Destroyer named "Vengeance" the name Vengeance is from such a text file. I believe in the original game code this is done with the moniker tags, I'm pretty sure I've seen them in the XML files, but for some ships it might be hard coded. At any rate, in our mods, that's what it does. If you want a ship type to have specific names, put the moniker tag in the XML entry, and include a text file with that ship class name and the game will look there for individual ship names.
jedi_consulor Posted October 17, 2006 Author Posted October 17, 2006 ok, so if I have a text file I call say SSD.TXT in my data folder - I can called on the ship names in that text file from the moniker script ? - it will look in the data folder and read the ship names for that space unit. Or does it have to be a specific name ? http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
jedi_consulor Posted October 17, 2006 Author Posted October 17, 2006 I can't get it to work. In game ships appear dont appear with any new ship names.. http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
scott2978 Posted October 17, 2006 Posted October 17, 2006 Upon closer inspection I think I was wrong about that. The Moniker tags don't actually appear to do anything related to the ship names, that must be the entry in the GameConstants file. Sorry, I'm at work and don't have the actual files here to do adequate research. Scott
Vanguard Posted October 17, 2006 Posted October 17, 2006 Yes, but originally it is done via the GameConstants.XML, not via the Moniker tags, but due to a limit in the amount of new ship files you can use in the GameConstans.XML, people use the Moniker tags, which is a much simpler way of doing it without requiring the Constants file.
jedi_consulor Posted October 17, 2006 Author Posted October 17, 2006 LOL I can't get it to work, and I am at my ship name limit in the game constants file. I have put the text files in my mod data folder which have been listed in my xml files. For example I used Imperiator_StarDestroyer_II But nothing appears in the game. Its not pulling any names from the text file. http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
MonkeyBiz Posted October 18, 2006 Posted October 18, 2006 The moniker tag requires the ".txt" at the end. Also, the EaW ship name text files are somehow formatted differently than regular ones. Don't ask me how, I don't know. So you need to copy a pre-existing one, rename it, and delete the entries already in it to add your own. However, it is easier just to do it in GameConstants.xml. And I haven't run in to an upper bound on the number of files yet, and I've got about 20 odd entries.
jedi_consulor Posted October 18, 2006 Author Posted October 18, 2006 Thanks, yes I know about the txt extention and my entries do include the extention too Your suggestion of them being formatted differently could be the reason why it doesn't work. I am not sure however.. So far however I have already about 35 entries for text files in my game constants file. so I am not sure what the actual limit is ? like I say its at least 34-5 entries now. http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg Sote Mod Website @ http://sote-mod.com/forum/index.php?act=home
DragonShadow Posted October 18, 2006 Posted October 18, 2006 There's no limit. I don't know why anyone would say there was... http://i61.photobucket.com/albums/h65/NightshadowDragon/RyuuKageSIG.jpg http://i61.photobucket.com/albums/h65/NightshadowDragon/AoSW-JCW_Banner.jpg
Droid803 Posted October 18, 2006 Posted October 18, 2006 Um...I doubt this whole thing works at ALL. Why else would there be the list of ship names and text files in GAMECONSTANTS.XML if all you need is to put Tags? http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg"That was fun"
Logan Felipe Posted October 19, 2006 Posted October 19, 2006 The "Moniker" tag tells the game where to look for the text file that lists the individual ship names that you see during space battles. For instance, your Star Destroyer named "Vengeance" the name Vengeance is from such a text file. I believe in the original game code this is done with the moniker tags, I'm pretty sure I've seen them in the XML files, but for some ships it might be hard coded. At any rate, in our mods, that's what it does. If you want a ship type to have specific names, put the moniker tag in the XML entry, and include a text file with that ship class name and the game will look there for individual ship names. AllectoAvengerBasiliskChimaeraConquestDeath’s HeadDevastatorImplacableJudicatorMathayusRelentlessStalkerThunderflareTyrannicTyrantValorousVehementVengeanceVisageOne name per line. these files can be found in the "data" folder.It would seem that "moniker" refers to these text files. BTW; if you edit the text file above, you change what name your star destroyers have.If you want one to show up more often, just enter the same name multiple times;AllectoAvengerBasiliskChimaeraConquestConquestConquestConquestDeath’s HeadDevastatorImplacableJudicatorMathayusRelentlessStalkerThunderflareTyrannicTyrantValorousVehementVengeanceVisagethis method may result in multiple ships of the same name.you may also remove unwanted names and add new ones. For Example;AvengerBasiliskChimaeraConquestDeath’s HeadImplacableJudicatorRelentlessTyrantVehementVengeanceMalachorKorriban http://miniprofile.xfire.com/bg/sf/type/0/captainartenon.pnghttp://z4.invisionfree.com/The_Sith_Lords_EaW/index.php?act=Attach&type=post&id=5554600Alternate Sitehttp://i12.photobucket.com/albums/a245/loverdog/pffuserbar1.jpghttp://img228.imageshack.us/img228/6296/sweawuban0cg.pngPetition for Obsidian and Bioware to work on Knights of the Old Republic III together! 3926 Total Signatures and counting!SW Fanon Wiki entry - Captain Artenon"A fake news show on fox should have real news!" -Louis Black, The Daily Show.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now