0 of 0

File information

Last updated

Original upload

Created by

Shamon

Uploaded by

Shamon

Virus scan

Safe to use

Tags for this mod

44 comments

  1. beppo3000
    beppo3000
    • supporter
    • 0 kudos
    Hi,
    Is this working for anyone in 7.5?
    Right now it does not work for me for some reason
    1. mitsoswu
      mitsoswu
      • member
      • 2 kudos
      If you read the older comments, someone posted a link to a website. 
       
      The version there for "More NPC" mod is 1.3.1
  2. twohrdrive
    twohrdrive
    • member
    • 0 kudos
    Hey, Great mod, thanks for the help in the comments so far. I'm just wondering if you can explain step-by-step whether this is correct?

    I placed the mod in the 'extensions folder'. So the path looks like this:

    extensions/More NPC/md

    in the "More NPC" folder, there is a file called "content.xml". I did not touch this file.

    in the "md" folder, there is "NPC_installation.xml". In this file, I replaced the text with:

    <!-- must explicitly be of this faction -->
    <replace sel="//set_value[@name='this.$RemainingAmount' and
    @exact='[(this.$AllSlots.count  * 0.85f * player.chardensity)i -
    this.$CurrentNPCs.count, 0].max']">
                        <set_value name="this.$RemainingAmount" exact="50"/>
    </replace>

    I do not feel that there is any difference in NPC number on stations. Did I do something wrong? I noticed the old file has </diff> as the last line. Do I need that? Should I use the text that's currently in the downloaded mod, or the 5.10? I'm running the latest version of X4.

    Thanks again!
    1. ncnlcss
      ncnlcss
      • supporter
      • 1 kudos
      I was just testing this mod with it on and off, starting a new game like that, and the mod appears to not be working. It makes no difference. Some stations might have less npc's than they had without the mod, but maybe that was just a coincidence.
  3. Lazz
    Lazz
    • member
    • 0 kudos
    This mod was making me go into my spacesuit any time I use the station or ship elevator.
    1. xxBoneZxx
      xxBoneZxx
      • supporter
      • 0 kudos
      It might be conflicting with another mod, as I am not experiencing that.
  4. Elenear
    Elenear
    • premium
    • 35 kudos
    Does this work with 6.20?
  5. RevitoD
    RevitoD
    • member
    • 0 kudos
    sorry, wrong mode :)
  6. alexalsp
    alexalsp
    • member
    • 2 kudos
    Try this one. 5.10

    <!-- must explicitly be of this faction -->
    <replace sel="//set_value[@name='this.$RemainingAmount' and @exact='[(this.$AllSlots.count  * 0.85f * player.chardensity)i - this.$CurrentNPCs.count, 0].max']">
                        <set_value name="this.$RemainingAmount" exact="50"/>
    </replace>
    1. Zordrage
      Zordrage
      • member
      • 0 kudos
      nvm your not the mod author looool /facedesk

      Btw do i need to delete everything inside that XML and replace it with this or only some part of it and keep something ?
    2. alexalsp
      alexalsp
      • member
      • 2 kudos
      You need to download the mod and replace the contents of the file with this one. Or download the mod from here - https://apocalypse.moy.su/forum/309-1310-5537-16-1544510268
  7. Faethore73
    Faethore73
    • supporter
    • 0 kudos
    In my new Terren Cedet game, this mod seems to have removed all npc's from the Terran Warf.  Even the Trader was gone.  Probably needs an update.
    1. alexalsp
      alexalsp
      • member
      • 2 kudos
      Perhaps they will show up in time...
      Or you are using mods that cause conflict.
  8. nikoligrim
    nikoligrim
    • premium
    • 127 kudos
    Nicely done. I've used this for the last couple of years and have a little over 600 hours of game time with this installed.

    I recently started a new playthrough, as a Yaki Pirate this time, and noticed that your mod doesn't seem to affect the Yaki bases. All others work fine, but the Yaki bases are devoid of any additional NPC's.
  9. alexalsp
    alexalsp
    • member
    • 2 kudos
    4.20 - 5.0 beta 4 hf1

    <?xml version="1.0" encoding="utf-8" ?>
    <diff>
    <replace sel="//set_value[@name='this.$RemainingAmount' and @exact='(this.$AllSlots.count  * 0.85f * player.chardensity)i']">
                        <set_value name="this.$RemainingAmount" exact="50"/>
    </replace>
    </diff>
  10. LisbethSAO
    LisbethSAO
    • supporter
    • 384 kudos
    Hella nice work with this, Shamon! As far as I can tell...seems to be working as advertised with current game v4.20! I followed an older comment posted below, about changing a variable in the xml file, from 100 to 50, and I noticed a difference more than when it was set to 100 (and flying to another sector also helped in noticing the change)!

    Also, I noticed that the folder to be extracted and placed into the extensions folder is named 'More NPC'...now I don't know if it makes a difference with the naming structure, but I noticed that no other mods ever have spaces in their folder names...furthermore, within the xml file, I noticed the ID name for the mod is 'More_NPC'...again, don't know if this matters...but just to be sure, I renamed the 'More NPC' folder to 'More_NPC'.

    Stations feel more alive with more npcs! Thank you for this! Endorsed!!
    1. EdisonMaxwell
      EdisonMaxwell
      • member
      • 0 kudos
      What is the variable? I don't see anything with a value of 50 or 100 in the XML.
    2. LisbethSAO
      LisbethSAO
      • supporter
      • 384 kudos
      find the file named 'NPC_Instantiation.xml' in this mod's archive ...change 100 to whatever you want, but keep in mind that higher numbers might break the game (or not, who knows, lol!)
    3. alexalsp
      alexalsp
      • member
      • 2 kudos
      С версии 4х изменился код файла. так что мод не актуален, надо править под версии 4х и 5х , и то если ни чего не поменялось с NPC в лучшую сторону.

      У меня не осталось старых файлов для сравнения.
    4. alexalsp
      alexalsp
      • member
      • 2 kudos
      4.20 - 5.0 beta 4 hf1

      <?xml version="1.0" encoding="utf-8" ?>
      <diff>
      <replace sel="//set_value[@name='this.$RemainingAmount' and @exact='(this.$AllSlots.count  * 0.85f * player.chardensity)i']">
                          <set_value name="this.$RemainingAmount" exact="50"/>
      </replace>
      </diff>