aliens

Author Topic: I can't change UFO weapon ranges [solved]  (Read 3055 times)

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
I can't change UFO weapon ranges [solved]
« on: February 09, 2017, 03:00:55 pm »
Can anyone tell me what I'm doing wrong here? It seems very straightforward, yet as I change the range value, nothing changes in-game.

Code:
  - type: STR_SUPPLY_SHIP
    size: STR_LARGE
    sprite: 7
    damageMax: 2200
    speedMax: 3200
    accel: 6
    power: 60
    range: 50
    score: 400
    reload: 24
    breakOffTime: 3000

I changed range from 36 to 50, I also tried 20 and 60, but no matter what I change it to, all supply ships in-game have a range of 36. The mod is installed and turned on. All of my other mods are working fine.
« Last Edit: February 09, 2017, 04:07:44 pm by The Reaver of Darkness »

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: I can't change UFO weapon ranges
« Reply #1 on: February 09, 2017, 03:13:21 pm »
This should work, so troubleshooting time: do you have any other mods affecting the UFO? And does this mod have the following code under the ufos: tag? Have you tried it without any other mods on?

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9090
    • View Profile
Re: I can't change UFO weapon ranges
« Reply #2 on: February 09, 2017, 03:28:00 pm »
And what does Ufopedia say when you open Supply Ship article? 36 or 50?

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: I can't change UFO weapon ranges
« Reply #3 on: February 09, 2017, 04:07:28 pm »
do you have any other mods affecting the UFO?
I found the problem: Luke's Extra UFOs was declaring UFO attributes even though it wasn't changing them (from their vanilla values). I removed the attributes and it works fine now!

Thanks guys!