Jump to content

Photo

Conveyor Bombs


  • Please log in to reply
11 replies to this topic

#1 Dwarlen

Dwarlen

    Experienced Forumer

  • Members

Posted 19 May 2015 - 11:34 AM

This script was made in response to a request by Nyrox in this topic: The Greatest Rescue - Help Page

 

The idea is a script that makes Link's bombs follow conveyor belts and to allow the quest maker to place enemy bomb spawners that also follow the conveyor belts (as seen in my quest, the Greatest Rescue).

 

Setup instructions are in the script file, and a example quest is also included in the link. If the script proves bug free, and meets Nyrox's needs, I will submit this script to the database at a latter time. Everyone should feel free to use this script and make suggestions to improve it (I'll be more willing to take suggestions into consideration now then after I release into the database).

 

Here is the link: https://www.dropbox....kajX8QQrta?dl=0

 

Have a blast! (pun totally intended :D)

 

Edit: Added a TimeOffset variable to the BombSpawner ffc script. This will allow you to have multiple bomb spawners that launch bombs at the same rate, but not at the same time.

 

Edit: Don't know if anyone else is having this problem, but I just noticed that while I can download both the example quest and script file as one package just fine, if I click on either one and try to download them individually, it won't let me press the download button. Don't know what is causing this.

 

Edit: Script update: (05/27/2015)

1: The BOMB_EXPLODE constant has been split into two constants, EBOMB_EXPLODE and LBOMB_EXPLODE, these constants do the same thing as the old one, except that they only affect enemy bombs and Link bombs, respectively.

2: Two new constants have been added, ECONVEYOR_AUTO_EXPLODE and LCONVEYOR_AUTO_EXPLODE. Setting these constants to 1 will cause enemy and Link bombs (respectively) to blow up when they ride to the end of a conveyor belt. Handy for bombs with unlimited fuses that need to run into an unsolid space.

3: A bug in the ffc BombSpawner script has been fixed that caused the script to place bombs at the wrong spot when placing them in the rightward direction.

 

Edit: Script update: (06/04/2015)

1. Added three new constants that allow you to make the game play a sound when a bomb spawner spawns a new bomb, and chose whether or not bombs blow up when they run into the end of a conveyor belt.
2. Changed the BombSpawner script so that setting D4 to a value of 2 or 3 will cause it to create bombs that can trigger secrets when they explode on a bombable combo.
3. Added a counter argument to the BombConveyor function so that bombs should now travel at the same speed as Link does on a conveyor belt.
4. Made it so that bombs on a conveyor belt can now round corners without getting hung or blowing up on the corner.


Edited by Dwarlen, 05 June 2015 - 09:20 AM.


#2 David

David

    Fallen leaves... adorn my night.

  • Administrators
  • Real Name:David
  • Pronouns:He / Him

Posted 19 May 2015 - 11:44 AM

This seems really interesting! I'm going to have to try it out later today. :)

Can I also suggest that you submit this script to the script database? That'd make the script more easily found by others on this site. Here is the link to submit content (in this case, a script): http://www.purezc.ne...section=submit.

#3 Dwarlen

Dwarlen

    Experienced Forumer

  • Members

Posted 19 May 2015 - 11:55 AM

That's what I plan to do (as stated in my original post ;)). I'm only placing it here to make sure it meets Nyrox needs first. If it does, then I'll submit it to the database, otherwise, I'll make the necessary changes and then submit it :).

 

Hope you enjoy it DaviAwesome :).


  • David likes this

#4 justin

justin

    Adept

  • Members

Posted 19 May 2015 - 11:56 AM

"Enemy bomb spawners" gives me so many ideas! I'm not sure what you mean by it because I haven't downloaded the package yet (nor played your quest, gasp!) But I picture them as a stationary "shooter" that drops bombs onto a conveyor. Then I start thinking... stationary shooter that throws bombs in a z-axis arc to Link's position. Then I start thinking about cannons that shoot bombs like Mario series cannons. Then I remember a YouTube video I saw that talked about a programmed but not included in game play cannon wielding soldier in ALTTP. Then I think about a stationary Zora like enemy that is slightly visible waiting under water until Link comes within blast radius then pops up and shoots a bomb. So many ideas.

Thanks for the script and ideas Dwarlen.
  • Dwarlen likes this

#5 nyrox

nyrox

    Doyen(ne)

  • Members
  • Location:Québec

Posted 23 May 2015 - 10:12 AM

sorry i lost my internet for one week :P

 

you can post the script in the data base  no problem for me to everyone use it :P

 

and i don't have drop box i can't download it for now is better for me if the script is on the database


Edited by nyrox, 23 May 2015 - 10:14 AM.


#6 Dwarlen

Dwarlen

    Experienced Forumer

  • Members

Posted 24 May 2015 - 06:40 AM

You don't actually need dropbox to download it (I know the first thing it does is ask you to make an dropbox account which is annoying, but you can just 'x' past that and then click the download button in the upper right hand corner).

 

But I'll go ahead and upload it to the database. Hope it meets your needs :)!



#7 nyrox

nyrox

    Doyen(ne)

  • Members
  • Location:Québec

Posted 25 May 2015 - 05:21 AM

when i put a link bomb on a wall, the bomb and the superbomb explode with no timeoff and i died and the wall don't blow off :(

if i put a link bomb on a convoyer and if arrive on a wall bomb, the wall blow off but after il you a spawner bomb on the same convoy, the bomb arrive in the hole and don't explode

Edited by nyrox, 25 May 2015 - 05:31 AM.


#8 Dwarlen

Dwarlen

    Experienced Forumer

  • Members

Posted 25 May 2015 - 10:07 AM

when i put a link bomb on a wall, the bomb and the superbomb explode with no timeoff and i died and the wall don't blow off :(

Whoops, one thing I didn't think to test, how it would work for triggering secrets. Basically, the behavior you encountered is caused by the BOMB_EXPLODE constant. If you set said constant to 2 or 0 then bombs won't auto explode when placed on solid objects, however, they won't explode if they ride a conveyor into a wall either. Do you think I should create a second BOMB_EXPLODE constant so that you can set the behavior separately for enemy bombs and Link bombs or do you think I should just change it so that if a bomb is placed on top of a solid object, it doesn't explode, but if it rides a conveyor into a solid object, it does explode?

 

if i put a link bomb on a convoyer and if arrive on a wall bomb, the wall blow off but after il you a spawner bomb on the same convoy, the bomb arrive in the hole and don't explode

Yeah, spawner bombs only explode (depending on the BOMB_EXPLODE constant) if they ride the conveyor into a solid object or into a trap. You can however, in the ffc, set the D2 value so that they will explode after a certain amount of time. Or, I could script it so that bombs just explode when they ride off a conveyor.

 

Edit: Okay, modified the script. Both the database (pending approval) and the dropbox link has been updated. See OP or database entree for update information


Edited by Dwarlen, 27 May 2015 - 12:46 PM.


#9 nyrox

nyrox

    Doyen(ne)

  • Members
  • Location:Québec

Posted 30 May 2015 - 07:53 AM

ok other probleme the bomb is not in the centre, when the bomb pass on a convoy up and have a solid combo at the right the bomb expode but normaly she would continue

 

 

and you can make de spawner bomb can blow the bombable combo


Edited by nyrox, 30 May 2015 - 08:01 AM.


#10 Mero

Mero

    Touch Fluffy Tail

  • Banned
  • Real Name:Tamamo No Mae
  • Location:Rainbow Factory

Posted 30 May 2015 - 08:58 AM

One thing I dislike about conveyor movement is that items and stuff get stuck on corners. Does this also effect bombs?



#11 nyrox

nyrox

    Doyen(ne)

  • Members
  • Location:Québec

Posted 30 May 2015 - 09:57 AM

just what I said :P



#12 Dwarlen

Dwarlen

    Experienced Forumer

  • Members

Posted 05 June 2015 - 09:26 AM

Updated the original post link and the database entrie yesterday. Would have posted here but didn't have time. See the original post or database entrie for update details.

 

 

ok other probleme the bomb is not in the centre, when the bomb pass on a convoy up and have a solid combo at the right the bomb expode but normaly she would continue

Should be fixed in the new file :).

 

and you can make de spawner bomb can blow the bombable combo

Update should now allow you to do this :). You'll need to set the ffc D4 to 2 or 3. Just keep in mind that bombs that can trigger secrets will also hurt enemies. And may or may not hurt Link based on the quest rule "Bombs hurt Link".

 

 

One thing I dislike about conveyor movement is that items and stuff get stuck on corners. Does this also effect bombs?

Not any more. Now if I just could figure out a way to override default conveyor behavior and make items and such move on them the same way I'd have something :D.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users