Raised This Month: $51 Target: $400
 12% 

FF2 [Subplugin] Fall Effects


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Naydef
Senior Member
Join Date: Dec 2015
Location: Doom Town, Nevada
Old 12-04-2016 , 07:55   [Subplugin] Fall Effects
Reply With Quote #1

Freak Fortress 2: Fall Effects
Version: 0.4


Description:
Includes 3 passive abilities which are activated when boss takes fall damage:
  • Sound on fall damage
  • Screen shake on fall damage
  • Damage on fall damage

Video:
Coming Soon!


Config:
Code:
        Ability 1 prototype in config:
	"ability1"
	{
		"name" "ff2_falleffectsound"
		"arg0" "0"    // Ignored
		"arg1" "1500" // Sound distance
		"arg2" "2"    // Number of sounds which will be emitted randomly. Here we have 2 sounds. Every sound has GetRandomInt(1,  sound_number) chance of being selected. 
		"arg3" "sound\freak_fortress_2\some_good_sound.wav"
		"arg4" "sound\freak_fortress_2\some_other_good_sound.wav"
		"plugin_name" "ff2_falleffects"
	}

        Ability 2 prototype in config:
	"ability1"
	{
		"name" "ff2_falleffectshake"
		"arg0" "0"    // Ignored
		"arg1" "1500" // Shake distance
		"arg2" "1"    // Is the boss going to be shaked also
		"arg3" "1.0"  // Shake amplitude
		"arg4" "10.0" // Shake duration - in seconds
		"arg5" "4.5"  // frequency
		"plugin_name" "ff2_falleffects"

	}

        Ability 3 prototype in config:
	"ability1"
	{
		"name" "ff2_falleffectdamage"
		"arg0" "0"    // Ignored
		"arg1" "1500" // Damage distance
		"arg2" "40"   // Amount of damage (This will take a formula in future version)
		"plugin_name" "ff2_falleffects"

	}

Changelog:
Spoiler


Credit:
Me - Creator


Bugs/Improvements:
  • Implement ff2_falleffectparticle ability

Installation:
  • Click ff2_falleffects.smx below
  • Rename the file in order to have the .ff2 extension
  • Copy and paste it in the "freaks" folder
  • That is. Change the map or write ff2_reload_subplugins in server console!


Note:
The damage on fall damage ability may be exploited if it's used in combination with weightdown ability. Use it wisely. Also future versions of the ability will be able to use formula!

Feedback is very welcomed!



Files:
Attached Files
File Type: sp Get Plugin or Get Source (ff2_falleffects.sp - 236 views - 8.1 KB)
File Type: smx ff2_falleffects.smx (9.4 KB, 232 views)
__________________
My plugins:
*None for now*


Steam:
naydef

Last edited by Naydef; 12-04-2016 at 07:57.
Naydef is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode