|
Thread: Where are treasure values? | |
|
Pollo2002
Famous Hero
|
posted October 26, 2015 09:29 AM |
|
|
Where are treasure values?
To determinate treasure placement, the RMG uses treasure value of objects. I want to modify those values, but donīt know where they are.
____________
|
|
potmdehex
Known Hero
professional ERM scripter
|
posted October 26, 2015 09:54 AM |
|
|
As an alternative to Salamandre's easier answer below you would be achieving more fine-tunable results if implementing post-processing for generated maps using already available h3m parsing/writing/handling code.
EDIT: Removed part obsolete by Salamandre's answer.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted October 26, 2015 10:24 AM |
|
|
Open rmg.txt in text editor (don't use notepad), then scroll right until you find Treasure column. There should be 3 of them, one for starting area, the other two for zones in-between. Then you can play with values, knowing that if higher than 90000 there will be no change, from what I recall.
____________
Era II mods and utilities
|
|
Kicferk
Known Hero
|
posted October 26, 2015 11:11 AM |
|
|
I think he wants to change base value of, say, pile of gems from its default 3000 to a different value.
I have no idea where to find them exactly.
|
|
potmdehex
Known Hero
professional ERM scripter
|
posted October 26, 2015 11:33 AM |
|
|
Kicferk said: I think he wants to change base value of, say, pile of gems from its default 3000 to a different value.
I have no idea where to find them exactly.
Sounds to me like what OP wants to do is change the inherent value assigned to objects determining their worth.
For example, the RMG won't put what it considers one of the greatest artifacts in the game behind a really weak monster whereas it would gladly place a weak artifact there instead. This is because of the artifacts' "treasure value"s.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted October 26, 2015 11:41 AM |
|
|
potmdehex said: For example, the RMG won't put what it considers one of the greatest artifacts in the game behind a really weak monster whereas it would gladly place a weak artifact there instead. This is because of the artifacts' "treasure value"s.
Been a long time I didn't mess with the rmg, but I think values for monsters then "goodies" (artifacts, resources) are different. If you modify monsters to low, then you will indeed get relics guarded by weak monsters. Of course the original rmg wont do that because the values inside are accorded.
But one can change them.
____________
Era II mods and utilities
|
|
Warmonger
Promising
Legendary Hero
fallen artist
|
posted October 26, 2015 01:01 PM |
|
|
|
Pollo2002
Famous Hero
|
posted October 26, 2015 07:08 PM |
|
|
Thanks for the reply, I guess if they are hardcoded, there is no way i can modify them
____________
|
|
bloodsucker
Legendary Hero
|
posted October 26, 2015 09:15 PM |
|
|
Of course there is, the RMG templates are txt files that can be opened as sheets, I guess everyone else thought you already knew that.
|
|
Pollo2002
Famous Hero
|
posted October 26, 2015 09:22 PM |
|
|
bloodsucker said: Of course there is, the RMG templates are txt files that can be opened as sheets, I guess everyone else thought you already knew that.
No, Kicferk is right, I donīt want to change the templates, I want to change the treasure values, And Warmonger claims they are hardcoded.
____________
|
|
|