Results 1 to 17 of 17

Thread: Unit and Country Descriptions...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Unit and Country Descriptions...

    Hi i am working on fixing Ludos Scotland Mod

    http://www.twcenter.net/forums/showthread.php?t=292637


    I have done a lot of work and managed to get it to work with 1.6



    The problems and whats still to be done.



    First off all of the custom units don't have names ,descriptions but they do in the pack.pack file ?



    How do i give them names and description ?

    Same with Scotland at the Campaign menu ?



    Also 2 of the units "Clansmen"[Melee Unit] and one of the new units "Highland warband" [Melee unit]

    after a while they just disappear ? i have changed there max recruit able to 0 ? so you can have many as you want but it didn't work for these 2 units ?
    Think its happening when barracks get upgrade ?



    Also i cant edit the DB/Faction Tables ? any reason for this ? i have to change b5 and b6 in order to make Scotland Blue instead of Black ?

    After this little task i can Re Release the mod for other user to enjoy this new campaign !
    Last edited by blazeftp; November 11, 2009 at 05:03 PM.

  2. #2

    Default Re: Unit and Country Descriptions...

    Hi,
    Unitnames and descriptions have to be placed in the localication.
    Make the units for the following military buildings (after the barracks) available
    Check also if you made it early or late available , and maybe bound to a technology


    Greetings
    Reptile
    In all deinen Schlachten zu kämpfen und zu siegen ist nicht die größte Leistung.
    Die größte Leistung besteht darin, den Widerstand des Feindes ohne einen Kampf zu brechen.
    (Sun Tsu)

  3. #3

    Default Re: Unit and Country Descriptions...

    Hi i am working on fixing Ludos Scotland Mod First off all of the custom units don't have names ,descriptions but they do in the pack.pack file ? How do i give them names and description ?
    Generally use the Ludo's fiules as a guide. As mentioned in the post above, units names and discr. are added to localisation.loc. For every unit you should make three entries, one for the name and two for short and long descriptions. Look Ludo's or vanilla entries to see the syntax. Remember that you have to make a new one based on the latest patch_en.pack/loclisation.loc or you'll get ctd.

    Same with Scotland at the Campaign menu ?
    Same here check in _loc for faction on scrren name for Scotland.

    Also 2 of the units "Clansmen"[Melee Unit] and one of the new units "Highland warband" [Melee unit]
    after a while they just disappear ? i have changed there max recruit able to 0 ? so you can have many as you want but it didn't work for these 2 units ? Think its happening when barracks get upgrade ?
    As mentioned above you have to determine in which buildings (every one) will be allowed recruitment.

    Also i cant edit the DB/Faction Tables ? any reason for this ? i have to change b5 and b6 in order to make Scotland Blue instead of Black ?
    Faction table can not be opened with PFM since it is older version. Make a new one from patch.pack. For colors see my tutorial here in 1.e and 2.a. Also there you'll find other useful infos.




  4. #4

    Default Re: Unit and Country Descriptions...

    Moved to Text Editing and Scripting.
    Curious Curialist curing the Curia of all things Curial.

  5. #5

    Default Re: Unit and Country Descriptions...

    [Edit] no matter got it
    Last edited by blazeftp; November 13, 2009 at 03:32 AM.

  6. #6

    Default Re: Unit and Country Descriptions...

    Right done everything but the loclisation.loc

    What would be the best way to do this ?

    I have the loclisation.loc from ludos mod and the one from patch_en

    What i was going to do was get the text from patch_en then copy it onto the end of ludos mod ?
    Would this work if so how do i do it ?
    Last edited by blazeftp; November 13, 2009 at 03:44 AM.

  7. #7

    Default Re: Unit and Country Descriptions...

    Quote Originally Posted by blazeftp View Post
    Right done everything but the loclisation.loc

    What would be the best way to do this ?

    I have the loclisation.loc from ludos mod and the one from patch_en

    What i was going to do was get the text from patch_en then copy it onto the end of ludos mod ?
    Would this work if so how do i do it ?
    Just right the opposite. You will copy from Ludo's to the new text pack you'll make and will be based on patch_en. I don't know what is gonna happen if you copy all entries. The right thing is to copy only the entries that Ludo has made or changed for his mod.




  8. #8

    Default Re: Unit and Country Descriptions...

    took about an hour to convert the patch_en to be compatable with ludos scot_loc then when i go to save PMF crashes !
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.InvalidCastException: Object cannot be cast from DBNull to other types.
    at System.DBNull.System.IConvertible.ToBoolean(IFormatProvider provider)
    at System.Convert.ToBoolean(Object value)
    at PackFileManager.LocFileEditorControl.setData()
    at PackFileManager.LocFileEditorControl.updatePackedFile()
    at PackFileManager.PackFileManagerForm.saveAsToolStripMenuItem_Click(Object sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4200 (NetFxQFE.050727-4200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    PackFileManager
    Assembly Version: 1.12.0.0
    Win32 Version: 1.12
    CodeBase: file:///C:/Users/Reaper/Desktop/PMF/PackFileManager.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Common
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Reaper/Desktop/PMF/Common.DLL
    ----------------------------------------
    Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    DataGridViewAutoFilter
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Reaper/Desktop/PMF/DataGridViewAutoFilter.DLL
    ----------------------------------------
    System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    WTF!!!!!! a whole hour gone !

  9. #9
    RO Citizen's Avatar Protector Domesticus
    Join Date
    Oct 2009
    Location
    Where do you think?
    Posts
    4,566

    Default Re: Unit and Country Descriptions...

    http://www.twcenter.net/forums/showthread.php?t=310189

    maybe the links to tutorials in that thread would help
    [Col] RO Citizen

  10. #10

    Default Re: Unit and Country Descriptions...

    extracted the file from the patch_en then opened new scot_loc replaced the file with the extracted one still wont save......

  11. #11

    Default Re: Unit and Country Descriptions...

    Quote Originally Posted by blazeftp View Post
    extracted the file from the patch_en then opened new scot_loc replaced the file with the extracted one still wont save......
    Can't you "save as" either?




  12. #12

    Default Re: Unit and Country Descriptions...

    Quote Originally Posted by husserlTW View Post
    Can't you "save as" either?
    Nope just comes up with error

  13. #13

    Default Re: Unit and Country Descriptions...

    Try this version pf PFM.




  14. #14

    Default Re: Unit and Country Descriptions...

    Tried that took the file from patch_en untouched opened scot_loc and replaced the file and saved as scot_loc 1

    Now i have edited the Scot_loc 1 and it wont save........
    Its driving me crazy as it takes an hour to edit all the files !




    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!EDIT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    It seems everytime i try to edit the files using Pmf it will crash even thow its a new file.

    All i want to do is take the patch_en loclisation.loc and then add on ludos parts to it from his loclisation.loc
    Last edited by blazeftp; November 19, 2009 at 06:00 PM.

  15. #15

    Default Re: Unit and Country Descriptions...

    bump

  16. #16

    Default Re: Unit and Country Descriptions...

    Come on all i need to do is update the patch_en you some of you have done it !

    Just need to know how

  17. #17

    Default Re: Unit and Country Descriptions...

    Quote Originally Posted by blazeftp View Post
    Come on all i need to do is update the patch_en you some of you have done it !

    Just need to know how
    Copy the entries from old loc that Ludo has made or changed in a spread sheet and upload it here.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •