Results 1 to 5 of 5

Thread: battle_models.modledb

Hybrid View

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

    Default battle_models.modledb

    Quick question whats the best program i.e language or w/e when I'm editing the battle_model. file ?

    I been using Notepad++ and for the most part it's not to bad, and i can get stuff done generally well, but usually a few things here and there nothing big.

    But when i start trying to change large portions of text esp. when I'm redoing or reusing textures across a much broader scale, it becomes horrible.

    So anyways was just wondering if theres a better freeware program to use, or maybe a certain language that works better, any input would be great, thanks in advance, have a good one.

  2. #2
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: battle_models.modledb

    Notepad++ is the best freeware text editor, without a doubt. Additionally, you can download GrnEyedDvl's M2TW syntax highlighting language here, which is a User-Defined Language for Notepad++. It doesn't work with the modelsdb, but it helps in other files. You have to check the "Don't use %APPDATA%" when installing Notepad++ if you want to be able to put it in the immediate directory, otherwise you have to put the files in your Application Data folder under your user. And the .API which was for AutoComplete I believe will not work any more, because the newer versions of N++ use .xml files for their AutoComplete.

    There's a similar extension for UltraEdit32 by alpaca here, but again, no .modelsdb coverage. Your best bet is just to run the python checker that KE made and gigantus updated to work with Kingdoms(shouldn't be hard to find), as it catches most errors. If your mod adds new factions, you will need to append the elseif faction list with their names, or they will be counted as an error whenever it parses them.

  3. #3

    Default Re: battle_models.modledb

    Quote Originally Posted by Augustus Lucifer View Post
    Notepad++ is the best freeware text editor, without a doubt. Additionally, you can download GrnEyedDvl's M2TW syntax highlighting language here, which is a User-Defined Language for Notepad++. It doesn't work with the modelsdb, but it helps in other files. You have to check the "Don't use %APPDATA%" when installing Notepad++ if you want to be able to put it in the immediate directory, otherwise you have to put the files in your Application Data folder under your user. And the .API which was for AutoComplete I believe will not work any more, because the newer versions of N++ use .xml files for their AutoComplete.

    There's a similar extension for UltraEdit32 by alpaca here, but again, no .modelsdb coverage. Your best bet is just to run the python checker that KE made and gigantus updated to work with Kingdoms(shouldn't be hard to find), as it catches most errors. If your mod adds new factions, you will need to append the elseif faction list with their names, or they will be counted as an error whenever it parses them.
    I'll def check out the syntax highlighting, i was actually looking for something along those lines, but again for some reason a huge portion of languages comp don't work well with the modeldb.

    i had been using gigantus checker, def makes it easier, I've been trying to clean up the modeldb. for the expansions, something along the lines of what KE did with the base one, but as yet I'm not quiet adept enough to get it done.

    Thanks for the faction name info, i didn't know that, i had actually tried to do something along those lines, though without much success, i couldn't figure out why it wouldn't load for the life of me, now i feel silly it was something so simple.

    Anyways thanks for the info appreciate it, guess i need to look into a better way to clean up the modledb. have a good one .

  4. #4
    Caesar Clivus's Avatar SS Forum Moderator
    Join Date
    May 2007
    Location
    Australia
    Posts
    12,693

    Default Re: battle_models.modledb

    I use Notepad2. Very handy for the modeldb because it includes a character count at the bottom. So you can just select a line of text and get what number you need to put at the beginning of the line. Much, much less room for error than manually trying to count them

    BftB2 UPDATED 22nd DECEMBER. Member of the Complete Byzantine Unit Roster team

  5. #5
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: battle_models.modledb

    Quote Originally Posted by Caesar Clivus View Post
    I use Notepad2. Very handy for the modeldb because it includes a character count at the bottom. So you can just select a line of text and get what number you need to put at the beginning of the line. Much, much less room for error than manually trying to count them
    You should be able to get the number by putting the cursor in front of the last character on a line and checking the Column in most editors that count lines and columns.

    So on this line I'd simply click in front of this c

Posting Permissions

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