aliens

Author Topic: [Tiny Request] Psi Strength dependant weapon damage  (Read 3430 times)

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
[Tiny Request] Psi Strength dependant weapon damage
« on: August 27, 2014, 01:42:07 pm »
Would there be a good soul to get into the code some sort of psiStrengthApplied flag, akin to the strengthApplied flag (independant but both can be enabled if someone wished), that'd add (if enabled) soldier's Psi Strength to the weapon's damage? I think this has a lot of modding potential, especially for those who want to ditch Mind Control altogether but still want the Psi to have some influence on the game... also for TFTD mods, where spooky creatures stunning people with the power of their mind (or killing them, or setting them on fire, Lovecraft bonanza) are to bexpected... also for Fantasy OXCom. And of course I'd like to make a lot of weapons based on this for my mod. Pretty please?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11408
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [Tiny Request] Psi Strength dependant weapon damage
« Reply #1 on: August 27, 2014, 02:55:15 pm »
+1~!

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: [Tiny Request] Psi Strength dependant weapon damage
« Reply #2 on: August 27, 2014, 04:43:21 pm »
think big :)
replace strength applied with this:
Code: [Select]
    addpower:
      strength: 100
with a default of:
Code: [Select]
    addpower:
      tu: 0
      stamina: 0
      health: 0
      bravery: 0
      reactions: 0
      firing: 0
      throwing: 0
      strength: 0
      psiStrength: 0
      psiSkill: 0
      melee: 0
so ypu can change "dps" like:
throwing spear 40% of tjrowing ability+50%strength + spear power = damage
knife 30% of melee ability+20%strength +30% reactions + knife power = damage
+ perhaps morale/wounds/fatal wounds?)
so any weapon: wounds * -70 % power = you loose dps (logically  would be a change in accuracy/reaction/... but its in the end its the same)

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: [Tiny Request] Psi Strength dependant weapon damage
« Reply #3 on: August 27, 2014, 06:06:51 pm »
Falko, I like your way of thinking.

perhaps it would also be possible to add a possible "minimum" value for each skill/ability? so some weapons (or items) can only be used if "skill">"minimumSkill"?

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: [Tiny Request] Psi Strength dependant weapon damage
« Reply #4 on: August 27, 2014, 07:11:57 pm »
I can think big, Falko, but better a small (but momentous) feature implemented than a big one that's just pipe dream (and this forum's section is full of pipe dreams) :) The question is, Will You Do It? :)

(and of course I agree with both of you with what would be perfect )

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: [Tiny Request] Psi Strength dependant weapon damage
« Reply #5 on: August 27, 2014, 07:22:19 pm »
i like a general approach that gives flexibility with a bit of cost to ruleset readability
if i would be responsible changes "just for mods" would always be in a similar way like above
but i am not responsible and wait with new oxc - c++ coding projects until there is some chance there will be new (non tftd related) features added and then i finish my gui improvment stuff first
in complexity it cant be that hard stats-code already exists there are only few lines in the code that calculate the damage iirc
regardless i am also allowed to have "pipe dreams" ..