Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. DLC
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
      7. The Diamond Casino Heist
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Prof_Farnsworth

[IV/WIP] Ambient Fire Inspector

Recommended Posts

Prof_Farnsworth

UPDATE should be up soon. Recommended, see first post.

Share this post


Link to post
Share on other sites
Prof_Farnsworth

 

Now I don't know how well this PTFX approach works (Sam told me), but I have the internal firetruck AI working for a very long time. If you are interested please let me know.

http://www.imagebanana.com/view/xd74px5m/w...arenoingame.jpg

This method works well for general effects like the explosions of people in my shooting range mod, but specifics like water geysers and such are tough (for me anyway) as I can't seem to find the right equation to point an object at a location.

 

I would be very grateful to know how to make the AI fire truck work, but have never been able to. I've tried everything from pointers to trig to get my created object to point at the burning/burnt car, but it is never consistent. I notice you have the actual cannon turning as well, impressive.

 

Any advice would be much appreciated.

Share this post


Link to post
Share on other sites
LMS

Well I'm not using any kind of PTFX effects, but existing code in IV to achieve this. This is done via C++ and assembly code and will require an additional DLL file to be used by your mod.

Share this post


Link to post
Share on other sites
Prof_Farnsworth
Well I'm not using any kind of PTFX effects, but existing code in IV to achieve this. This is done via C++ and assembly code and will require an additional DLL file to be used by your mod.

I usually work in C# and am a beginner at best. I am not sure I would know how to trigger the other dll from my script, but I would like to try.

 

Thanks for the help.

Share this post


Link to post
Share on other sites
The Loot

I can't remember from when I tested this awhile ago, but does it put out car fires when they haven't exploded? That's the one thing I'd love to have working.

Share this post


Link to post
Share on other sites
Prof_Farnsworth
I can't remember from when I tested this awhile ago, but does it put out car fires when they haven't exploded? That's the one thing I'd love to have working.

It might, I am not sure. As the car usually explodes before the script calls for the fire to be out, I haven't tested this much.

Share this post


Link to post
Share on other sites
LMS
I usually work in C# and am a beginner at best. I am not sure I would know how to trigger the other dll from my script, but I would like to try.

 

Thanks for the help.

Yeah, I'd provide you with an easy to use .NET interface for the underlying C++ function, so this should be no problem. Give me a couple of hours/days and I'll send you a PM with further details.

Share this post


Link to post
Share on other sites
Prof_Farnsworth
Yeah, I'd provide you with an easy to use .NET interface for the underlying C++ function, so this should be no problem. Give me a couple of hours/days and I'll send you a PM with further details.

Wow, take all the time you need. I really appreciate just having the help. I'll keep an eye on my PM's.

Share this post


Link to post
Share on other sites
gorgonut

Would wou upload your new mods somewhere in order for us to download them until they are approved and released from gtagarage? mercie_blink.gif

I d like to test them asap... rolleyes.gif

Share this post


Link to post
Share on other sites
MasterVampire

New version of this?

Share this post


Link to post
Share on other sites
Prof_Farnsworth

 

Would wou upload your new mods somewhere in order for us to download them until they are approved and released from gtagarage?  mercie_blink.gif

I d like to test them asap... rolleyes.gif

They've been approved on GTA 4 mods already. You can check there for an early DL. Give the mods a break, it is Easter weekend.

 

Happy Easter! icon14.gif

Share this post


Link to post
Share on other sites
gorgonut

You are right! Happy easter too! smile.gif

Share this post


Link to post
Share on other sites
MasterVampire

Hey v2 is really cool.

 

Its awesome how it shoots water now from the cannon even if it is a bit inaccurate.

Share this post


Link to post
Share on other sites
gorgonut

The v.2.0 is much better and stable. It only occasionaly crashed my game when the previous versions did it everytime. It can also handle multiple and big vehicles explosions (like when you put a bomb). There are some bugs which I consider minor like that sometimes the firetruck might disappear and the firemen stay at a spot without moving. But overall is a very good improvment which adds a lot to the game's realism. I also liked the fact that the firement and the chief now have helmets/accessories. 10/10 icon14.gif

I ll keep playing and report back...

Edited by gorgonut

Share this post


Link to post
Share on other sites
Prof_Farnsworth

 

The v.2.0 is much better and stable. It only occasionaly crashed my game when the previous versions did it everytime. It can also  handle multiple and big vehicles explosions (like when you put a bomb). There are some bugs which I consider minor like that sometimes the firetruck might disappear and the firemen stay at a spot without moving. But overall is a very good improvment which adds a lot to the game's realism. I also liked the fact that the firement and the chief now have helmets/accessories. 10/10 icon14.gif

I ll keep playing and report back...

Yeah, about the crashing. I am pretty sure that is due to game loading. If I have modded vehicles, or even some traffic mods (taxi bug fixes), I experience many more crashes than stock vehicles. I am writing a mod where you attack a convoy right now which spawns 5 vehicles and 16 peds. If the fire truck gets called right at their spawn, I usually crash. I am not sure about the truck disappearing. Is the truck drivable when it does this? I have seen them get stuck before, but since I removed my business mod (too big, multiple issues), I have not had any issues.

 

Thanks for the nice comments. If I ever find a fix or wait that will allow the trucks to spawn only if resources are available, I will update.

Share this post


Link to post
Share on other sites
a_happy_dude

an find download link in first post

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.