Team Camarilla International Official Forum

This is the official forum for Team Camarilla International: The Bloodlines Developers
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 How to make a 0 cost unique Discipline (aka mouse scroll issue)

View previous topic View next topic Go down 
AuthorMessage
XehutL
Neonate
Neonate


Posts : 33
Join date : 2010-05-07

PostSubject: How to make a 0 cost unique Discipline (aka mouse scroll issue)   Mon Apr 30, 2012 6:48 am

As the 0 cost is in CE used for some unique level-disciplines, there is a way how to avoid the problem with subsequential not displaying the higher level-disciplines via mouse scroll.

So far I have made functioning 3 of 4 options (in disciplinetgt_xxx):
"Affects" "Self"
"Affects" "Range"
"Affects" "Target"
"Affects" "Cone"

The easiest way is of course to set the "BloodCost" "0", but this will have an unwanted effect of disappearing two or three higher levels in the same Discipline from the mouse scroll. Therefore, I was looking after a different approach to it - I left the "BloodCost" "1" and during the discipline effect (namely target hit) let it immediately return 1 point of blood back to the caster via "Heal_Blood" "1".

"Self" - the very simple way. All you need is to add heal_blood under "Hit_Player_Supernatural":
Code:
   AoE
   {
      "Range"   "0"
      "Source"   "Self"   // Self/Target
      "Affects"   "Self"   // Self/Target/Radius:#/Cone:#
      Affects_Filters
      {
         "Critter"      "1"
         "Self"      "1"
      }
      ...
   }

   Hit_Player_Supernatural
   {
      "InheritFrom"      "Hit_Player_Human"
      "Heal_Blood"      "1"
   }

"Range" - a bit more tricky way. Here is only the step from above not sufficient, you will have to change more code. First, I have found out that there is a problem with the table "Hit_Invulnerable" - it is beeing generally substituted for the "Hit_Player_Human", which means that there is a need to exclude the player here (although I haven't tested the situation with using the invicibilty cheat/command: it may collide with it). Next, you will also need to add "Self" to the discipline AoE.
So the final code could look like this:
Code:
   AoE
   {
      "Range"   "400"
      "Source"   "Self"   // Self/Target
      "Affects"   "Radius"   // Target/Radius:#/Cone:#
      "MaxRadius"   "400"
      Affects_Filters
      {
         "Critter"      "1"
//         "No_Self"      "1"
         "Self"      "1"   
      }

      Affects_Table
      {
         Affects_Filters
         {
            "Invulnerable"   "1"
            "No_Self"      "1"
         }

         Default_Mapping
         {
            "HitTable"   "Hit_Invulnerable"
         }
      }
      ...
   }

   Hit_Player_Supernatural
   {
      "Heal_Blood"      "1"
   }

"Target" - the complicated one. If the "Affects" are "Target" or "Cone", the game seems to be avoiding the caster as a possible target for effect. You'll have to add another new hidden "back-discipline" like it is defined by the Thaumaturgy. The final code may than look like this:
Code:
   AoE
   {
      "Range"   "800"
      "Source"   "Self"   // Self/Target
      "Affects"   "Target" // Target/Radius:#/Cone:#
      Affects_Filters
      {
         "Critter"      "1"
         "Self"      "1"
      }
      Affects_Table
      {
         Affects_Filters
         {
            "Invulnerable"   "1"
            "No_Self"      "1"
         }

         Default_Mapping
         {
            "HitTable"   "Hit_Invulnerable"
         }
      }
      ...
   }

   Hit_Human
   {
      "Duration"      "10-13"
      "Hit_Player_Human"   "1"

      Trigger_Casting
      {
         "DisciplineFX"   "Dementation_BloodHeal"
         "Source"      "Target"
         "Affects"      "Self"
      }
   }
... and the additional "hidden" discipline to do the healing effect:
Code:
// ---------------------
// Dementation: Level 1 BloodHeal
DisciplineTgt
{
   "Name"      "BloodHeal"
   "InternalName"   "Dementation_BloodHeal"

   "Discipline"   "Dementation"
   "Level"      "1"

   "BloodCost"      "0"
   "Overt"      "0"
   "SupernaturalLvl"   "0"
   "RecoveryTime"   "0"

   AoE
   {
      "Range"   "0"
      "Source"   "Self"   // Self/Target
      "Affects"   "Target"   // Target/Radius:#/Cone:#
      Affects_Filters
      {
         "Critter"      "1"
         "No_Self"      "1"
      }

      // Tables:
      Affects_Table
      {
         Affects_Filters
         {
            "Human"   "1"
            "Player"   "1"
         }

         Default_Mapping
         {
            "HitTable"   "Hit_Player_Human"
         }
      }

      Affects_Table
      {
         Affects_Filters
         {
            "Supernatural"   "1"
            "Player"      "1"
         }

         Default_Mapping
         {
            "HitTable"   "Hit_Player_Supernatural"
         }
      }

      Affects_Table
      {
         Affects_Filters
         {
            "DisciplineStrata"   "0"
         }

         Default_Mapping
         {
            "HitTable"   "Hit_Human"
         }
      }

      Affects_Table
      {
         Affects_Filters
         {
            "Human"   "1"
         }

         Default_Mapping
         {
            "HitTable"   "Hit_Human"
         }
      }

      Affects_Table
      {
         Affects_Filters
         {
            "Supernatural"   "1"
            "No_Boss"      "1"
         }

         Default_Mapping
         {
            "HitTable"   "Hit_Human"
         }
      }

      Affects_Table
      {
         Affects_Filters
         {
            "Boss"   "1"
         }

         Default_Mapping
         {
            "HitTable"   "Hit_Human"
         }
      }
   }

   Effect_Src_Instant
   {
      SoundFX
      {
      }
   }

   Effect_Src_Hit
   {
   }

   // Effects:
   Hit_Player_Human
   {
      "Heal_Blood"      "1"
   }

   Hit_Player_Supernatural
   {
      "InheritFrom"      "Hit_Player_Human"
   }

   Hit_Human
   {
      "Heal_Blood"      "1"
   }
}
// ---------------------

"Cone" - for this area of effect I have not found out the solution yet, as there can be more than 1 target at once and each hit will trigger the "blood healing" effect if used in the similar way like with the "Target" affection. One way that *might be working* is via reversed chaining - i.e. first to cast spell on "Self", then the actual (but hidden) effect via "Cone" on enemies. I tried it only briefly and I was not able to get it running over 2 or 3 tests (i.e. both the tageting effect through the red ankh & the blood back to have cost of 0 blood in the end). I have to stop all the further tests in this direction because of insufficient time, lately. You are - of course - welcome to continue on it, if you the spare time Basketball Cool

For me the 3 ways out of 4 are enough at the moment as I can live along with only "Range" instead of "Cone" AoE for the Dominate/Dementation.

Hopefully this would be helpfull to someone Very Happy

-X-


Last edited by XehutL on Mon Apr 30, 2012 8:56 am; edited 5 times in total
Back to top Go down
View user profile
Shabutaro
Methuselah
Methuselah
avatar

Posts : 416
Join date : 2010-09-18
Location : Germany

PostSubject: Re: How to make a 0 cost unique Discipline (aka mouse scroll issue)   Mon Apr 30, 2012 7:01 am

Nice solution and easy to integrate. I personally hate equipping a discipline with keys instead of wheel, will definitely try this when i am home Smile Only issue i see is you can't use these 0 blood disciplines while having 0 blood points Sad
Back to top Go down
View user profile
XehutL
Neonate
Neonate


Posts : 33
Join date : 2010-05-07

PostSubject: Re: How to make a 0 cost unique Discipline (aka mouse scroll issue)   Mon Apr 30, 2012 7:14 am

Shabutaro wrote:
Nice solution and easy to integrate. I personally hate equipping a discipline with keys instead of wheel, will definitely try this when i am home Smile Only issue i see is you can't use these 0 blood disciplines while having 0 blood points Sad
This is correct - but the CE seems to have a minimum of 1 blood as a minimum (don't know why), so this shouldn't be the issue here. And even if it is, for me it seems much logical to be forbidden to use *any* discipline with 0 blood Smile
Back to top Go down
View user profile
Shabutaro
Methuselah
Methuselah
avatar

Posts : 416
Join date : 2010-09-18
Location : Germany

PostSubject: Re: How to make a 0 cost unique Discipline (aka mouse scroll issue)   Mon Apr 30, 2012 7:47 am

XehutL wrote:
Shabutaro wrote:
Nice solution and easy to integrate. I personally hate equipping a discipline with keys instead of wheel, will definitely try this when i am home Smile Only issue i see is you can't use these 0 blood disciplines while having 0 blood points Sad
This is correct - but the CE seems to have a minimum of 1 blood as a minimum (don't know why), so this shouldn't be the issue here. And even if it is, for me it seems much logical to be forbidden to use *any* discipline with 0 blood Smile

true Smile
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: How to make a 0 cost unique Discipline (aka mouse scroll issue)   

Back to top Go down
 
How to make a 0 cost unique Discipline (aka mouse scroll issue)
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» other miniature companies who may make trolls?
» How to make your WoW work on NetEase servers.
» **Make a logo for TCI Contest** (Contest Over)
» Can You Make Wolfenstein Characters in Other Graphics Engines?
» Discipline Huds

Permissions in this forum:You cannot reply to topics in this forum
Team Camarilla International Official Forum :: Camarilla Edition Forum :: Post Your Ideas-
Jump to: