Jump to content


Photo

[Released] Limited Water Supply Logic


  • Please log in to reply
253 replies to this topic

#141 NathanDollinger

NathanDollinger

    Captain

  • Members
  • 170 posts
  • Gender:Male
  • Location:Asheville, NC, US
  • Interests:Games, Family, Fire Fighting ( Not in that order lol )

Posted 25 August 2013 - 04:05 AM

Ya i put it in and the ladders are still bugging 


banner.jpg


#142 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 25 August 2013 - 04:37 AM

Weird. I swear it fixed the bug for me. I'll check again.

 

Edit: Yep, still happens. However, you can switch people out of the basket, and the new person will work correctly. When that person bugs, the first person will work again.

 

Hoppah, would it be possible to get a RapidDeployment script for ladders, where a person gets out, attaches the line, and then gets in the basket?



#143 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 25 August 2013 - 06:02 PM

I'll take a look into that bug. The rapid deployment idea for the ladder sounds good. May do an extensive one where the rest of the fire fighters get all kinds of equipment.



#144 sgtmatt325

sgtmatt325

    Captain

  • Members
  • 212 posts
  • Gender:Male
  • Location:Scranton PA
  • Interests:Firefighting
    Emergency 4
    Ford Trucks
    Sutphen Tower Ladders

Posted 25 August 2013 - 11:23 PM

May do an extensive one where the rest of the fire fighters get all kinds of equipment.

Don't forget SCBA also :)


Lower Valley Mod Creator


#145 n00bingtarget

n00bingtarget

    Captain

  • Members
  • 102 posts
  • Gender:Male
  • Location:Menasha, WI

Posted 26 August 2013 - 02:16 AM

 The rapid deployment idea for the ladder sounds good. May do an extensive one where the rest of the fire fighters get all kinds of equipment.

I think that is what happened when I did a rapid deployment on a ladder company in Manhattan Mod 3.0.  I'll have to try again to confirm, but I thought that each member grabbed a different piece of equipment, like ax, jaws, hose, extinguisher, etc.


Firefighter / EMT
Boulder Junction Volunteer Fire Department 1989-1996

Firefighter
Town of Menasha Fire Department 1998-1999

Once a Firefighter, ALWAYS a Firefighter. Boy do I miss it!

#146 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 26 August 2013 - 10:29 AM

Hoppah, I just remembered a bug I ran into on the testing mod.

 

When using multiple wyes off of one engine, if you pick up one, the others show/create their hidden person, but don't disappear themselves. I ended up with about twice as many FDNY people as I started out with during that incident. I don't know what can be done about that.

 

I'll have to add that wye script and commands back into my mod since I always had issues with the LAWye script I was using.

 

Looking forward to the hose extender option when you get to that. I've had times when I could really use longer hoses.  Also, it could solve an issue with the rapid deployment hydrant distance check being made too large if they install the hose at it's max and grab another to go from there.

 

Edit: Well, still having trouble picking up the wye after it's been installed. I copied over anything I found in your pickup script that seemed to deal with the wye, so I'm not sure what's causing the issue.

Attached File  pickup.rar   0bytes   13 downloads



#147 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 26 August 2013 - 12:49 PM

Did you edit the wye script? Can you upload that one too?



#148 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 26 August 2013 - 12:55 PM

Ah, no. It's the NYCGatedWye straight from your test mod. I only edited the pickup script I had already.

Edit: Uh oh... realized I still had the LA wye script in. Let me test again to see if that messed it up.... Nope, still bugged.

 

Oh, I forgot to add something related to the hydrant distance check. Does it look for the closest one? I've had it go for a hydrant that isn't the closest one.



#149 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 26 August 2013 - 01:28 PM

Ah, no. It's the NYCGatedWye straight from your test mod. I only edited the pickup script I had already.

 

Oh, I forgot to add something related to the hydrant distance check. Does it look for the closest one? I've had it go for a hydrant that isn't the closest one.

 

Well the pickup script directs to the wye script and that's why I think the source of the problem can be found in that script. I suggest you wait for the next update, since there will be some changes to the wye anyway.

 

The hydrant distance check, gets the first hydrant the game finds in a certain location, so it doesn't get the closest one necessarily. I'll probably change that later on.

 

 

Small update, I've made the following changes for the upcoming version:

- Holding SHIFT while clicking 'rapid deployment' will also activate the deck gun of the engine

- Game shows a different icon when attaching a supply line now

- 'Extend hose' command for fire fighters with a hose, so you can have longer hoses. The way it works is similar to the wye with the exception the fire fighter automatically installs a new hose to the 'extension object'. Just like the wye command, this addition may still be kinda buggy.

 

Also:

- WIP: water tanker script, this is going to be a very complex addition.

- To do: possible ladder bug fix (I haven't confirmed this bug yet)

- To do: rapid deployment hydrant distance check should find the closest available hydrant

- To do: rapid deployment command for ladder vehicles



#150 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 26 August 2013 - 11:51 PM

Well the pickup script directs to the wye script and that's why I think the source of the problem can be found in that script. I suggest you wait for the next update, since there will be some changes to the wye anyway.

 

The hydrant distance check, gets the first hydrant the game finds in a certain location, so it doesn't get the closest one necessarily. I'll probably change that later on.

 

 

Small update, I've made the following changes for the upcoming version:

- Holding SHIFT while clicking 'rapid deployment' will also activate the deck gun of the engine

- Game shows a different icon when attaching a supply line now

- 'Extend hose' command for fire fighters with a hose, so you can have longer hoses. The way it works is similar to the wye with the exception the fire fighter automatically installs a new hose to the 'extension object'. Just like the wye command, this addition may still be kinda buggy.

 

Also:

- WIP: water tanker script, this is going to be a very complex addition.

- To do: possible ladder bug fix (I haven't confirmed this bug yet)

- To do: rapid deployment hydrant distance check should find the closest available hydrant

- To do: rapid deployment command for ladder vehicles

 

Hopefully the new script will go better. Everything looks fine with both scripts, so I just don't get it.

 

Everything else sounds very nice; looking forward to the additions.



#151 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 28 August 2013 - 06:18 PM

Got the water tanker to work in the mission script. It seems to work fine. Now I still gotta do the freeplay compatibility.

I fixed the small ladder issue too, and the rapid deploy finds the closest hydrant (for the supply line) within a certain distance now instead of any hydrant within that distance.

 

I'm still hesitating wether a command to the fire engine's (or the GTF vehicletype cars) which enables the pumps on the engine should be added to the mod. So I'm leaving this decision up to the forumppl and added a poll. Enabling that command would be required to use any hose and it will require 1 fire fighter to man the pump panel. It's a little more realism, and the chance of lag in freeplay MAY be less.



#152 squamishfire

squamishfire

    Senior Captain

  • Members
  • 322 posts
  • Gender:Male
  • Location:Canada

Posted 28 August 2013 - 09:17 PM

I am always for realism :D its a shame that we can't have two FF and a hose line as well :) mind you that would mean more units on scene.


RCMP Mod Staff Member

Former Fire Fighter (2006-2011)
Squamish Fire Resuce
Hall one Company 41 (on call 24-7)

#153 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 28 August 2013 - 09:41 PM

I'd say yes. A little more complexity sounds good to me.

 

Edit: A bug I forgot to report. If a person already has a firehose, they sometimes won't hook up to the vehicle during rapiddeployment. It's usually just one of them.

Also, how can I make it so that rapiddeployment ignores certain person prototypes?



#154 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 29 August 2013 - 06:58 PM

I am always for realism  :D its a shame that we can't have two FF and a hose line as well  :) mind you that would mean more units on scene.

 

Although maybe more realistic, I don't know how to do that. Forcing players to always use 2 fire fighters to control 1 hose would be more annoying than fun too probably.

 

 

I'd say yes. A little more complexity sounds good to me.

 

Edit: A bug I forgot to report. If a person already has a firehose, they sometimes won't hook up to the vehicle during rapiddeployment. It's usually just one of them.

Also, how can I make it so that rapiddeployment ignores certain person prototypes?

 

Okey, I've started to work on the activate pump command.

 

The rapid deployment issue (can't really call it a bug) sometimes happens. I'd say in 6 out of 10 times, all 4 fire fighters do hook up their hoses. Sometimes one of them can't find the connector indeed. Unfortunately, I can't really fix that and it's not a big issue imo. 

 

In the next version of the demo, only fire fighters with the command "AttachFireHose" will do the rapid deploy. It's fairly easy to change that, but I suggest you wait for updated demo. :)

 

There will be a lot of new functionalities in the updated demo mod with a lot of changes to scripts. You will probably have to do the personal changes all over again.

 

Hoppah



#155 NathanDollinger

NathanDollinger

    Captain

  • Members
  • 170 posts
  • Gender:Male
  • Location:Asheville, NC, US
  • Interests:Games, Family, Fire Fighting ( Not in that order lol )

Posted 29 August 2013 - 09:36 PM

 

 

 

Although maybe more realistic, I don't know how to do that. Forcing players to always use 2 fire fighters to control 1 hose would be more annoying than fun too probably.

 

 

 

Okey, I've started to work on the activate pump command.

 

The rapid deployment issue (can't really call it a bug) sometimes happens. I'd say in 6 out of 10 times, all 4 fire fighters do hook up their hoses. Sometimes one of them can't find the connector indeed. Unfortunately, I can't really fix that and it's not a big issue imo. 

 

In the next version of the demo, only fire fighters with the command "AttachFireHose" will do the rapid deploy. It's fairly easy to change that, but I suggest you wait for updated demo. :)

 

There will be a lot of new functionalities in the updated demo mod with a lot of changes to scripts. You will probably have to do the personal changes all over again.

 

Hoppah

 

Any chance you could go ahead with the fix for the aerials?


banner.jpg


#156 mariuswww

mariuswww

    Senior Captain

  • Members
  • 325 posts
  • Gender:Male

Posted 29 August 2013 - 09:50 PM

Will it be possible to feed water from tanker to both engine and ladder?



#157 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 31 August 2013 - 09:18 AM

Currently working on a step-by-step tutorial for adding the freeplay script to a mod and setting up the map, vehicles, people, deck gun dummies, and scripts. I'll be waiting for Hoppah's next revision before I release anything, but I've got all non-script steps written out already.

 

Will it be possible to feed water from tanker to both engine and ladder?

Hoppah will correct me if I'm wrong, but he's probably only planning on allowing single supply connections.

Any chance you could go ahead with the fix for the aerials?

He's most likely going to roll it into the next revision.

The rapid deployment issue (can't really call it a bug) sometimes happens. I'd say in 6 out of 10 times, all 4 fire fighters do hook up their hoses. Sometimes one of them can't find the connector indeed. Unfortunately, I can't really fix that and it's not a big issue imo. 

 

In the next version of the demo, only fire fighters with the command "AttachFireHose" will do the rapid deploy. It's fairly easy to change that, but I suggest you wait for updated demo. :)

 

There will be a lot of new functionalities in the updated demo mod with a lot of changes to scripts. You will probably have to do the personal changes all over again.

Maybe having them remove their hoses during rapid"un"deploy would just bypass the connection issue.

I looked a Shane Green's rapiddeployment mod, and figured it out. The first time I tried it, it made no difference, but I have it fine now.

I've got most of my changes done, so unless you add something completely new, I should be able redo it no problem.



#158 Hoppah

Hoppah

    Boss cat

  • Administrators
  • 3,879 posts
  • Gender:Male
  • Location:Special Needs Department

Posted 31 August 2013 - 03:51 PM

Any chance you could go ahead with the fix for the aerials?

 

Yea, it's a very easy fix actually.

 

Open up WaterSupplyFreeplay.script and find the part of the code I copied in the spoiler and add the pointed out exclamation mark (the ! symbol).

 

Spoiler

 

 

Currently working on a step-by-step tutorial for adding the freeplay script to a mod and setting up the map, vehicles, people, deck gun dummies, and scripts. I'll be waiting for Hoppah's next revision before I release anything, but I've got all non-script steps written out already.

 

Thanks! With the screenshots it should be easier to add everything. In regards to the scripting, you may add the scripting part that involves the freeplay scripts in the \Scripts\Missions\ folder, because nothing has changed to that.



#159 NathanDollinger

NathanDollinger

    Captain

  • Members
  • 170 posts
  • Gender:Male
  • Location:Asheville, NC, US
  • Interests:Games, Family, Fire Fighting ( Not in that order lol )

Posted 31 August 2013 - 08:31 PM

Yea, it's a very easy fix actually.

 

Open up WaterSupplyFreeplay.script and find the part of the code I copied in the spoiler and add the pointed out exclamation mark (the ! symbol).

 

Spoiler

 

 

 

Thanks! With the screenshots it should be easier to add everything. In regards to the scripting, you may add the scripting part that involves the freeplay scripts in the \Scripts\Missions\ folder, because nothing has changed to that.

Thanks!


banner.jpg


#160 emergency 2013

emergency 2013

    Captain

  • Members
  • 169 posts
  • Gender:Male
  • Location:Sweden

Posted 31 August 2013 - 09:09 PM

what mod/script? please tell me


patrols_zps5b0559c2.png