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

FF2 [Subplugin] Rage Model v1.1 (2013/04/15)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jasonfrog
Senior Member
Join Date: Mar 2008
Old 04-13-2013 , 15:19   [Subplugin] Rage Model v1.1 (2013/04/15)
Reply With Quote #1

Rage Model (Latest Version: v1.1)

This plugin provides 3 functions.
  • Changing the Bosses model to a secondary model when the Boss rages, and restoring the primary model after the rage.
  • Changing the Bosses primary model to an additional model(s) depending on the percentage of the Bosses remaining health.
  • Changing the Bosses primary model to an additional model(s) depending on the Bosses current life.
All functions can be used together, or on their own.

Installation:
  • ff2_ragemodel.ff2 -> plugins/freaks/
  • ff2_ragemodel.sp -> scripting/

Rage Model
PHP Code:
"abilityX"
{
    
"name" "rage_model"
    "arg1" "10"  
//duration in seconds before changing back from rage to primary model
    
"arg2" "models\freak_fortress_2\boss\bossrage.mdl"        //path to rage boss model    
    
"arg3" "models\freak_fortress_2\boss\boss.mdl"         //path to primary boss model    
    
"plugin_name" "ff2_ragemodel"

  • All models and materials need to be added to the mod_download, mat_download and download tables, where applicable, in the Boss config.
  • All models need to be added to the mod_precache table in the Boss config.


Health Model
PHP Code:
"abilityX"
{
    
"name" "health_model"
    "arg1" "80"    
// percentage of health remaining 
    
"arg2" "models\freak_fortress_2\boss\bossdamage1.mdl"    //path to boss model
    
"arg3" "60"    // percentage of health remaining  
    
"arg4" "models\freak_fortress_2\boss\bossdamage2.mdl"    //path to boss model
    
"arg5" "40"    // percentage of health remaining  
    
"arg6" "models\freak_fortress_2\boss\bossdamage3.mdl"    //path to boss model
    
"arg7" "20"    // percentage of health remaining  
    
"arg8" "models\freak_fortress_2\boss\bossdamage4.mdl"    //path to boss model
    
"arg9" "10"    // percentage of health remaining  
    
"arg10" "models\freak_fortress_2\boss\bossdamage5.mdl"    //path to boss model
    
"plugin_name" "ff2_ragemodel"

  • Not all args need to be used, i.e. if you only have one damage model, then just set arg1 and arg2. The rest of the args can be left blank or deleted.
  • All models and materials need to be added to the mod_download, mat_download and download tables, where applicable, in the Boss config.
  • All models need to be added to the mod_precache table in the Boss config.
  • Maximum of 5 damage models.


Life Model
PHP Code:
"abilityX"
{
    
"name" "life_model"
    "arg0" "-1"    
// required, do not change.
    
"arg1" "models\freak_fortress_2\boss\bosslife1.mdl"    //path to boss model for 1st death
    
"arg2" "models\freak_fortress_2\boss\bosslife2.mdl"    //path to boss model for 2nd death
    
"arg3" "models\freak_fortress_2\boss\bosslife3.mdl"    //path to boss model for 3rd death
    
"arg4" "models\freak_fortress_2\boss\bosslife4.mdl"    //path to boss model for 4th death
    
"arg5" "models\freak_fortress_2\boss\bosslife5.mdl"    //path to boss model for 5th death
    
"arg6" "models\freak_fortress_2\boss\bosslife6.mdl"    //path to boss model for 6th death
    
"arg7" "models\freak_fortress_2\boss\bosslife7.mdl"    //path to boss model for 7th death
    
"arg8" "models\freak_fortress_2\boss\bosslife8.mdl"    //path to boss model for 8th death
    
"arg9" "models\freak_fortress_2\boss\bosslife9.mdl"    //path to boss model for 9th death
    
"arg10" "models\freak_fortress_2\boss\bosslife10.mdl"    //path to boss model for 10th death
    
"plugin_name" "ff2_ragemodel"

  • Not all args need to be used, i.e. if you only want to change the Bosses model after it's 3rd death, then just set arg3. The rest of the args can be left blank or deleted.
  • All models and materials need to be added to the mod_download, mat_download and download tables, where applicable, in the Boss config.
  • All models need to be added to the mod_precache table in the Boss config.
  • Maximum of 10 life models.


ChangeLog:
v1.1: Added Life Model.
v1.0: Initial release.
Attached Files
File Type: smx ff2_ragemodel.smx (6.8 KB, 847 views)
File Type: sp Get Plugin or Get Source (ff2_ragemodel.sp - 640 views - 6.9 KB)

Last edited by jasonfrog; 04-15-2013 at 10:02. Reason: Updated to v1.1
jasonfrog is offline
nope.avi
Senior Member
Join Date: Jan 2012
Location: Australia
Old 04-14-2013 , 08:41   Re: [Subplugin] Rage Model v1.0 (2013/04/13)
Reply With Quote #2

Finally. YOU ARE AWESOME!
Here, have !
This is brilliant. More bosses, better gameplay. Beautiful sub-plugin!
__________________
I quit the FF2 business, I can only provide some assistance and feedback. I was previously a 3D modeler, texture artist and boss maker.
nope.avi is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 04-14-2013 , 17:46   Re: [Subplugin] Rage Model v1.0 (2013/04/13)
Reply With Quote #3

I wish you would add a option to allow me to detect if the boss has lost a life instead of life %. Or will this work if I set the arg to 0? Even if it did though I suspect it would only allow for 1 model change.
__________________

Last edited by Fearts; 04-14-2013 at 17:47.
Fearts is offline
jasonfrog
Senior Member
Join Date: Mar 2008
Old 04-14-2013 , 18:15   Re: [Subplugin] Rage Model v1.0 (2013/04/13)
Reply With Quote #4

Quote:
Originally Posted by Fearts View Post
I wish you would add a option to allow me to detect if the boss has lost a life instead of life %. Or will this work if I set the arg to 0? Even if it did though I suspect it would only allow for 1 model change.
There isn't a FF2 native that allows the querying of the number of lives a boss has, or a forward for when the boss loses a life.

0 will allow one model change on the first death.

Last edited by jasonfrog; 04-14-2013 at 18:26.
jasonfrog is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-14-2013 , 20:12   Re: [Subplugin] Rage Model v1.0 (2013/04/13)
Reply With Quote #5

Quote:
Originally Posted by Fearts View Post
I wish you would add a option to allow me to detect if the boss has lost a life instead of life %. Or will this work if I set the arg to 0? Even if it did though I suspect it would only allow for 1 model change.
Quote:
Originally Posted by jasonfrog View Post
There isn't a FF2 native that allows the querying of the number of lives a boss has, or a forward for when the boss loses a life.

0 will allow one model change on the first death.
"arg0" "-1"
will cause an ability to fire when a boss loses a life.

However, you're right about there being no natives to query the number of lives.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-14-2013 at 20:16.
Powerlord is offline
jasonfrog
Senior Member
Join Date: Mar 2008
Old 04-15-2013 , 06:28   Re: [Subplugin] Rage Model v1.1 (2013/04/15)
Reply With Quote #6

Quote:
Originally Posted by Powerlord View Post
"arg0" "-1"
will cause an ability to fire when a boss loses a life.
Thanks for pointing that out!

Added 'Life Model' ability, updated to v1.1, see first post.
jasonfrog is offline
JuegosPablo
Veteran Member
Join Date: Feb 2016
Location: Gravity is a Harness
Old 10-12-2016 , 16:27   Re: [Subplugin] Rage Model v1.1 (2013/04/15)
Reply With Quote #7

Spoiler


i need help
JuegosPablo is offline
Epicman.
Senior Member
Join Date: Aug 2015
Location: Canada
Old 10-16-2016 , 16:27   Re: [Subplugin] Rage Model v1.1 (2013/04/15)
Reply With Quote #8

Quote:
Originally Posted by JuegosPablo View Post
Spoiler


i need help
kinda doubt jasonfrog will respond to you, considering the fact that he hasnt been on for half a year
Epicman. is offline
MeeMFromHH
Senior Member
Join Date: Sep 2015
Location: Degroot Keep
Old 10-16-2016 , 17:25   Re: [Subplugin] Rage Model v1.1 (2013/04/15)
Reply With Quote #9

The version that makes model change depending on remaining health would be good for a boss based on Nightmare from Metroid Fusion...

You know... this guy:



That is... if someone bothers to make him.
__________________
"If fighting is sure to result in victory then you must fight!"
-The Soldier
MeeMFromHH 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 17:04.


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