Jump to content


Photo

Replacing a vehicle in one of the fire stations


  • Please log in to reply
255 replies to this topic

#21 randomperson139

randomperson139

    Forum Ninja

  • Sub-Moderator
  • 5,404 posts
  • Gender:Not Telling
  • Location:Hiding in the shadows...

Posted 01 October 2009 - 06:08 PM

Change the commands in the editor.
Owner of 295 Warning Points
Executive Director: Forum Child Watch

Think a lot. Say little. Write nothing.
-J.P. Morgan

#22 Texas_DPS

Texas_DPS

    Battalion Chief

  • Members
  • 792 posts
  • Gender:Male

Posted 02 October 2009 - 04:36 PM

is the bls ambulance hard coded to fs2? i tried to add it to fs1 and it keeps going to fs2. i have edited the fsstart, fs and tofs scripts and it is still not working. any advice?

- Jon
- Jon

#23 pyrothijs

pyrothijs

    Assistant Chief

  • Members
  • 2,472 posts
  • Gender:Male
  • Location:Lelystad, the Netherlands
  • Interests:Everything that has to do with the Fire Department.

Posted 03 October 2009 - 12:30 PM

is the bls ambulance hard coded to fs2? i tried to add it to fs1 and it keeps going to fs2. i have edited the fsstart, fs and tofs scripts and it is still not working. any advice?

- Jon


It's not hard coded, but it is scripted. I think the BLS ambulance is scripted to look for a certain virtual object or path (I'm not at my own PC right now, can't check it). That VO or path is probably in fire station 2. If you move that to FS1, there should be no problem.

greetz,PyroThijs, (Moderator/FAQ author)
See something that doesn't belong? Report it, don't take matters into your own hands.
Posted Image
Posted Image
Posted Image


#24 Texas_DPS

Texas_DPS

    Battalion Chief

  • Members
  • 792 posts
  • Gender:Male

Posted 03 October 2009 - 08:20 PM

i had it scripted wrong and i fixed and adjusted everything. thanks for the tip.

- Jon
- Jon

#25 Xplorer4x4

Xplorer4x4

    Assistant Chief

  • Members
  • 4,972 posts
  • Gender:Male
  • Location:Evansville,IN

Posted 06 October 2009 - 01:12 PM

Question is there a certain program that I need to change and save the changes. I just tried to change the FireStationStart script in Notepad and it would not save. Problem Sloved.

No theres not a certain program you need, but I do suggest Notepad2 as it is designed with editing php and c++ in mind. It will help identify missing brackets( the { and } symbols) by marking them in red which will show you where it counter part bracket is as every { will need a }.

The root of your problem is actually the UAC(User Account Control) in Vista and Windows 7. It protects anything located in the program file folder. Im on windows 7 but the process should be very similar on Vista. Go to Start menu. In the search box type msconfig. Do not touch anything in here if you have no clue what your doing. Now go to the Tools tab. Look through the list for something mentioning UAC. Click the launch button and disable UAC. Now you can edit the script directly.

Please DO NOT PM ME for help. Ask your questions on the forum to help others with the same issue.

Enhance your LA Mod Freeplay Experience with LA Mod 2.0 4x4 Submod.
MyDfQUt.jpg

Los Angeles Mod v2.0 4x4 W00ds Map v1 - BETA RELEASE

If you appreciate my work, then please donate. Every little bit helps!
btn_donate_SM.gif


#26 SirMoo

SirMoo

    Captain

  • Members
  • 239 posts
  • Gender:Male
  • Location:Texas <3

Posted 07 October 2009 - 01:13 AM

I went into the editor and thought I added a return to station feature for the Brush truck... now in game it does not have it. ( I replaced the Hazmat with the brush truck for station 2 )... HOW do I save it so that it has the commands I added?

What would be the correct number to replace the FF in the battalion chiefs car with the paramedic captain guy?

#27 Texas_DPS

Texas_DPS

    Battalion Chief

  • Members
  • 792 posts
  • Gender:Male

Posted 07 October 2009 - 02:27 AM

SirMoo, did you replace the hazmat with brush truck in all the scripts? i dont know that it would affect saving the file but it might.

- Jon
- Jon

#28 SirMoo

SirMoo

    Captain

  • Members
  • 239 posts
  • Gender:Male
  • Location:Texas <3

Posted 07 October 2009 - 02:31 AM

Ehh. I don't remember. :\ I think I've got it working I'm about to start it up and test all out. If I've done everything right now... Paramedic Capt. should spawn in the battalion chief vehicle and replace the FF in there already. And then a few vehicles SHOULD have extra commands as well as firefighters having stop traffic/redirect traffic. Wish me luck!

Edit: So thanks to another post I was able to figure it out and add Paramedic Captain to Battalion Chief vehicle by associating him with dummy id 8. I've gotten brush to work with hazmat but then something went wrong and all vehicles were emptying unlike how they should I reinstalled the latofirestation mod to have them not empty then it said brush truck can't go to the firestation 2. -sigh.- So I've changed OBJ_HAZMAT to OBJ_BRUSH and that should fix my issue... I'll test it in the morning. :\ I'm slowly getting the hang of the basic editing... I think...

#29 Xplorer4x4

Xplorer4x4

    Assistant Chief

  • Members
  • 4,972 posts
  • Gender:Male
  • Location:Evansville,IN

Posted 07 October 2009 - 06:32 AM

If you made the edits for the brush to replace the hazmat, then install the personnel stay in trucks submod using the exe installer, it will completely over write all the changes you did. I would install the submod to you desktop. This gives you access to the files rather then over writing the ones you have changed. Now you need an a text comparison app. Personally I use Araxis Merge as I havent found any good freeware apps for text comparison(there tortisedif but i dont like it). Compare them side by side to see where the differences are and then copy the parts from the submod in to your actual lafirestationstart.script. Make sure you edit lafirestation.script to or else hazmat will staff the brush after you sound the alarm following the start of the game.

Chances are, when you got empty stations, you got a script error? Be sure to read these. It might sound like jibberish but with some understanding of C++ you will realize its telling you what needs to be changed, but sadly it doesnt tell you what it needs to be changed to :P

Please DO NOT PM ME for help. Ask your questions on the forum to help others with the same issue.

Enhance your LA Mod Freeplay Experience with LA Mod 2.0 4x4 Submod.
MyDfQUt.jpg

Los Angeles Mod v2.0 4x4 W00ds Map v1 - BETA RELEASE

If you appreciate my work, then please donate. Every little bit helps!
btn_donate_SM.gif


#30 SirMoo

SirMoo

    Captain

  • Members
  • 239 posts
  • Gender:Male
  • Location:Texas <3

Posted 07 October 2009 - 01:36 PM

I don't really have a knowledge of C++. Basic HTML/CSS and PHP yeah... Then a bit of mIRC scripting language but I normally just stare at something for a long time and figure it out. I'd much rather figure it out and learn to edit it on my own than asking someone. Or atleast have them write it out in detail for me to go step by step.

I'ma download that program since I'm always needing it for other things... But it would be nice to have some more detailed guides giving a more in-depth step-by-step guide since the ones Hoppah puts are not good for those of us without experience. I luckly found another post where he posted information on how to modify what numbers vehicle amounts... but he did not explain much so it was mostly for me to figure it out. :/

#31 Xplorer4x4

Xplorer4x4

    Assistant Chief

  • Members
  • 4,972 posts
  • Gender:Male
  • Location:Evansville,IN

Posted 07 October 2009 - 02:19 PM

Isnt ircds and bots(eggdrop,etc) written in C++? none the less, C++ isnt that much different the php. The only difference is it takes longer to test as you have to load the game, load the mod, and finally load the map.

Please DO NOT PM ME for help. Ask your questions on the forum to help others with the same issue.

Enhance your LA Mod Freeplay Experience with LA Mod 2.0 4x4 Submod.
MyDfQUt.jpg

Los Angeles Mod v2.0 4x4 W00ds Map v1 - BETA RELEASE

If you appreciate my work, then please donate. Every little bit helps!
btn_donate_SM.gif


#32 Cosreski

Cosreski

    Senior Captain

  • Members
  • 372 posts
  • Gender:Male
  • Location:Delmarva Penninsula (USA)
  • Interests:Emergency Service's
    911 First Responders LA Mod
    PC Games
    Former Firefighter In California / Maryland

Posted 08 October 2009 - 08:05 PM

We'll see. I am worried that people change more than is necessary and f*ck up their scripts.
If that's going to happen too much, this topic will be closed again before you would even notice it. :)

It all starts with simple edits. :12:


Hey Hoppah, could you just send me a replacement script for replacing the hazmat for the water tender by PM? :23_31_4:

I was wandering if you were to add another fire station on top right or middle right and have water tender, brush and small rescue squad 51, it would make it complete. The Hazmat would do better @ sta 1 and engine 2 replacing Hazmat @ sta2. Sta1 district has the chemical dangers and sta2 district has residential fire dangers. its common sense.
Station1:
Engine 1 & 2
Ladder
Hazmat
2 Ambulance's

Sta2:
Ambo2
Engine 1 & 2

Sta3:
Rescue Squad 51
Water Tender
Brush Truck

Oh, by the way, You did an outstanding job with the Mod and the patch's.....Good Show.......... :smoke:
Geposte afbeelding

#33 Newfoundking

Newfoundking

    The Real Slim Shady

  • Moderator
  • 7,253 posts
  • Gender:Male
  • Location:Newfoundland

Posted 08 October 2009 - 09:27 PM

I really don't see him doing that.. .There is a HUGE difference in switching between units at a station, and making a brand new station...

Wanna play multiplayer without any of the commitment? Emergency Planet hosts casual multiplayer to all its members! Contact me for more information

 

Executive Director: EMP Gulag

 

Do you have a warning that you want to go away, or are you facing another punishment you don't want? Contact me for the NEW alternative!


#34 MARCO

MARCO

    Captain

  • Members
  • 165 posts
  • Gender:Male
  • Location:POLAND

Posted 08 October 2009 - 09:45 PM

Please explain me how I can repleace hazmat on USAR, and USAR on Normal Ladder truck ?

#35 SleepyLizard

SleepyLizard

    Captain

  • Members
  • 205 posts
  • Gender:Male
  • Location:The eye of the storm

Posted 08 October 2009 - 10:41 PM

There is a search section to this forum which is very useful! try it out! also..

http://forum.emergen...?showtopic=5865
http://forum.emergen...?showtopic=6974
"The internet makes it possible to obtain any information known to man within seconds but we'd rather just update our facebooks."

#36 Xplorer4x4

Xplorer4x4

    Assistant Chief

  • Members
  • 4,972 posts
  • Gender:Male
  • Location:Evansville,IN

Posted 08 October 2009 - 11:04 PM

^and a search thread section in the bottom left right after the last post people seem to miss. Doesnt apply here but just saying.

cosres, you do realize theres a Posted Image image/link so you dont have to quote a post every single time you reply.

Please DO NOT PM ME for help. Ask your questions on the forum to help others with the same issue.

Enhance your LA Mod Freeplay Experience with LA Mod 2.0 4x4 Submod.
MyDfQUt.jpg

Los Angeles Mod v2.0 4x4 W00ds Map v1 - BETA RELEASE

If you appreciate my work, then please donate. Every little bit helps!
btn_donate_SM.gif


#37 Cosreski

Cosreski

    Senior Captain

  • Members
  • 372 posts
  • Gender:Male
  • Location:Delmarva Penninsula (USA)
  • Interests:Emergency Service's
    911 First Responders LA Mod
    PC Games
    Former Firefighter In California / Maryland

Posted 09 October 2009 - 04:59 AM

^and a search thread section in the bottom left right after the last post people seem to miss. Doesnt apply here but just saying.

cosres, you do realize theres a Posted Image image/link so you dont have to quote a post every single time you reply.



I must have hit it by accident, my apology.... :sorrysign:
Geposte afbeelding

#38 USMC_NL

USMC_NL

    Senior Captain

  • Members
  • 280 posts
  • Gender:Male
  • Location:The Netherlands Wassenaar
  • Interests:mods and other extra's for em3 and em 4.<br />Unfortanaly i can't model my self. :( to less time.

Posted 13 October 2009 - 11:49 AM

Question,

When i change the Firestation strat with a car that not has a go to fire station command how can i give it to this vehicle (HES) or does it get it straid away if i also change the 3 other files??
Geposte afbeelding
Geposte afbeelding
Geposte afbeelding

#39 randomperson139

randomperson139

    Forum Ninja

  • Sub-Moderator
  • 5,404 posts
  • Gender:Not Telling
  • Location:Hiding in the shadows...

Posted 13 October 2009 - 06:09 PM

To give a vehicle the go to fire station command you have to use the editor.
Owner of 295 Warning Points
Executive Director: Forum Child Watch

Think a lot. Say little. Write nothing.
-J.P. Morgan

#40 firefighter111

firefighter111

    Battalion Chief

  • Members
  • 599 posts
  • Gender:Male
  • Location:New York

Posted 23 October 2009 - 05:37 AM

I'm getting confused when I go to change the staffing of the new vehicle. I've replaced the BLS ambulance with an ALS ambulance atg station 2, but when I go to the LAFireStationStart.script, I can't figure out where to change the staffing. From Hoppah's post, It seemed like you just put in the numbers for the people you wanted, but when I do that, I get a message that the script is undefined. any ideas?

95961656.png