I´d like to know, how to set NPCs weaponary to be more variable.

Post Reply
User avatar
SirDuke
Posts: 15
Joined: Sat Jul 07, 2018 11:04 am

Sun Jul 08, 2018 9:39 am

Hi everybody!
I´m still trying to set the Variables correctly.
As a simple example, I added longswords to the weapon tab of the Red Sabres.
The FCS help say´s "Val0 is quantity, val1 is slot, val3 is chance..."
But it seems that it has no effect, how I set the values, the Red Sabres ALWAYS spawn with Horse Choppers only...
Please help.

Ocram
Posts: 328
Joined: Tue Jan 30, 2018 1:50 pm

Sun Jul 08, 2018 10:30 am

It should look something like this:
redsabreweap.jpg
redsabreweap.jpg (107.28 KiB) Viewed 1745 times
Note that you have to change the horse chopper to slot 1. If you want to easen your life you can import changes from this mod, it fixes all(?) the wrong slots.
You can leave chances to 0 if you are only adding one weapon per slot. Chances are absolutes, if you add more than one weapon per slot, make sure you distribute percentages to reach 100, or they will have a chance to not have a weapon.
If you want them to have a 50/50 chance to have an horse chopper OR a longsword in back slot:
Horse Chopper 1 1 50
Longsword 1 1 50

User avatar
SirDuke
Posts: 15
Joined: Sat Jul 07, 2018 11:04 am

Sun Jul 08, 2018 11:24 am

Yeah!
Seems to work just fine now!
Thanks for your explanation!

User avatar
SirDuke
Posts: 15
Joined: Sat Jul 07, 2018 11:04 am

Tue Jul 10, 2018 6:22 pm

Oh!

This just leads to another question!

I want to add some hats to starving bandits.
But just with a chance of 20% to added.

The FCS says "If val 1 is < 0 then that will count as a possible [no item]..."

but sadly, I can´t set val 1 to < 0.
It´s just not possible...
How do I do that?

Ocram
Posts: 328
Joined: Tue Jan 30, 2018 1:50 pm

Tue Jul 10, 2018 6:31 pm

It means "if the number of items to add (val1) is less than 0" for example "-1".
Not sure if "0" is treated as a "no item" value, you might try it too.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests