aliens

Author Topic: [Solved] Auto shot projectiles with followProjectiles is still moving the camera  (Read 3514 times)

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
(OXCE V6.5 2020-05-08)

I'm trying to use followProjectiles: as described in 'this thread' to keep the camera in place while a flamethrower fires several times.

However the camera keeps moving even though followProjectiles: is set to false.

Here is the item's code:
Code: [Select]
- type: STR_EXAMPLE_FLAMETHROWER
    size: 0.2
    costBuy: 0
    costSell: 65000
    weight: 5
    bigSprite: 766
    floorSprite: 790
    handSprite: 3576
    bulletSprite: 5
    fireSound: 64
    hitSound: 12
    hitAnimation: 0
    power: 40
    damageType: 2
    blastRadius: 2
    clipSize: -1
    bulletSpeed: 50
    explosionSpeed: 10
    accuracyAuto: 20
    tuAuto: 35
    battleType: 1
    twoHanded: false
    maxRange: 9
    invWidth: 2
    invHeight: 3
    armor: 30
    confAuto:
      shots: 5
      name: STR_EXAMPLE_AUTO_SHOT
      ammoSlot: 0
      arcing: true
      followProjectiles: false
    attraction: 7
    blockBothHands: false
    listOrder: 119200

What am I doing incorrectly?
« Last Edit: February 12, 2023, 09:54:46 am by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9089
    • View Profile
attach the mod (or a link to it) and a save

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Here is a .Zip of the mod and a save game file from a battle where the camera shake was occurring.

I've been using the "New Battle" feature on the main menu, the saved game is from a freshly started round of that.


Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9089
    • View Profile
camera doesn't follow the projectiles in this case

it just centers on explosions when the projectiles disappear

I can try to disable that too

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9089
    • View Profile

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
That version appears to be for Windows 64Bit, I'm running Linux Mint and unfortunately I cannot test it.

Do you have a Linux compatible build of it?
« Last Edit: June 23, 2020, 07:48:52 am by The Martian »


Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
I just tried your new build and followProjectiles: false works perfectly with the flamethrower now.

Thank you!