Topic/Genre matches don't seem to be working in my MOD

I have the following code and the game has told me that “Online Troll Forum / Simulation” is a bad match. Am I looking at the weightings incorrectly?

FJS.addTopic = function () { GDT.addTopics([ { id: "Alpaca Farming", name: "Alpaca Farming".localize("game topic"), genreWeightings: [0.6, 0.7, 0.6, 1, 0.7, 1], audienceWeightings: [0.8, 1, 1] }, { id: "Birdhouse Building", name: "Birdhouse Building".localize("game topic"), genreWeightings: [0.6, 0.7, 0.6, 1, 0.6, 0.8], audienceWeightings: [0.6, 0.8, 1] }, { id: "Online Troll Forum", name: "Online Troll Forum".localize("game topic"), genreWeightings: [0.7, 0.9, 1, 1, 0.6, 0.7], audienceWeightings: [1, 0.7, 1] }, { id: "Second Life Sim", name: "Second Life Sim".localize("game topic"), genreWeightings: [0.6, 0.7, 0.9, 0.9, 0.6, 1], audienceWeightings: [0.8, 0.8, 1] }]); }; FJS.addTopic();

Take a look here https://github.com/greenheartgames/gdt-modAPI/wiki/Weightings

This should explain everything about adding topics.

But looking at your code Online Troll Forum and Simulation should be an amazing combination

That’s where I got the weightings. I thought the sequence was:

  1. Action
  2. Adventure
  3. RPG
  4. Simulation
  5. Strategy
  6. Casual

So RPG and Simulation should be the best combos. However it’s saying that it’s not good.

I can’t tell if this is just the way you posted it but you have an error in your topics. Just take a look at the documentation and compare it with what you’ve done.

Yeah that is the way there ordered in

I suggest getting this mod to help with error handling when you do get errors. Only if it still works I haven’t tested it myself but it’s in the Official Modding suggestion stuff.

Thanks, I’ll try that.

It’s Action, Adventure, RPG, Strategy, Simulation and Casual. @SnowyOwl, you could have checked just for good measure before confirming something that is in fact wrong.

Haha your funny check the documentation https://github.com/greenheartgames/gdt-modAPI/wiki/Weightings
Before “Correcting” me please check your facts

You’re right, I take back my statement. I won’t bother reacting about you trying to mock me, as the grammar is so bad you’re just mocking yourself.

Um well ok then, I’m not sure why your getting pissed off at me. I’m trying to be friendly and helpful. It seems your only trying to be better then me or something.

Ha ha well who cares lets just be friends.

1 Like

You said I couldn’t read, fyi.

Wow, you’ve been really helpful, Sitan. Thank you very much for your invaluable input in this thread.

1 Like

Hey read the forum Guidelines https://forum.greenheartgames.com/guidelines

There some great stuff. Let’s all play nice and I’m sorry for not following them myself.

1 Like

No problem mate :smiley: Always glad to help.