OpenXcom Forum

Modding => Help => Topic started by: wcho035 on September 15, 2019, 07:17:41 pm

Title: Getting laser bullet to work properly underwater.. with the new coding.
Post by: wcho035 on September 15, 2019, 07:17:41 pm
Hi, lately, thanks to Meridian, I have been able to enable two different kind of deployment for a UFO game. One for land and a separate one for sea.

For underwater, the vapour trail, again thanks to Meridian, I am now able to utilize it for underwater weapons.

However, by default, bulletsprite does not show when an underwater weapon is fired. Yet somehow, the hydrojet cannon from TFTD, was the exception.

Please check screenshot (No, it is not doctored, I assure you.)

How is this possible? IF it is, how can I replicate this for laser weapons in UFO without drawing a vaportrail? Laser do not leave a vaportrail underwater.. so if anyone can give me an idea or help, much appreciated.
Title: Re: Getting laser bullet to work properly underwater.. with the new coding.
Post by: Nord on September 15, 2019, 08:15:38 pm
As i know, there is a different projectile sprites for underwater shots.
Code: [Select]
extraSprites:
  - type: Projectiles
...
  - type: UnderwaterProjectiles
...
with same numbers.
Title: Re: Getting laser bullet to work properly underwater.. with the new coding.
Post by: wcho035 on September 15, 2019, 08:50:29 pm
Sweet! Thanks! I look into it!