Please Help Support E-Mods.net by Donating

e-mods.net

  • 2017-11-17, 15:00:00
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search

News:

Looking for VTMR Modding Tutorials? Check out the Open Nod Development section of e-mods.net.

Author Topic: How modify conditions for feed discipline?  (Read 701 times)

Vlad_III

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 115
How modify conditions for feed discipline?
« on: 2015-10-31, 01:21:55 »

Hello  :)

I want modify the system calculation for feed discipline.
In vanilla, if I have well learned, the probability to catch and "drink" an ennemy is based on the stat "Wits" and on the discipline "Feed" too.

In my mod, I hope change this to base probability calculations to feed, on the stat "Force" and with discipline Feed, that's seems more logical.
So I have opened the DisciplineFeed.java with Eclipse, but there is not the system of calculation of power success that we can find in others disciplines.

An other java script that I don't see can do this?
Thanks!

Logged

Javokis

  • Horses Dick
  • Member
  • *****
  • Karma: 21
  • Offline Offline
  • Posts: 2373
    • E-Mods.net
Re: How modify conditions for feed discipline?
« Reply #1 on: 2015-10-31, 08:13:30 »

Unfortunately, the Feed command is only initiated through java, but not calculated by it. You'll need to make your own feed discipline from scratch like what was made in Wodal. You can take the Wodal script for feed, but that's quite complex as Wodal uses a custom effect script rather than directly scripting the discipline. Not to mention that the discipline is programmed in Wodal too. [That's a different language]
Logged
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Vlad_III

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 115
Re: How modify conditions for feed discipline?
« Reply #2 on: 2015-10-31, 10:42:34 »

Ok!
So I will keep the vanilla system for this discipline (I don'use Wodal mod for my own modification). That's not so important but I thought it was a simple rule of calculating to add in DisciplineFeed.java  ;D

Thanks.
Logged
 

Page created in 0.063 seconds with 19 queries.