Team Camarilla International Official Forum

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

Share | 
 

 File manipulations from within a Python?

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


Posts : 33
Join date : 2010-05-07

PostSubject: File manipulations from within a Python?   Mon Apr 25, 2016 1:52 pm

I spent several days and nights trying to figure out how to read and change values within "rules.txt" in-game, but it seems that the file is being used only once at start of the game. So the only way how to do it seems to be to have several files with different data/names, then replacing+renaming from a correct one, and lastly restart the game.

This is very cumbersome, but if the Python can do this for me, I would like to use it. Is there any way?
Reason for this is the value "BloodToHealthRatio" -> I wish to use "1" or "2" as default, but more (probably about "5") for Gangrel PC.

Any tips?

-X-
Back to top Go down
View user profile
XehutL
Neonate
Neonate


Posts : 33
Join date : 2010-05-07

PostSubject: Re: File manipulations from within a Python?   Mon Apr 25, 2016 5:27 pm

Btw, here are my currently used clan ShortDescriptions and ShortPenaltyDescriptions (in the case someone would be more interested)..

Brujah
The 'Rabble' are anarchs, rebels and insurgents, fighting passionately fot their disparate causes. They dream of a perfect society - for vampires.
Unarmed and Bashing +1;  Presence use in dialogue;  All frenzy checks -4;  Research -1.

Gangrel
The nomadic 'Outlanders' are feral and wild. These solitary wanderers are the source of much of the lore that likens vampires to dark beasts.
Strength, Stamina and Defense +5 during rampant frenzy;  Better regeneration from feeding;  All Social Attributes cost more;  Humanity -1.
(non-Gangrel frenzy is +3)

Malkavian
Dangerously deranged and psychotic to a member, the 'Lunatics' have their minds polluted with both uncanny insight and darkness.
Inspection +1;  Dementation use in dialogue;  All Verbal feats -1;  Madness.
(persuasion is now charisma+appearance, so malkavs and nossies are the only who can actually start with value of "1")

Nosferatu
Disfigured and skulksome, the hideous 'Sewer Rats' are forever barred from human society; they gather secrets from the darkness that hides them.
Sneaking and Intimidate +1;  Faster regeneration;  Temptation and Appearance limited to 0;  Monstrous visage can cause Masquerade violation.
(just a cosmetic change of subterfuge -> temptation; it might be even more fitting to use charm instead)

Toreador
Lovers of art and the aesthetic, the 'Degenerates' are passionate and decadent. They surround themselves in excess to stave their stagnancy.
Seduction +1;  Presence use in dialogue;  Humanity shifts doubled;  Faster Bloodloss.
(as I added more serious threat of frenzying and decreasing humanity, they really need to watch for their blood as humanity loss after frenzy will hurt them more)

Tremere
A highly secretive clan of sorcerous blood magicians, the 'Warlocks' are widely distrusted... just as they are widely feared.
Research +1;  Dominate use in dialogue;  All Physical attributes limited to 3;  Bloodbuff is shorter.
(blodbuff is again hidden, limited to +1/+2/+3, and depends on intelligence now)

Ventrue
The modern reluctant aristocracy of the Camarilla - the 'Blue Bloods' atone for their damnation by enforcing the Traditions and Masquerade.
Extra support from Camarilla;  Dominate and Presence use in dialogue;  Gain no blood from animals;  Feeding on lowlife can cause vomiting.
(they are a solid clan, so I use them as kind of scale/gauge)
Back to top Go down
View user profile
Zer0Morph
Caine
Caine


Posts : 4245
Join date : 2009-09-10
Age : 37
Location : United States

PostSubject: Re: File manipulations from within a Python?   Tue Apr 26, 2016 2:28 pm

Quote :
Reason for this is the value "BloodToHealthRatio" -> I wish to use "1" or "2" as default, but more (probably about "5") for Gangrel PC.

BloodToHealthRatio in the rules.txt file changes the rules on how feeding regenerates health. In vanilla Bloodlines, you heal when you feed but in CE and TFN, we turned that off. If you want to turn it back on, using 1 or 2 should work. I don't think you can specify different clans to have different values, or if you can, I wasn't aware.

What do you need help with specifically?
Back to top Go down
View user profile http://camarillaedition.darkbb.com
XehutL
Neonate
Neonate


Posts : 33
Join date : 2010-05-07

PostSubject: Re: File manipulations from within a Python?   Tue Apr 26, 2016 5:59 pm

Yes that is exactly what I wanted. But it seems that I must scrap this idea - I found no way how to address the respective value in game and all code needed to any manipulations seems to be only viable via cfg write + a batch file for running the game (which will swap the files/values according to the code from previously written cfg).

This is just too cumbersome for me (as a father I have much less spare time that I would like to have), so I think I'll replace the gangrel merit to better soak vs fall damage (I'm currently in process of making it more serious and to utilize the dexterity for it).

BTW, I would like to publish that mod in the end as a complement for CQM+CE with a lot both subtle and meaningful changes to the game rules.

But when I look now at the randomization thing for the passwords... ech. Hopefully Burgemeister won't be faster with his next version :-)
Back to top Go down
View user profile
Zer0Morph
Caine
Caine


Posts : 4245
Join date : 2009-09-10
Age : 37
Location : United States

PostSubject: Re: File manipulations from within a Python?   Wed Apr 27, 2016 3:23 pm

You could always manipulate the rate at which each clan naturally regenerates health, that is something you could do.

Quote :
BTW, I would like to publish that mod in the end as a complement for CQM+CE with a lot both subtle and meaningful changes to the game rules.

Well if you are looking to publish this mod and it's professionally done and polished, with proper documentation, I'd be more than happy to help you get it out to the public. CE is completely done and won't be modded further and honestly, I don't see myself putting much more time into TFN (I think 5 years of modding the same game was enough) so I'd be more than happy to help where I can... pass the torch if you will. Smile
Back to top Go down
View user profile http://camarillaedition.darkbb.com
Sponsored content




PostSubject: Re: File manipulations from within a Python?   Today at 10:54 am

Back to top Go down
 
File manipulations from within a Python?
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» New Midi File
» Mar. 7: Hak/Tlk File Update
» Tutorial: Making the .pk3 file
» Need Help extracting BC DB to a txt file
» (Fixed) This file contains invalid Data

Permissions in this forum:You cannot reply to topics in this forum
Team Camarilla International Official Forum :: Camarilla Edition Forum :: Ask a Question-
Jump to: