[Include] e_volcano — Simple volcano system - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] e_volcano — Simple volcano system (
/showthread.php?tid=529657)
e_volcano — Simple volcano system -
ea8de1 - 03.08.2014
e_volcano
Simple volcano system
Description
With this include, you can create volcanoes with real lava, in which you can burn.
Settings
pawn Код:
#define E_VOLCANO_MAX 4 // Maximum number of volcanoes
#define E_VOLCANO_TIME 1000 // Time of update volcanoes timer in milliseconds
#define E_VOLCANO_CO_FUNC CreateDynamicObject // Create object function
#define E_VOLCANO_DO_FUNC DestroyDynamicObject // Destroy object function
Functions
CreateVolcano
Description:
Create the volcano.
Parameters:
Код:
Float:pos_x // Position X of volcano object
Float:pos_y // Position Y of volcano object
Float:pos_z // Position Z of volcano object
Return:
The volcano ID.
DestroyVolcano
Description:
Destroy the volcano.
Parameters:
Код:
volcanoid // The volcano ID
Return:
true if destroyed or
false if volcano is not exist.
IsValidVolcano
Description:
Checking the existence of a volcano.
Parameters:
Код:
volcanoid // The volcano ID
Return:
true if exist or
false if is not exist.
Example
pawn Код:
CreateVolcano(10.0, 1525.0, 7.0); // Create volcano in desert
Screenshots
Download
Re: e_volcano — Simple volcano system -
Steel_ - 03.08.2014
looks great just need to see those pics Great Job +RAPE
Re: e_volcano — Simple volcano system -
ea8de1 - 03.08.2014
Screenshots added.
Re: e_volcano — Simple volcano system -
Jochemd - 03.08.2014
Make a ******* recording
Re: e_volcano — Simple volcano system -
Lordzy - 03.08.2014
Since you're using "CreateDynamicObject" code, I assume that it's Streamer. Streamer supports area checks so creating a dynamic area would have been better than the normal range check. A quick death wouldn't always look good but a rapid decrease over health would be better. Also, why not vehicles? Vehicles should decrease it's health in case if it falls over Volcano. Other than that, it looks cool.
Re: e_volcano — Simple volcano system -
ea8de1 - 03.08.2014
Quote:
Originally Posted by Lordzy
Since you're using "CreateDynamicObject" code, I assume that it's Streamer. Streamer supports area checks so creating a dynamic area would have been better than the normal range check. A quick death wouldn't always look good but a rapid decrease over health would be better. Also, why not vehicles? Vehicles should decrease it's health in case if it falls over Volcano. Other than that, it looks cool.
|
In future versions it will be considered. Thanks for comment.
Re: e_volcano — Simple volcano system -
Mark_Weston - 05.08.2014
Can it become active? Like actually explode/whatever you call when a volcano erupts.
Re: e_volcano — Simple volcano system -
ea8de1 - 05.08.2014
Quote:
Originally Posted by Mark_Weston
Can it become active? Like actually explode/whatever you call when a volcano erupts.
|
In this version - not yet.