Jump to content

Photo

Need Script for Infrared Goggles


  • Please log in to reply
3 replies to this topic

#1 xenomicx

xenomicx

    Zelda Arcade

  • Members
  • Location:Chi-town

Posted 28 August 2019 - 06:42 AM

I'm trying to mimic the infrared laser screens and infrared goggles used in the NES Classic, Metal Gear. Shown here: HXakCH.png

If you're not familiar with the game, the lasers combos are invisible and can only be seen with the goggles. So something like this:

const int I_GOGGLES = 150; // Item Number

item script InfraredGoggles{
     void run(){
     
          if (GetEquipmentB() == I_GOGGLES){
               
               //Show the Combos of the Lasers
     
          }
     }
}

Also, I would need the combos to trigger an Enemy Drop from Ceiling. If Link->X and Link->Y is on Combo 400, drop enemies from ceiling.


Edited by xenomicx, 28 August 2019 - 06:47 AM.


#2 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 29 August 2019 - 06:41 AM

I'm trying to mimic the infrared laser screens and infrared goggles used in the NES Classic, Metal Gear. Shown here: HXakCH.png

If you're not familiar with the game, the lasers combos are invisible and can only be seen with the goggles. So something like this:

const int I_GOGGLES = 150; // Item Number

item script InfraredGoggles{
     void run(){
     
          if (GetEquipmentB() == I_GOGGLES){
               
               //Show the Combos of the Lasers
     
          }
     }
}

Also, I would need the combos to trigger an Enemy Drop from Ceiling. If Link->X and Link->Y is on Combo 400, drop enemies from ceiling.

 

If you are using 2.55, that's basically a single line of code.

You can disable and enable layer visibility, now.



#3 xenomicx

xenomicx

    Zelda Arcade

  • Members
  • Location:Chi-town

Posted 03 September 2019 - 11:32 AM

If you are using 2.55, that's basically a single line of code.

You can disable and enable layer visibility, now.

I'm using 2.53



#4 xenomicx

xenomicx

    Zelda Arcade

  • Members
  • Location:Chi-town

Posted 20 July 2022 - 06:44 PM

If you are using 2.55, that's basically a single line of code.

You can disable and enable layer visibility, now.

I know it's been 3 years ago...LMAO...but I still need to code for it. Still haven't figured it out.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users