Jump to content


Photo

[Released] Limited Water Supply Logic


  • Please log in to reply
253 replies to this topic

#221 Mentor1159

Mentor1159

    Senior Captain

  • Banned
  • 450 posts
  • Gender:Male
  • Location:Ohio

Posted 10 January 2014 - 11:01 PM

Okey cool. I assume we're talking about the freeplay version, right? I'm pretty sure your problem has to do with pump guy, if he cannot be found by the script, the commands disappear. The principle is that you need a working pump to spray water, thus when no pump guy present/found > script disables cool/extinguish commands)

 

Couple of questions, to see if I can locate the source of the problem:

 

1. Just to be sure, does the fire engine have a child with the name "pump_controller"?

2. Does your fire engine have the command "VcmdPumpSwitch"?

3. Do your firefighters have the command "PcmdPumpSwitch"?

4. When the pump guy is working on the pumps, is he in a looped animation where he slightly bends forward to give the impression he controls the pump (actual anim is called "useextinguis")?

5. If you use the 'Rapid Deployment' command to undeploy the fire engine again (when hoses are connected to it), does the pump guy enter the vehicle too?

6. Does your fire engine have any other custom complex commands? If yes, which ones?

You are a genius sir. I never knew I had to assign the engine a Vcmd. Thanks for the help.



#222 Hoppah

Hoppah

    Boss cat

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

Posted 11 January 2014 - 01:47 AM

You are a genius sir. I never knew I had to assign the engine a Vcmd. Thanks for the help.

 

Glad to hear that.  :12:



#223 mariuswww

mariuswww

    Senior Captain

  • Members
  • 325 posts
  • Gender:Male

Posted 11 January 2014 - 02:52 AM

I also got it working with the Vcmd for the vehicles, but only issue i have now is that I can't connect to gated wyes, any suggestion?



#224 Hoppah

Hoppah

    Boss cat

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

Posted 11 January 2014 - 06:27 PM

I also got it working with the Vcmd for the vehicles, but only issue i have now is that I can't connect to gated wyes, any suggestion?

 

Thats an Attach Hose command issue.

You cannot click the wye at all? Or does nothing happens when u do click the wye? Or does the firefighter run up to the wye object and then stops?



#225 mariuswww

mariuswww

    Senior Captain

  • Members
  • 325 posts
  • Gender:Male

Posted 11 January 2014 - 07:11 PM

They dont do anything. I get the + Hose option but nothing happends. I've tried to import the attachfirehose script straight from Limited Water Test mod and La mod but no good.



#226 Hoppah

Hoppah

    Boss cat

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

Posted 12 January 2014 - 11:03 AM

They dont do anything. I get the + Hose option but nothing happends. I've tried to import the attachfirehose script straight from Limited Water Test mod and La mod but no good.

 

Check the Wye script itself. See if the wye object that gets spawned has the name "extend_wye".

I'm guessing the name is off, so the fire fighter doesn't do anything when you click the object.



#227 rafaelmfernandez

rafaelmfernandez

    District Chief

  • Members
  • 1,121 posts
  • Gender:Male
  • Location:ATL
  • Interests:Women

Posted 12 January 2014 - 07:21 PM

Hoppah, please check your PM from me, I have also started this thread if you wouldn't mind an input.

 

Mariuswww has managed to get tankers to work in his mod Stillwater, connecting the tanker to engines and ladders for water supply, Now I would just like to figure out if we can make Engines act as tankers as well so Hydrant>Engine>Engine or Hydrant>Engine>Tower Ladder now that Tower Ladders will hopefully be coming through. Be great if Mr. H stopped by sometime! Were @ 64.154.38.226:9494



#228 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 13 January 2014 - 12:10 AM

Last I heard, Hoppah wasn't planning on adding shared supplies to anything other than tanker/engine, as it just gets complicated after that.



#229 Hoppah

Hoppah

    Boss cat

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

Posted 14 January 2014 - 11:41 AM

I'm still here. Hereweard Fyning is right, but I may see if I can get that to work later. The part which adds the tanker functionality is already complicated. I'm sure it's possible, but I'll keep this one open for now. I do think it would be cool to add it though.

 

Btw, the limited water may not be fully compatible with the tower ladder script because the prototype swaps.



#230 mariuswww

mariuswww

    Senior Captain

  • Members
  • 325 posts
  • Gender:Male

Posted 20 January 2014 - 04:57 PM

I managed to get the wyes working, but now when I use it the vehicle doesnt loose any water.



#231 wisechild1

wisechild1

    Firefighter

  • Members
  • 13 posts

Posted 21 January 2014 - 05:04 PM

Hi,

 

Thanks for great scripts.

 

Can I edit and redistribute the script?



#232 Mailman653

Mailman653

    Lieutenant

  • Members
  • 33 posts
  • Gender:Male
  • Location:Austin, TX

Posted 18 February 2014 - 10:29 PM

Hello all! Been lurking around the past month, finally signed up (was lazy and signed up with FB :stupid: ). Could someone upload the mod and instructions? The links in the first post d/l but they are both 0 bites.

 

Thanks!



#233 Hoppah

Hoppah

    Boss cat

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

Posted 19 February 2014 - 04:36 AM

Hello all! Been lurking around the past month, finally signed up (was lazy and signed up with FB :stupid: ). Could someone upload the mod and instructions? The links in the first post d/l but they are both 0 bites.
 
Thanks!


Thanks, the files have been reuploaded. :)

#234 Mailman653

Mailman653

    Lieutenant

  • Members
  • 33 posts
  • Gender:Male
  • Location:Austin, TX

Posted 19 February 2014 - 02:55 PM

Thanks! Got it working after a few hours :laugh:



#235 böckchen10

böckchen10

    Firefighter

  • Members
  • 2 posts

Posted 20 February 2014 - 02:53 PM

Has a an idea how it could work with the water supplies from vehicles to vehicle?

Does that mean,to GTF  GTF.

 

Sorry for my bad english,böckchen.



#236 Mailman653

Mailman653

    Lieutenant

  • Members
  • 33 posts
  • Gender:Male
  • Location:Austin, TX

Posted 21 February 2014 - 03:17 PM

I was having some problems with my hazmat guys, at first I thought the issue was with a character I added in but now I think it has something to do with the script. I made it so only the birdflu mission would pop up and I ran the demo mission that comes with the script.

 

 

FD picking up the bird.

http://i22.photobuck...zpsbd58aa15.jpg

 

Hazmat picking up the bird.

http://i22.photobuck...zps35a0a559.jpg

 

I'm having this problem in my mod atm, my FD guys can pick up the birds but my hazmat guys can't. For the moment, I think if I want to keep the script (love it) I'll just have to remove the birdflu mission.



#237 Dyson

Dyson

    Assistant Chief

  • Members
  • 2,399 posts
  • Gender:Not Telling

Posted 08 May 2014 - 06:36 AM

I've only just found this bug, but if a different guy removes the hose than the one who connected it, the guy who disconnects changes proto to the same proto as the guy who connected (if that makes sense? haha). I don't know if this has since been fixed with a later update but just thought I'd flag it up see if it had.

 

Cheers



#238 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 08 May 2014 - 07:39 AM

Side effect of how Hoppah has the hidden mechanics set up. The supply connect action hides and clones the person you use to make the connection. It could be remedied with a few lines to get the new person prototype and change the hidden one before it gets shown again.



#239 Enterpriese E

Enterpriese E

    Lieutenant

  • Members
  • 48 posts

Posted 10 July 2014 - 10:24 PM

Very nice script Hoppah, it's just awesome stuff you made.

 

I just translated the whole Guide into German (maybe you want to add it to the first post).

Attached File  Wasserversorgungslogik - Einbauanleitung v.1.2.pdf   203.55KB   30 downloads

 

Greets Luca



#240 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 19 July 2014 - 10:14 AM

Okay, so I decided to take a crack at fixing the proto switch "bug" that comes along with using a different person to disconnect/uninstall supply lines, wyes, and extensions.

 

All it took was a line like this.

n->ChangePrototype(p.GetPrototypeFileName());

The only issue is that the firehose that the original person had turns invisible. Otherwise, seems fine.