forums | blogs | polls | tutorials | downloads | rules | help

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in remember_me_form_alter() (line 78 of /var/www/siegetheday.org/sites/all/modules/contrib/remember_me/remember_me.module).

Need Help With Mod

Hey first of all let me start by saying that I am a old member coming back and etc , about a month ago I decided to reinstall DS2 and DS2BW because and well so far im hooked and im feeling like it's 2005 all over again. Now I have been working on a personal mod which is basicly a complete rebalance of the game (mostly way harder and buffs to Fist of Stone and Blood Assassins ) and I've been stuck on finding something , I am trying to find the file that contains the values on how many buffs a Party member can have at a time in other words , im trying to edit the amount of buffs/debuffs a actor can hold at a time. My goal with this change is to simple increase it mostly because I wanna try a 6 nature mages line-up with like every buff at once and healing spells idk seems "goofy" but that's just how I do things. Anyway , hi again feels good to be back , I am glad that this site is still up and download links are up too.

*I should add this for DS2BW and I am not using the mod.exe

TLDR : How do I change the value for maximum buffs allowed on an actor (looking for the file that contains that very information)
*I wrote this post at 5:35 AM UTC , no hard feelings please.

components.gas -
[max_buffs] { type = int; default = 2.0; doc = "How many buffs are allowed on this actor?"; }
[max_debuffs] { type = int; default = 1.0; doc = "How many debuffs are allowed on this actor?"; }

would have to modify all actor templates to override the max.
simplest way would be to edit heroes_ds2.gas at top do something similar -

[t:template,n:hero]
{
	doc = "This is a hero that the actor can choose at the start of game";
	specializes = actor_good;
	[actor]
	{
max_buffs = 4.0;
max_debuffs =4.0;
		can_level_up = true;
		race = human;
		[skills]
		{
			strength 			= 0, 0, 10;
			intelligence		= 0, 0, 10;
			dexterity			= 0, 0, 10;
		}
	}

that code would set the max to 4 buffs and debuffs with only 4 autocast it may be hard to get more than 4 without using the cast.

Thanks a lot Darkelf I guess im blind I legit had this file in my custon archive folder and never saw max_buffs & max_debuffs.

Btw im having an issue about the "loot thief" I found how to change his health and effect and AI etc ( from actors/evil/d/loot_thief.gas ) but for some reason I can't find out where his loot table is , I know he always drop rares and etc but I'd like to change that into like he was chances to drop greys and unique aswell with a low chance but im out of luck can't find it. Also I seem to be lost at something , i'd like to make the nature mage power "Icicle Blast" go way farther then it is but I just don't get it . in active_skills.gas there are only values for it recharge time , requirements and damage (mostly) and inside power_icicle_blast.skrit whatever value I change from either
property float cone_length$
or
property float cone_arc_angle$
changes nothing from the power itself , it does not go farther or gets wider so yeah i'd like some help on that if possible.

closest thing I can find for the Loot Thief - Bits\world\ai\plays\play_thief.skrit, indeed he drops rares, u would probably have to rewrite some of the drop code in it to get what u want.

\world\contentdb\templates\interactive\pwr_ds2_powers.gas has the length and angle numbers that can be changed and it overrides the skrit.

[t:template,n:icicle_blast_power]
{
	doc = "power icicle blast";

	specializes = base_power;
	[attack]
	{
		skill_class = "Nature Magic";
	}
	[magic]	
	{
		skill_class = "Nature Magic";
		magic_class = mc_nature_magic;
		damage_type = dmt_ice;
		target_type_flags = TT_CONSCIOUS_ENEMY | TT_TERRAIN;
	}
	[power_icicle_blast]
    {
		charge_ffx		= "ffx_icicle_blast_charge";
		cast_ffx		= "ffx_icicle_blast";
		cast_efct		= "efct_icicle_blast";
		cone_length 	= 10;			
		cone_arc_angle	= 0.7853;	// Radians. Currently 45 degrees.
	}
}


also will need to tank the mod u create at high priority like 35757 etc cause those all have to overwrite the originals, otherwise the game may load the originals


Reinhearth wrote:
Thanks a lot Darkelf I guess im blind I legit had this file in my custon archive folder and never saw max_buffs & max_debuffs.

Btw im having an issue about the "loot thief" I found how to change his health and effect and AI etc ( from actors/evil/d/loot_thief.gas ) but for some reason I can't find out where his loot table is , I know he always drop rares and etc but I'd like to change that into like he was chances to drop greys and unique aswell with a low chance but im out of luck can't find it. Also I seem to be lost at something , i'd like to make the nature mage power "Icicle Blast" go way farther then it is but I just don't get it . in active_skills.gas there are only values for it recharge time , requirements and damage (mostly) and inside power_icicle_blast.skrit whatever value I change from either
property float cone_length$
or
property float cone_arc_angle$
changes nothing from the power itself , it does not go farther or gets wider so yeah i'd like some help on that if possible.

World/ai/plays/play_thief has the loot table for the loot_thief.