People in the bar, what am I doing wrong?

  • Sorry to ask so many questions but I have yet another issue, so I am trying to add people to the bar. I did this in my last mod but that was at least 3 years ago so I can't quite remember how to. I know the weights need to be set a certain way to match the people. IE if I had two factions in the bar and one had 2 people one had three I would give the faction that had 3 a 60 and the one that had 2 a 40. I have done this and no-one shows up in the bar. I had 6 people in one faction so I did 100/8=12.5 then 12.5*6=75 so the faction (it was the order) was wet to weight 75. then the 2nd was set to 25 (12.5*2) (it was the Zoners). I had people for the order in the bar in my last mod and they worked. I generated the people to the bar with FLE, but I also tried copying people from a working base and just changing the faction and it still doesn't work (in addition to deleting all bribes, rumors, and missions but leaving their names on the copied people.) So I tried to set it just to one fraction and it still doesn't work. Below is the code I am currently using to try to get people to show up. What would cause them not to show up? Would FLE be doing it? The names are in the DLL for my mod but I don't know the numbers for them as I haven't looked yet.

    Code
    1. [BaseFaction]faction = fc_or_grpweight = 100offers_missions = falseto0101_001_001_m[GF_NPC]nickname = to0101_fix_bartenderbody = ku_bartender_bodyhead = pl_male5_headlefthand = benchmark_male_hand_leftrighthand = benchmark_male_hand_rightindividual_name = 458766affiliation = fc_or_grpvoice = rvp106[GF_NPC]nickname = to0101_fix_traderbody = pi_orillion_bodyhead = pl_male5_headlefthand = benchmark_male_hand_leftrighthand = benchmark_male_hand_rightindividual_name = 458779affiliation = fc_or_grpvoice = rvp151[GF_NPC]nickname = to0101_fix_weaponsdealerbody = pi_orillion_bodyhead = pi_pirate5_headlefthand = benchmark_male_hand_leftrighthand = benchmark_male_hand_rightindividual_name = 458764affiliation = fc_or_grpvoice = rvp101[GF_NPC]nickname = to0101_001_001_mbody = ku_shipdealer_bodyhead = pi_pirate3_headlefthand = benchmark_male_hand_leftrighthand = benchmark_male_hand_rightindividual_name = 458776affiliation = fc_or_grpvoice = rvp101room = bar

    Also the Bartender, Equip, and trader all work and show up just not the added people.

  • Code
    1. [MBase]nickname = TO01_01_Baselocal_faction = fc_or_grpdiff = 8msg_id_prefix = gcs_refer_base_TO01_01_Base[MVendor]num_offers = 2, 4[BaseFaction]faction = fc_or_grpweight = 100npc = to0101_001_mnpc = to0101_order_002_f[GF_NPC]nickname = to0101_fix_bartenderbody = ku_bartender_bodyhead = pl_male5_headlefthand = benchmark_male_hand_leftrighthand = benchmark_male_hand_rightindividual_name = 458759affiliation = fc_or_grpvoice = rvp106[GF_NPC]nickname = to0101_fix_traderbody = pi_orillion_bodyhead = pl_male5_headlefthand = benchmark_male_hand_leftrighthand = benchmark_male_hand_rightindividual_name = 458760affiliation = fc_or_grpvoice = rvp151[GF_NPC]nickname = to0101_fix_weaponsdealerbody = pi_orillion_bodyhead = pi_pirate5_headlefthand = benchmark_male_hand_leftrighthand = benchmark_male_hand_rightindividual_name = 458761affiliation = fc_or_grpvoice = rvp101[GF_NPC]nickname = to0101_001_mbody = ku_shipdealer_bodyhead = pi_pirate3_headlefthand = benchmark_male_hand_leftrighthand = benchmark_male_hand_rightindividual_name = 458762affiliation = fc_or_grpvoice = rvp106room = barbribe = fc_or_grp, 10000, 16100rumor = base_0_rank, mission_end, 1, 491525[GF_NPC]nickname = to0101_order_002_fbody = pl_female2_journeyman_bodyhead = sh_female2_head_genlefthand = benchmark_female_hand_leftrighthand = benchmark_female_hand_rightindividual_name = 458763affiliation = fc_or_grpvoice = rvp541room = barbribe = gd_z_grp, 10000, 16102 [MRoom]nickname = barcharacter_density = 5fixture = to0101_fix_bartender, Zs/NPC/Bartender/01/A/Stand, scripts\vendors\li_host_fidget.thn, bartender[MRoom]nickname = Deckcharacter_density = 2fixture = to0101_fix_trader, Zs/NPC/Trader/01/A/Stand, scripts\vendors\li_commtrader_fidget.thn, traderfixture = to0101_fix_weaponsdealer, Zs/NPC/Equipment/01/A/Stand, scripts\vendors\li_equipdealer_fidget.thn, Equipment

    There is the whole Mbase code for my station, I rewrote the #s in the DLL last night to see if that was an issue, but it doesn't seem to be. Now If I create a charecter in FLE it says in the DLL "The Order\nDan Telmi" is the The Order\n needed? I tried it with and with out it in my DLL and they still don't show up in game, but in FLE the name still shows up just fine. I also changed the base to the zoners and redid the people, (not in FLE ) but still no go so I don't think it's an order issue.

  • To the best of my knowledge that is just how many people are in the bar at once right? (That is what the tutorial I read said) I remember when I had people working in my last mod when I raised that value it put more people in the bar. I had more than 2 but I deleted them to see if they were the problem. I will change the value to 2 to see if it works. Also I am going to put a 2nd base in and copy all NPCs and see if they show up. It might just be a base coding error. Thanks for the help.

  • Success! I was mucking around today and noticed that the bartender was in the equipment dealer and the equipment dealer was the bartender, I changed that around people appeared! Thanks for all your help!

  • Actually you guys have helped me out tremendously! And I think it was my fault, as I rewrote the DLL but the people weren't working before so I don't know :thumbup: But they work now, so it all good. Except the bribe text is a little weird for the base both the zoners and the order say "but the , and the . will look down on our little transaction" So I will have to look at that too.

  • Sorry to bump and old thread, but I'm having a bit of a similar problem. Suffice to say, people aren't appearing in my bar when after comparing my mBases entry to the examples given here I could find little to no relevant differences. I'll post my mBases entry for you to examine:


    The last NPC I copied directly from Freemodder's example only to see if it was something I did wrong with the NPC entries or if there was something wrong with the whole base. Also, this might not be important, but originally there was also a shipdealer with the base, but I deleted him and his room.


    Is there anything here that might be out of order?

  • If you add npc = ew0504_002_m to [BaseFaction], and change the bar to character_density = 4 (since 2 just means you and the bartender), you should see both NPCs at the bar.

  • I tried moving the entry further up in the file, since it was at the bottom. I tried placing it among the other entries pertaining to the same system to see if that was the problem, but it didn't make any difference. I still stuck with one lone bartender in the room.


    If it helps any, I'll repost the now edited entry:


  • Preserving MBase & MVendor, but replacing the rest of Li01_03_Base with the code above, it worked fine. Perhaps the room script you are using doesn't define any NPC positions?