Jump to content

Photo

Custom whistle


  • Please log in to reply
No replies to this topic

#1 Binx

Binx

    Formerly Lineas

  • Members
  • Real Name:Brian
  • Location:Lancaster, CA

Posted 19 April 2017 - 08:15 PM

So, basically what I'm looking for is an action script which will create a warp ring on a whistle which is activated by owning items. Trying to emulate the song feature from OoT, but by collecting songs, rather than having to play them. The way it would work is that when you get to a screen with a warp point, it will have a "song" item, and by picking it up, you can warp to the screen the dungeon is on by playing the whistle (ideally using the built-in whistle item, with the warp ring disabled). This is mainly for two reasons: #1, I've never liked the idea of only being able to warp to a dungeon after you beat it, and #2, some dungeons will require the song in order to get into the dungeon. (namely the Spirit and Shadow temples), as well as the Temple of Time not being a numbered dungeon. It should be able to activate two warp points per item, one for the child timeline, one for the adult timeline (will be differentiating the two timelines by map/dmap and whether Link is a child or adult with an item).

So, in short, what the whistle needs to do:
Check if Link is an adult or child (check if the "adult" item is in Link's inventory) and create separate warp rings for each

Check if you have the appropriate song item

Warp you to the appropriate Dmap/screen, in order (Light, Forest, Fire, Water, Shadow, Spirit), preferably to warp return B, or to a specific screen position, on separate warp rings. Don't want child Link ending up in the adult version of the Shadow Temple with no way out since many items will be disabled when you are a child or adult. It could potentially cause game-breaking bugs if the wrong Link ends up in the wrong timeline.

 

Not even sure if it can be done, but I might as well try, at least. As for why I'm not attempting it, myself... Well, I haven't done any scripting in over a year, so I'm very rusty. Plus, I'm not even sure where to start.

 

EDIT: In reality, I really probably only need it to make a single warp ring, now that I think about it. I can always just copy the script and use two nearly identical versions of the Ocarina of Time to make separate rings for the child and adult timelines; since I will be using separate inventories for the two versions of Link.


Edited by Binx, 20 April 2017 - 03:15 PM.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users