|
 |
|
|
|
|
|
Attention:
|
The Mod Showroom is only for posting previews/downloads of completed or near finished mods. All help topics should be posted in the Editing Discussion forums. Help topics and mod requests posted here will be locked or binned. Thank you.
|
|
GTAGarage.com : Free mod hosting, attach your files and screenshots to your topics
GTAModding.com : A wiki for everything related to GTA modding, including documentation and tutorials
|
[REL] Bombs Away It's finally finished
 |
|
 |
| |
Yangster  |
|
Rat

Group: Members
Joined: Sep 9, 2003

|
I've finally finished the bomb drop mod for the hydra, now with many improvements. Firstly, a huge thank you to picolini for making the two superb bomb models included  . This mod allows you to drop two rows of bombs in the hydra when the HORN key is held. - Cars blow up immediately if bomb detonates next to it - You get wanted level stars - Proper collision detection (you can blow up helicopters, etc with a direct hit) I can't upload it at gtagarage.com yet, so here's the link in the meantime. Bombs Away (note - this dies in a year, so see below) EDIT: updated readme and zip are at gtagarage, HEREInstallation instructions are in readme, and screenies are in the zip file. Once again, big thankyou to picolini. Hope you enjoy this mod. This post has been edited by Yangster on Monday, Jul 10 2006, 09:05
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Picolini  |
|
ZOMG ROFL XD!!!!11

Group: BUSTED!
Joined: Dec 7, 2002


|
I'm glad I could help out. Great work on the mod, it is very fun. To anyone trying to download it from that link, if you get a message saying something like "Sorry the file located in c:/..... doesn't work" or something similar, just close the download page and reopen it, it should work then. Also, @Yangster, I'll have to check out that code you gave me ASAP, thanks for helping me with that  Oh, and for everyone here are the bomb models included... Modern Style Bomb...  Classic Bomb... This post has been edited by Picolini on Tuesday, Jul 4 2006, 17:52
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Yangster  |
Posted: Wednesday, Jul 5 2006, 01:20
|
Rat

Group: Members
Joined: Sep 9, 2003

|
Woops, did I forget to add the script.img? No worries, you don't need it anyway.
I've never used darkpact, but if it doesn't allow you to use new objects, use MISSILE_07_SFXR instead. I chose MISSILE_11_SFXR because it isn't used elsewhere in the game, so I could edit it's properties without problem. The object provides collision detection and wanted level stars when destroyed.
However, I chose not to remove it's explosion properties as it still does damage, just without the visual FX, which would make you die apparently randomly sometimes. I haven't tested the other missile object, but it should work the same. If the offsets cause the object to clip the bomb and detonate prematurely, change the offsets.
@PLP: the set speed for objects is dodgy and depends on the object. RCBOMB disappears with speeds above 100.0, and even with speed of 100.0 travels really slowly. MISSILE_??_SFXR seems to work well and travels faster, but I still think the get and set speed opcodes use different formats. Either way, I couldn't get it to work.
Using a car, the bomb momentum looks accurate enough, especially on horizontal thrust. The object is attached to the bomb car, so this way, best of both worlds. Unless you want to drive a flower pot around.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Simon.  |
Posted: Wednesday, Jul 5 2006, 04:43
|
Gangsta

Group: The Connection
Joined: Feb 1, 2005


|
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Yangster  |
Posted: Wednesday, Jul 5 2006, 07:48
|
Rat

Group: Members
Joined: Sep 9, 2003

|
From the orientation of the bombs, it looks like you dropped the bombs while flying up then swooped down into them (those bombs are pointing way up even though they tilt forward). What did you expect  ? If you play with explosives... I haven't yet had that problem, but if anyone is having troubles with two bombs colliding and detonating near the hydra, do the following. Where I have | CODE | :BOMBLOOP 0001: wait 0 ms 00D6: if 0 @32 > 350 004D: jump_if_false ££BOMBLOOP1 0382: set_object @12 collision_detection 1 |
change that to | CODE | :BOMBLOOP 0001: wait 0 ms 00D6: if 0 @32 > 500;or more if you want 004D: jump_if_false ££BOMBLOOP1 0382: set_object @12 collision_detection 1 |
That timer there is the time in ms before the collision detection kicks in. For me, 350 was plenty of time to allow the bombs to separate and not collide. Set it too high though, and the bomb won't explode on trees, signs etc if you are flying fairly low. It's a compromise. Oh, and, if you're computer isn't good, don't hold the horn key for too long. I was experimenting with 3 bombs at the same time, and my computer crashed if I held the key for > 5 seconds without any bombs exploding yet. Don't drop lots of bombs when you're low and on vertical thrust though. The explosion can get very big. As for the SASCM.ini, that's only for those who wish to compile the code themselves and are having compatability problems with the opcode parameter order. Also, sorry for the zip creating an empty folder. I renamed one of the folders to update the zip, but it didn't get rid of the empty folder. Anyway, whatever doesn't kill you only makes you stronger. @PLP: to clarify on what I said earlier. I did lots of testing on the set object speed opcode. It's behaviour depends on the type of object you use it on. RCBOMB seems to have a max speed which it can travel at, making it go faster either doesn't do anything or causes it to disappear. The 3 MISSILE_??_SFXR model's work at high speeds, and almost got my hopes up, but still wouldn't travel where the hydra was travelling, it would sort of skew off to the side - seemingly randomly to me. I did use the MISSILE to create the explosion (the object explosion is bigger than with the create_explosion opcode), and also gives wanted level stars, unlike creating an explosion. I also use it in my collision detection. The only time you'll notice dodgy physics is if you are going sideways or backwards on vertical thrust, but your speed is never high enough to make it look too bad. Thanks for your help though. @All: Finally, picolini has asked me if I can modify the code a bit so some other planes can shoot the bomb forward like a missile. I've made a start, but simply don't have the time to really work on it (school's just started for me). If you are a fairly advanced coder and are benefiting from the excellent work picolini has done with the bomb models, please consider giving him a hand as he has never done any coding before. I've given him what I've done so far, and if you would like to help, please contact him for the code. You can take full credit for the end product (code) if you like. It works OK, missile shoots straight and blows up 100% when it hits the ground, 100% when it hits another vehicle, but only around 50% when it hits a building, I think because the 'missile' moves so fast. Obviously, you wouldn't use this for the hydra like in this code, as it already has a missile launcher. To use it with Bombs Away, you would need to change the labels and jumps. You could add a check to see whether health has been lost, but keep in mind any vehicle automatically loses health when flipped - even in mid-air, so it would blow you up if you flew upside down and shot a missile. Anyway, hope you're all having fun. If anyone wants to darkpact it and can't add new objects, do what I said before and use MISSILE_07_SFXR instead of #11. It should work the same but you might need to check clipping. Otherwise, it works perfectly well the way it is now, unless you kamikaze into the bombs, silly  .
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Yangster  |
|
Rat

Group: Members
Joined: Sep 9, 2003

|
| QUOTE (Picolini @ Jul 6 2006, 03:14) | | There isn't a way to make the explosion bigger, at least not with out modifying ever other explosion. You can actually make the blast radius larger, but just the damge radius not the explosion animation...Too bad, this mod with some HUGE explosions would be crazy. | Hey, you learn quickly  . Having too high a damage radius also causes various audio-visual glitches, as well as a lack of crumbling buildings. Anyways, a slightly updated version is now available at gtagarage (see first post), as the original link dies in a year. Also, I've given the mod which allows the shamal to fire the bomb like a missile to picolini. You can get it from him if you want, or you can release it, picolini, if you wish. Have fun  .
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
The_Sorrow  |
Posted: Tuesday, Mar 19 2013, 16:10
|
Heaven, I'm in heaven(8)

Group: Members
Joined: May 31, 2010


|
| QUOTE (rockstar95 @ Thursday, Feb 21 2013, 15:09) | can someone give me the link of wall climbing mod? it's confusing  |
7 year bump and it's not even related the OP?
Well done.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|