Jump to content
Guest willcmjr

How do you edit values?

Recommended Posts

Guest willcmjr
Open extinguish.script with Wordpad.

And search for this:

			if(v.GetVehicleType()==VT_FIREFIGHTERS_TLF)
Energy = 25.0f;

25.0f means the strenght of the watercannon, so you can increase that.

Okay cool, thanks!! Now, is there a way to limit the 3 minutes you have to wait to get the plane?

Link to comment
Share on other sites

Guest willcmjr

if(v.GetVehicleType()==VT_FIREFIGHTERS_LPF)

Energy = 25.0f;

else

Energy = 70.0f; <--What's the second number for?

float Energy = (Caller->GetEquipment()==EQUIP_FIREHOSE) ? 25.0f : 10.0f; <-- Why are there 2 numbers?

Link to comment
Share on other sites

if(v.GetVehicleType()==VT_FIREFIGHTERS_LPF)

Energy = 25.0f;

else

Energy = 70.0f; <--What's the second number for?

Translated to normal English:

If vehicletype of vehicle v (= Caller = unit which executes command) is 'Fire Fighter LPF' strenght is 25, else (no 'Fire Fighter LPF') it is 70.

I don't know exactly why there are two numbers used for the other thing.

Link to comment
Share on other sites

Guest willcmjr
Translated to normal English:

If vehicletype of vehicle v (= Caller = unit which executes command) is 'Fire Fighter LPF' strenght is 25, else (no 'Fire Fighter LPF') it is 70.

I don't know exactly why there are two numbers used for the other thing.

Well, I figured that out, but I was trying to relate it to the actual equipment.

TLF is 25

FLB is 30

LPF is 25

So, what's left to be 70? What is the fire hose, and the fire extinguisher values? Any ideas on the 3min plane thing?

Link to comment
Share on other sites

TLF is 25

FLB is 30

LPF is 25

so the LF (fire plane) remains.

LF is 70

translated again:

If vehicle is TLF strenght is 25

else if vehicle is FLB strenght is 30

else if vehicle is LPF strenght is 25

else (for all other vehicles) strenght is 70

float Energy = (Caller->GetEquipment()==EQUIP_FIREHOSE) ? 25.0f : 10.0f;

I think 25 is firehose and 10 is fire extinguisher.

Link to comment
Share on other sites

Guest willcmjr
TLF is 25

FLB is 30

LPF is 25

so the LF (fire plane) remains.

LF is 70

translated again:

If vehicle is TLF strenght is 25

else if vehicle is FLB strenght is 30

else if vehicle is LPF strenght is 25

else (for all other vehicles) strenght is 70

I think 25 is firehose and 10 is fire extinguisher.

Okay, got it. That will allow me to tinker. No idea on the 3 minute plane limit?

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.



×
×
  • Create New...