aliens

Author Topic: Step by step upgrades for crafts.  (Read 2064 times)

Offline rbuck000

  • Sergeant
  • **
  • Posts: 23
    • View Profile
Step by step upgrades for crafts.
« on: January 24, 2020, 07:39:10 am »
I'm working on making most unlocks add new upgrades components to crafts. Still very wiped till I figure out more of the yamal stuff.
extraSprites:
  - type: STR_INTERCEPTORMK2_ufopedia.png
    width: 320
    height: 200
    singleImage: true
    files:
      0: Resources/Crafts/INTERCEPTORMK2/STR_INTERCEPTORMK2_ufopedia.png
  - type: BASEBITS.PCK
    files:
      57: Resources/Crafts/INTERCEPTORMK2/STR_INTERCEPTORMK2_base.png
  - type: INTICON.PCK
    files:
      24: Resources/Crafts/INTERCEPTORMK2/STR_INTERCEPTORMK2_minimised.png
      35: Resources/Crafts/INTERCEPTORMK2/STR_INTERCEPTORMK2_dogfight.png
CRAFTS:
  - sprite: 24
    type: STR_INTERCEPTORMK2
accel: 4
autoPatrol: true
costBuy: 101980
costRent: 20000
craftstats: null
damageMax: 120
forceShowInMonthlyCosts: true
fuelMax: 1000
maxItems: 3
notifyWhenRefueled: true
refuelRate: 50
score: 250
speedMax: 2600
transferTime: 48
weaponStrings: STR_WEAPON_ONE STR_WEAPON_TWO STR_CANNON
weaponTypes: [0, 0, 5]
weapons: 3

Offline rbuck000

  • Sergeant
  • **
  • Posts: 23
    • View Profile
Re: Step by step upgrades for crafts.
« Reply #1 on: January 29, 2020, 03:47:54 am »
Can someone help me I crash at UFOPEDIA and has the wrong base bits icon idk what I'm doing wrong also I'm confused how to limit the 3 weapon slot to only one type of aeapons.

     
Quote

crafts:
  - type: STR_inteceptermk2
    Sprite: 2
    fuelMax: 1000
    damageMax: 100
    speedMax: 2100
    accel: 3
    weapons: 3
    weaponTypes:
    maxItems: 3
    costBuy: 10
    costRent: 200000
    forceShowInMonthlyCosts: 1
    transferTime: 1
    score: 250
notifyWhenRefueled: 1
allowLanding: 0

##BEGIN RESEARCH
#research:
  #  cost: 600
    #points: 20
 #   listOrder: 2000
  #  dependencies:
      #- STR_ALIEN_ALLOYS
     # - STR_ELERIUM_115
##END RESEARCH

#BEGIN UFOPEDIA
ufopaedia:
  - id: STR_inteceptermk2
    type_id: 1
    section: STR_XCOM_CRAFT_ARMAMENT
    requires:
   
    image_id: inteceptermk2.pck
    rect_stats:
      x: 300
      y: 300
      width: 224
      height: 40
    rect_text:
      x: 5
      y: 40
      width: 140
      height: 150
    text: STR_inteceptermk2_UFOPEDIA
    listOrder: 401
#END UFOPEDIA

#extraSprites
extraSprites:
  - type: ExtendedPediaBackgroundPalUfopaedia
    width: 320
    height: 200
    singleImage: true
    files:
      0: Resources/Extended/Pedia/PAL_UFOPAEDIA/background-ufo.png
#extraSprites

##BEGIN EXTRASTRINGS
extraStrings:

#BEGIN en-US
  - type: en-US
    strings: &STRINGS_EN
      STR_inteceptermk2: "Improved Interceptor MK2"
      STR_inteceptermk2: "Interceptor MK2"
      STR_inteceptermk2_UFOPEDIA: "A standard Intercepter which was refitted with an Alien Alloys airframe and additional weapon pylons, allowing us to equip more ordinance with minimal cost to speed."
#END en-US