Team Camarilla International Official Forum

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

Share | 
 

 How can I edit cash values ?

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


Posts : 25
Join date : 2012-09-07

PostSubject: How can I edit cash values ?   Sat Sep 22, 2012 2:34 pm

I've been diggin around the files and haven't been able to locate where the values for say the money clip, envelop or cash rewards for quests are. If anyone could point them out and offer tips, I'd appreciate it.
Back to top Go down
View user profile
Childe of Malkav
Beyond Caine
Beyond Caine


Posts : 5164
Join date : 2009-11-05
Location : Bochum, Germany

PostSubject: Re: How can I edit cash values ?   Sat Sep 22, 2012 6:48 pm

The value is part of the item properties. Either the wallet/envelope/clip is created as a map item, then the value is set there. Or the item is spawned dynamically via python, then you have to use the SetValue() command in the spawning function.
You can also create it as a map item, and later use the SetValue() function later to dynamically change its contents, possibly due to the character's haggling skill, or standing with the npc who gives the item.

- geek

_________________
- geek

Tuesday is Soylent Green day.
Back to top Go down
View user profile
Populism
Neonate
Neonate


Posts : 25
Join date : 2012-09-07

PostSubject: Re: How can I edit cash values ?   Sun Sep 23, 2012 3:10 am

Sounds like I'd have to learn and then use a map editor, too much work for now, was hoping it would be a simple notebook edit. Thanks much Malkav, you are very helpfull...as always.
Back to top Go down
View user profile
Childe of Malkav
Beyond Caine
Beyond Caine


Posts : 5164
Join date : 2009-11-05
Location : Bochum, Germany

PostSubject: Re: How can I edit cash values ?   Sun Sep 23, 2012 6:38 am

It's actually not that difficult. The vpk-tools map tool is basically a (very primitive) text editor. If you have a specific thing in mind, send me a pm, and I will tell you how to do it. Probably you don't even need to edit a map file, because it's easier to do it dynamically via Python.

Taming the giant reptile isn't everybody's cup of 0 negative, but I quite like it alien

- geek

_________________
- geek

Tuesday is Soylent Green day.
Back to top Go down
View user profile
Populism
Neonate
Neonate


Posts : 25
Join date : 2012-09-07

PostSubject: Re: How can I edit cash values ?   Sun Sep 23, 2012 6:16 pm

I'll pm you..thanks.
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: How can I edit cash values ?   Today at 4:07 pm

Back to top Go down
 
How can I edit cash values ?
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Hello, this is JOHNNY CASH discography
» Gears Of War cash
» Armor skills/Values?
» MP3 Gain - Edit Your MP3s To Make Volume Adjustments
» Chaos edit or WDC source code??? or a new editor?

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: