Fire System
#6

The creation of fires is simple. You just need to get the fire texture, and create it as an object where you want to create your fire. Also, you should create an INVISIBLE pickup inside that same fire. So when a player walks into the fire, OnPlayerPickUpPickup gets called, and you can check if they walked into a fire pickup, then you can somehow light them on fire.
As for the extinguishing part, you will have to create your own method of detecting if a player is aiming at the fire with the fire truck/extinguisher, and slowly decrease the fire's health. Once the fire's health reaches 0, delete the object and pickup. Simple.

(Yes, it's easier said than done)
Reply


Messages In This Thread
Fire System - by Drago987 - 14.02.2014, 16:03
Re: Fire System - by CuervO - 14.02.2014, 16:06
Re: Fire System - by Drago987 - 14.02.2014, 16:37
Re: Fire System - by Drago987 - 14.02.2014, 17:59
Re: Fire System - by Drago987 - 14.02.2014, 23:01
Re: Fire System - by Threshold - 14.02.2014, 23:21
Re: Fire System - by cordellpwnz - 12.05.2015, 22:08
Re: Fire System - by Abagail - 12.05.2015, 22:11

Forum Jump:


Users browsing this thread: 1 Guest(s)