View Single Post
Eggman
Senior Member
Join Date: Jan 2010
Old 04-06-2012 , 13:14   Re: [TF2] Freak Fortress 2
#3

Freak Fortress 2
DIY
Make your own Boss!

Config File:

Bosses' configs placed in addons\sourcemod\configs\freak_fortress_2\ folder.

characters.cfg - this config contains character sets. Put all bosses there.

readme\example_of_boss.cfg - Example of Boss' config (based on Vagineer's config) with commentaries.

default_abilities.txt and ff2_1st_set_abilities.txt - abilities list of the same name sub-plugins.

That is all what you need in configs.

And don't forget to put configs into addons\sourcemod\configs\freak_fortress_2\ and add a new Boss to characters.cfg


Your own model and texture:

Model making for Source can not be described in one post, [SIZE=13px]May[/SIZE] Google be with you.

But there are some notes for you:
  1. Compiled model path should be in models\freak_fortress_2\your_freak\
  2. Compiled material path should be in materials\freak_fortress_2\your_freak\
  3. Don't forget $surfaceprop "flesh" key for models. Arrows will not hit player with model without this key.
  4. There is desirable to base Boss' models on a default player's model.
Your own abilities:

Although you can use the default abilities, you can also create your own. But it can't be configured, you should know some SourcePawn scripting to make it. There is also an example of how to create it.
readme\template_of_ability_subplugin.sp - you can use this template with commentaries to make your plugin with your own rages, charges etc.

Notes:
  1. If you're creating a modification of already existing ability, you should give it the same name but with postfix added (custom version of "charge_bravejump" may be called as "charge_bravejump_myedition").
  2. To check ability's presense, use StrContaint()!=-1 instead of strcmp, because StrContaint can check ability's custom versions too (look at previous tip)
    1. The only exception is that FF2_OnAbility2 requires your own ability, instead of it's custom version.
  3. Don't forget to rename compiled plugin from *.smx to *.ff2 and place into addons\sourcemod\plugins\freaks\.
  4. Please, do NOT edit freak_fortress_2.smx if you want to share your own boss or install other bosses.
    1. Also do not check boss' number, CHECK ABILITY ONLY.
  5. You don't need to use FF2_IsFF2Enabled() check if for *.ff2 sub-plugins, because it's loaded only when FF2 enabled.
  6. Please use FF2_GetBossIndex(client)!=-1 and do NOT use FF2_GetBossTeam()==BossTeam, because Seeldier can throw non-Boss players into his team.
  7. Do NOT check Boss' name. Make new ability and check it! Your ability may be needed to other Bosses.

Last edited by Eggman; 04-13-2012 at 08:50.
Eggman is offline