Populism Neonate
Posts : 25 Join date : 2012-09-07
| Subject: 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. | |
|
Childe of Malkav Beyond Caine
Posts : 5204 Join date : 2009-11-05 Location : Gone for Good
| Subject: 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. - | |
|
Populism Neonate
Posts : 25 Join date : 2012-09-07
| Subject: 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. | |
|
Childe of Malkav Beyond Caine
Posts : 5204 Join date : 2009-11-05 Location : Gone for Good
| Subject: 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 - | |
|
Populism Neonate
Posts : 25 Join date : 2012-09-07
| Subject: Re: How can I edit cash values ? Sun Sep 23, 2012 6:16 pm | |
| | |
|
Sponsored content
| Subject: Re: How can I edit cash values ? | |
| |
|