|
 |
|
|
|
|
|
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
|
[IV/WIP] Ambient Fire Inspector Firetruck will respond to fire
 |
|
 |
| |
Prof_Farnsworth  |
Posted: Tuesday, Mar 29 2011, 04:01
|
Ambient Modder

Group: Members
Joined: Feb 25, 2011

|
2.0 Update:
-Added voice and helmets to the firemen, random components for the chief -Water cannon effect is now in place (Big thanks to Mr. Mysterious from LCPDFR team). It does not always aim directly at the fire, but sprays the
surrounding area.
-Corrected more random event bugsUPDATE Version 1.3: Fixed many script errors from numerous causes.UPDATED V1.2
-fixed an annoying crash when multiple fire trucks explode consecutively. (awaiting approval)UPDATED V1.1
BUGS FIXED: Fixed many of the script errors caused by the player dying or leaving the scene of the fire quickly.
After getting back into GTA IV with all of the mods here over the last month, I thought I should share whatever I could. I wanted to add firetrucks to ambient gameplay, sort of like ambulances are now. This is my first mod, so there may be bugs I still have not discovered. Please leave feedback, comments, crits. Thanks go out to those who made modding GTA IV possible, and all who have posted the great work here. AMBIENT FIRE INSPECTION v1.0 by Prof_Farnsworth FEATURES: Any car fire near the player will cause a firetruck to respond to the scene, investigate (look around, take pictures) and clean up (sweep) the area. The fire will also be extinguished (I have NOT gotten the water cannon to work, fire is put out after inspection complete). They will then return to a fire department unless there is another fire. INSTALLATION: Make sure your GTA IV is moddable (scripthook.net, asi loader, etc). Place "FirePatrol.net" into the "scripts" folder in the root GTA IV directory. Play. (You can confirm the script has been loaded if the "emergency" script has been loaded in the scripthook console (default key (~)). Tested on GTA IV version 1.0.7 with Scripthook.net 1.7.1.7, scripthook.dll 0.5.1, and latest xliveless (0.99) KNOWN BUGS: -Occasionally firemen will do their animation while lying on the ground (looks odd) -Firetruck has a tendency to get stuck (Game AI). Leaving the area or blowing up the truck will correct the problem. COPYRIGHT: Please do not upload this mod anywhere else. If you use this mod in one of your own, please be kind enough to give credit. Enjoy This post has been edited by Prof_Farnsworth on Friday, Apr 6 2012, 17:25
This mod is hosted at GTAGarage.com
Screenshots:
Downloads: Download Fire Dept. V2 - 0.006MB, uploaded on Apr 06 2012, downloaded 629 times Download Ambient Fire Inspection - 0.005MB, uploaded on May 17 2011, downloaded 1456 times Download Fire Inspector 1.2 - 0.005MB, uploaded on Apr 02 2011, downloaded 677 times Download Fire Inspector v1.1 - 0.005MB, uploaded on Apr 02 2011, downloaded 315 times Download Fire_Inspector - 0.005MB, uploaded on Mar 29 2011, downloaded 392 times
Click here to view the mod at GTAGarage
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Prof_Farnsworth  |
|
Ambient Modder

Group: Members
Joined: Feb 25, 2011

|
@chasez - In the first post links to all versions can be found. 1.2 should be there soon. (simple script error fixes) @nkjellman - Thanks a lot. I'm glad you like it. | QUOTE | | When ever your car is on fire it somtimes takes a while to explode and no fire truck. |
Do you mean with the mod or without? In my game, they come to every car fire, just after it is set on fire (does not have to explode, just be on fire), as that is how the script is written. I was thinking of only making them come to a percentage of fires though, so they wouldn't come all the time, but am undecided. As for the campaign explosions, I can't remember how many there are, but it may be more trouble than it is worth. This post has been edited by Prof_Farnsworth on Sunday, Apr 3 2011, 01:49
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Prof_Farnsworth  |
|
Ambient Modder

Group: Members
Joined: Feb 25, 2011

|
| QUOTE | | Alright, i have tested this and all i can say is that i love this mod. Brings little more realism again. Altho, this mod can be kinda hilarious. There was a huge pileup of cars and one of the cars was on fire. Firetruck responded and drove at full speed right into the burning car and exploded. Every single car in the pile up blew up after that, one by one. biggrin.gif |
haha, thanks Cpl. Glad you like it. My choice was either have them drive right into it sometimes, or have them stop too far away most of the time, it can be quite hilarious when the first disappears and more come to blow up as well (reason for 3rd update so quick  ). | QUOTE | "names of the model's used for fire in the DLC's" Sorry but I didn't understand what DLC means. Please explain and I ll help if I can. By the way neither the v.1.1 was compatible with EFLC although other mods which are compatible with GTA IV v. 1.0.7 work with EFLC v.1.0.2 too. Don't know why since am I not in the codes modding bussiness. Thanks |
Apologies, what I meant was are the model names for the firemen and firetruck different in EFLC (DLC) than in GTA IV? I would think they would be the same, which makes it odd that it is freezing. I have had plenty of script errors, but never a freeze or crash using this mod. If you know anyone else with EFLC, maybe they could test it for you.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Prof_Farnsworth  |
|
Ambient Modder

Group: Members
Joined: Feb 25, 2011

|
| QUOTE (chasez @ Apr 4 2011, 10:31) | | QUOTE (gorgonut @ Apr 3 2011, 21:32) | I see what you mean. Well, the firetruck and fireman/firechief names are the same for both games. In fact EFLC has the same vehicles.img, componentpeds.img and pedprops.img with GTA IV plus some more stored in different archives for TLAD and TBoGT. So as you explain it I don't understand either why the game is freezing. I am using all the tools (asi loader, scripthook, etc) for GTA IV 1.0.7 and EFLC 1.0.2. But it doesn't matter because I tried also the ones you suggest (Scripthook.net 1.7.1.7, scripthook.dll 0.5.1) and the result was the same Thanks for the effort anyway. Anyone else tested with EFLC? |
I play only with EFLC and nothing like that happens to me.
Just seems funny that when the firemen arrive they sweep the area with broom although the burning car is right next to them. Is that what they acctualy do with this script or do they extinguish the fire with water too? | Yeah, as I say in the description, everything I tried to get the water cannon to fire would not work. The guys at LCPDFR have got it working, it will be in there next release, but I have no idea how, probably using their custom "advanced hook". I still wanted firetrucks when not using LCPDFR though. The only other animation I could find with water was the watering can, which wouldn't really be appropriate here. The other tool and digging animations were not very long or as convincing, so I felt this fit best. If I ever figure out how to have the AI fire the cannon, or use an extinguisher without affecting other weapons, I will update the mod. Thanks for the info on EFLC as well, it seemed very odd that this mod would freeze the game.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
chasez  |
|
Living On Times Square

Group: Members
Joined: Nov 21, 2008


|
| QUOTE (Prof_Farnsworth @ Apr 4 2011, 19:22) | | QUOTE (chasez @ Apr 4 2011, 10:31) | | QUOTE (gorgonut @ Apr 3 2011, 21:32) | I see what you mean. Well, the firetruck and fireman/firechief names are the same for both games. In fact EFLC has the same vehicles.img, componentpeds.img and pedprops.img with GTA IV plus some more stored in different archives for TLAD and TBoGT. So as you explain it I don't understand either why the game is freezing. I am using all the tools (asi loader, scripthook, etc) for GTA IV 1.0.7 and EFLC 1.0.2. But it doesn't matter because I tried also the ones you suggest (Scripthook.net 1.7.1.7, scripthook.dll 0.5.1) and the result was the same Thanks for the effort anyway. Anyone else tested with EFLC? |
I play only with EFLC and nothing like that happens to me.
Just seems funny that when the firemen arrive they sweep the area with broom although the burning car is right next to them. Is that what they acctualy do with this script or do they extinguish the fire with water too? |
Yeah, as I say in the description, everything I tried to get the water cannon to fire would not work. The guys at LCPDFR have got it working, it will be in there next release, but I have no idea how, probably using their custom "advanced hook". I still wanted firetrucks when not using LCPDFR though.
The only other animation I could find with water was the watering can, which wouldn't really be appropriate here. The other tool and digging animations were not very long or as convincing, so I felt this fit best. If I ever figure out how to have the AI fire the cannon, or use an extinguisher without affecting other weapons, I will update the mod.
Thanks for the info on EFLC as well, it seemed very odd that this mod would freeze the game. |
Ok, cool  I love this script, keep up the good work. I wonder if it could be possible to make 2 firetrucks to respond. One seems to be not enough for city like this  lol btw the script doesn't freeze the game (EFLC in this case) but the script failed a few times on MP and one time on SP. I wouldn't care much about if it works on MP but if it will start to act crazy on SP then I'm going to cry because I don't want to go back to IV  lol I hope it was just one time. | QUOTE (gorgonout @ Apr 4 2011, 21:44) | Thanks too for the info. The only thing that I am thinking then is that it might interfere with onother mod... I ll wait to try v. 1.2 |
Actually, any mod could crash your game. All of the scripts make demand to the game to do something forcefully, if you have a low end pc the game can't handle the amount of demands. I think you gotta have a good cpu to avoid freezing caused by scripts. This post has been edited by chasez on Tuesday, Apr 5 2011, 02:40
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Prof_Farnsworth  |
|
Ambient Modder

Group: Members
Joined: Feb 25, 2011

|
| QUOTE | Ok, cool smile.gif I love this script, keep up the good work. I wonder if it could be possible to make 2 firetrucks to respond. One seems to be not enough for city like this biggrin.gif lol
btw the script doesn't freeze the game (EFLC in this case) but the script failed a few times on MP and one time on SP. I wouldn't care much about if it works on MP but if it will start to act crazy on SP then I'm going to cry because I don't want to go back to IV biggrin.gif lol I hope it was just one time. |
@chasez - Thanks, I'm glad you enjoy it. I tried putting two firetrucks in, but the code got very messy, so I may release another script that will add another truck (I don't know how to use multiple scripts in one mod yet  haven't been doing this long) If you could include the function call and error (maybe a screen from the console when you get a crash) I would appreciate it very much. I have only been able to make it crash once since v1.2. | QUOTE | | Actually, any mod could crash your game. All of the scripts make demand to the game to do something forcefully, if you have a low end pc the game can't handle the amount of demands. I think you gotta have a good cpu to avoid freezing caused by scripts. |
This script is only called every 5 seconds, so not too demanding, but it does call a fair amount of stuff, so chasez could be right here.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Pages:
(3) [1] 2 3
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.
| |
 |
|
 |
|
|
|
|