aliens

Author Topic: How to add weapons to the store?  (Read 2033 times)

Offline wolf619

  • Sergeant
  • **
  • Posts: 22
    • View Profile
How to add weapons to the store?
« on: March 27, 2018, 05:54:41 pm »
I'm playing final mod and I see there is an ak47, uzi and RPG launcher in common but I can't figure out how to add them to the store. I've added them to my starting base but they are blue and you can't buy more. How can I make these guys buyable (and preferably white on the buy screen)??
thanks in advance for your help!

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: How to add weapons to the store?
« Reply #1 on: March 27, 2018, 06:10:43 pm »
find AK 47 in the ruleset and assign it a buy cost different than zero, e.g.:

Code: [Select]
  - type: STR_AK47
    size: 0.2
    costBuy: 1550      # added this
    costSell: 1550
    weight: 9
    bigSprite: 162

you can't change the colors... no idea why would you want that anyway... blue/purple are used for showing items in the store and white is used for items you are ordering at the moment

Offline wolf619

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: How to add weapons to the store?
« Reply #2 on: March 27, 2018, 07:06:52 pm »
cool thanks for the quick reply! :)