Team Camarilla International Official Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Team Camarilla International Official Forum

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

 

 Histories expanded

Go down 
4 posters
AuthorMessage
kyoden
Methuselah
Methuselah
kyoden


Posts : 301
Join date : 2011-10-27
Age : 44
Location : Germany

Histories expanded Empty
PostSubject: Histories expanded   Histories expanded EmptySat Jan 24, 2015 12:28 pm

While reading through all the histories I had the following idea.

Would it be possible to send the characters some form of email from their past? So depending on what a character has picked at the start he will recieve an email or two during the game about things from his former life. Maybe the library emails him, about that book that is still overdue or whatnot. This would add an additional layer to the histories as you get reminded about your past. Of course this would not suit all character histories, but some could be nicely implemented.


Last edited by kyoden on Sat Jan 24, 2015 1:12 pm; edited 1 time in total
Back to top Go down
Zer0Morph
Caine
Caine
Zer0Morph


Posts : 4253
Join date : 2009-09-10
Age : 45
Location : United States

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySat Jan 24, 2015 1:08 pm

I love where your minds at on this idea, very very clever, I LOVE IT!! Hmmm... implementing it though, I would need Malkav's help on how to set something up because I'm not sure how to make python check a history. I did something similar when you get the email from Silvia, she addresses you according to your clan which was awesome! But I knew how to check what clan you were, but not sure on your history.

Great idea, if I can put this in for 1.4 I will. Keep pushing ideas like this my way, I love it. Very Happy
Back to top Go down
https://camarillaedition.darkbb.com
Childe of Malkav
Beyond Caine
Beyond Caine
Childe of Malkav


Posts : 5204
Join date : 2009-11-05
Location : Gone for Good

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySat Jan 24, 2015 2:32 pm

Sorry to disappoint you. But I haven't yet found a way to get the history into python. There's no character stat "history" and "vhistory" is a console command, not a console variable, so you can't read it out into a python function.
But there are of course some more or less dirty hacks to get around this.
One idea is giving history specific starting equipment, and set a global for the history according to the items the character owns at the start of the tutorial.
And there is another possibility that needs more testing. If it is possible to expand the list of attribute or ability priorities (physical_social_mental...), you can use this as an indirect way to determine the history with a python script.
Back to top Go down
Childe of Malkav
Beyond Caine
Beyond Caine
Childe of Malkav


Posts : 5204
Join date : 2009-11-05
Location : Gone for Good

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySat Jan 24, 2015 3:13 pm

Well, the priority lists work only in a very limited fashion. You can use the existing "No_order" entry, but you can't create more. That's good for two histories, more if you use it for histories that belong to different clans. But they need the same attribute or ability priority order.

So the better choice is probably starting items. Can be any item, a watch, a ring, a drugbox for the lab rat...
Back to top Go down
Zer0Morph
Caine
Caine
Zer0Morph


Posts : 4253
Join date : 2009-09-10
Age : 45
Location : United States

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySat Jan 24, 2015 10:33 pm

This is good to know Malkav, it saves me the time rummaging through files trying to figure it out. I've got around 10 unused items so this may actually work. I'm not going to try to fit it into the 1.3 release because I don't want to screw anything up, right now 1.3 is very stable and I want to keep it like that, but for future releases I may be able to do something like this.
Back to top Go down
https://camarillaedition.darkbb.com
Childe of Malkav
Beyond Caine
Beyond Caine
Childe of Malkav


Posts : 5204
Join date : 2009-11-05
Location : Gone for Good

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySun Jan 25, 2015 5:08 am

As I said, you can use any item, so I wouldn't create new ones, but instead give some cheap common item like a watch or a ring. Or you can give a few bucks right at the beginning and detect the history by the amount of cash the player has at the beginning of the tutorial.
The starting equipment, including money, is set in clandoc, and can be overwritten by a history in traitseffects. The lists are in /vdata/system/items.txt.
There's just one thing I haven't tested yet. Maybe changing equipment triggers the same bug that changing stats does...
Back to top Go down
Zer0Morph
Caine
Caine
Zer0Morph


Posts : 4253
Join date : 2009-09-10
Age : 45
Location : United States

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySun Jan 25, 2015 1:30 pm

I wouldn't create 'new' items, I would use old items we aren't currently using and call them something else. For example, if you choose background A, you start the game with an old locket you kept from your previous life to remind you of the life you once had. You can't drop it, it's with you the whole game. This way, we can call on that item any time we want throughout the game and create plenty of scenarios where your old life is mentioned or brought up somehow. Basically expanding on the 'Samantha' scenario.

Sound like a good idea? We could create a 'special' item for each history or designate an item for several similar backgrounds. The more vague we keep it, the more we can use it.
Back to top Go down
https://camarillaedition.darkbb.com
Feral
Beyond Caine
Beyond Caine
Feral


Posts : 7617
Join date : 2010-08-15
Age : 40
Location : Poland

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySun Jan 25, 2015 1:59 pm

Why not to give two objects and check for a story specific combination? That way you could cut the number of new items to be created considerably?
Back to top Go down
Childe of Malkav
Beyond Caine
Beyond Caine
Childe of Malkav


Posts : 5204
Join date : 2009-11-05
Location : Gone for Good

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySun Jan 25, 2015 2:25 pm

Check once at the beginning of the tutorial and set a G.variable. Then you can use any common item you like, and don't have to worry about the item to stay in the inventory forever.
While a memento from your former life is suitable for some histories, I don't think it's a good idea for all of them.
Back to top Go down
Zer0Morph
Caine
Caine
Zer0Morph


Posts : 4253
Join date : 2009-09-10
Age : 45
Location : United States

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySun Jan 25, 2015 2:34 pm

Wow, good ideas both. You guys have my brain gears turning for sure.
Back to top Go down
https://camarillaedition.darkbb.com
Childe of Malkav
Beyond Caine
Beyond Caine
Childe of Malkav


Posts : 5204
Join date : 2009-11-05
Location : Gone for Good

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySun Jan 25, 2015 2:54 pm

And for further reducing the number of necessary items, IsClan and IsMale are completely valid parameters to check. So you can use the same item for two histories, provided the histories can't be taken by the same clan or gender.
Back to top Go down
kyoden
Methuselah
Methuselah
kyoden


Posts : 301
Join date : 2011-10-27
Age : 44
Location : Germany

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySun Jan 25, 2015 4:27 pm

To be honest I do like the money dirty hag. With 28 histories and even more incoming (The emails is maybe just 1 way to further improve those histories) adding 1-48 $ (depending on the history number) sounds good to me. If you want to void that money Just remove that much money after you have checked for the history to be in effect and then set the haggle bonus money to the value you want. Hope this works. This system could be much easier and more variable for future additions.
Back to top Go down
Zer0Morph
Caine
Caine
Zer0Morph


Posts : 4253
Join date : 2009-09-10
Age : 45
Location : United States

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySun Jan 25, 2015 7:19 pm

kyoden wrote:
To be honest I do like the money dirty hag. With 28 histories and even more incoming (The emails is maybe just 1 way to further improve those histories) adding 1-48 $ (depending on the history number) sounds good to me. If you want to void that money Just remove that much money after you have checked for the history to be in effect and then set the haggle bonus money to the value you want. Hope this works. This system could be much easier and more variable for future additions.

That sounds like a scripting nightmare, lol. Malkav?!?!?!?! LOL
Back to top Go down
https://camarillaedition.darkbb.com
Childe of Malkav
Beyond Caine
Beyond Caine
Childe of Malkav


Posts : 5204
Join date : 2009-11-05
Location : Gone for Good

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySun Jan 25, 2015 9:14 pm

Zer0Morph wrote:
kyoden wrote:
To be honest I do like the money dirty hag. With 28 histories and even more incoming (The emails is maybe just 1 way to further improve those histories) adding 1-48 $ (depending on the history number) sounds good to me. If you want to void that money Just remove that much money after you have checked for the history to be in effect and then set the haggle bonus money to the value you want. Hope this works. This system could be much easier and more variable for future additions.

That sounds like a scripting nightmare, lol. Malkav?!?!?!?! LOL
I wouldn't say that. A bit repetetive, but no nightmare...

First you have to create starting equipment lists for every history. Just the usual stuff (fists, physcannon, clothes, wallet, keyring) plus the money.
Then add the equipment to the history in traitseffects.
Last step, call a function OnMapLoad or from Jack's dialog:
Code:
def checkHistory():
    pc = __main__.FindPlayer()
    G = __main__.G
    if pc.CurrentMoney() == 0:
        G.Player_History =0
    elif pc.CurrentMoney() == 1:
        G.Player_History =1
        pc.MoneyRemove(1)
...

And then, every time you need to know the player's history, just check G.Player_History
Back to top Go down
Zer0Morph
Caine
Caine
Zer0Morph


Posts : 4253
Join date : 2009-09-10
Age : 45
Location : United States

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptySun Jan 25, 2015 9:51 pm

This will check at the beginning of the game correct? Then can I add a variable and assign a number to it that I can use throughout the whole game? Like this...

Assign $1 to History 1
History = 1
Remove $1

Now I can use If History == 1..... throughout the whole game?
Back to top Go down
https://camarillaedition.darkbb.com
Childe of Malkav
Beyond Caine
Beyond Caine
Childe of Malkav


Posts : 5204
Join date : 2009-11-05
Location : Gone for Good

Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded EmptyMon Jan 26, 2015 4:45 am

That's the idea. If you don't want to remove the money again, you can also calculate the starting money after checking the history, and include the money the player already has in the calculation. In that case better assign the high numbers to histories with haggle boni.
Back to top Go down
Sponsored content





Histories expanded Empty
PostSubject: Re: Histories expanded   Histories expanded Empty

Back to top Go down
 
Histories expanded
Back to top 
Page 1 of 1
 Similar topics
-
» Histories Gone?
» Histories
» New Histories Bug
» Baali Histories.
» ggangrel histories

Permissions in this forum:You cannot reply to topics in this forum
Team Camarilla International Official Forum :: The Final Nights Forum :: Post Your Reviews and Ideas-
Jump to: