The World Of Perisno

Modding Area => Everything About Modding => Topic started by: Michadr on August 10, 2013, 12:16:52 am

Title: Pre-Asked Questions
Post by: Michadr on August 10, 2013, 12:16:52 am
This thread is for posting pre-asked questions ONLY. Posts that do not contain this will be deleted!
Please look at following posts to see what i mean if you do not understand.
Title: Spears Or Sword? Loyalty, Books, encounter
Post by: Michadr on August 10, 2013, 12:19:23 am
Question: Giving a troop a spear and a sword, how does it determine which one to use?
Answer: The sword will be used most likely, spear isn't guaranteed while 1handers are.

Question: What makes the lords of the game more or less loyal to their faction than others?
Answer: It has to do with the controversy and their randomized personality (which has an effect on the rate at which controversy accumulates)

Question: Can you please tell me of an easy way to edit either books (wanna add whole lots of them), or stats that are received on start (from the char creation menu, to edit amount of bonus stat recieved and which they are, if its possible).
Answer: Books are all scripted and Morgh's editor won't help with that. The easiest way is to either export your character or raise the trp_player's base stats from Morgh's, allowing you to start a game with more stats. Or get the module system and add as many books as you want, giving yourself whatever attributes you want from the starting choices.

Question: How could I make it so if you have a positive relation with a certain group of bandits (I separated them into all different factions) that when you go to their bandit lair, you will have to option to recruit bandits of that bandit faction instead of attacking the lair?
Answer: script_game_event_party_encounter.
Title: Denars
Post by: Michadr on August 12, 2013, 09:34:36 pm
Quetion: How would i go about changing denars to something else? I just want to change the name mind you, nothing else...
Answer: script_game_get_money_text will guide you. Some occurrences also exist in dialogues or menus or whatever, fields which are not governed by this script, so you may need to do a Find All and replace where necessary.

Title: Re: Pre-Asked Questions
Post by: cwr on August 21, 2013, 04:50:40 pm
What is the best way to calculate weapon length for new weapons?
Open the file in OpenBRF, use the ruler.