Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Replacing HAZMAT with Engine02

Featured Replies

So, I'm trying to make some major changes to the vehicle lineup at FS1 and FS2. First task is to replace the HAZMAT at FS2 with a Engine02. Later I'll place the HAZMAT at FS1, so I'd try not to use the VO_HAZMAT for the Engine02 at FS2. What I'd basically done, was to change the

CreateVehicle(OBJ_HAZMATSQUAD, UNNAMED)

to

CreateVehicle(OBJ_ENGINE02, UNNAMED)

and edited the crew, max passengers, max transports and speed to match an Engine02. That made the script spawn a Engine02 at FS2 instead of a HAZMAT unit. So far, so good.

To release VO_HAZMAT for future use, I created a constant called VO_ENGINE06 in both LAFireStation and LAFireStationStart and replaced all instances of VO_HAZMAT with VO_ENGINE06 in both files, which just results in an empty slot at FS2. Have I overlooked something? Maybe about creating a new VO?

Any help to put me in the right directions is appreciated :)

You need to go into the editor and change the name of VO_HAZMAT at FS2 to VO_ENGINE06. The reason nothing is showing up there is because the script is trying to spawn the engine at VO_ENGINE06, but there is no VO_ENGINE06 on the map.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.