How to spawn with high renown/right to rule?

正在查看此主题的用户

Warrior.X

Sergeant at Arms
I want to make a mod were you spawn as a hero. So is there a way you can spawn with  high renown and/or right to rule?
 
插入代码块:
(val_add, "$player_right_to_rule", ":rtr"),
插入代码块:
(troop_set_slot, "trp_player", slot_troop_renown, ":renown"),
 
DaLiO 说:
插入代码块:
(val_add, "$player_right_to_rule", ":rtr"),
插入代码块:
(troop_set_slot, "trp_player", slot_troop_renown, ":renown"),
Were do i have to place this (sorry i am still practicing modding)
 
some may disagree, but imo the best place in your case would be in module_game_menus.py file
right under:
插入代码块:
      ("begin_adventuring",[],"Become an adventurer and ride to your destiny.",[
           (set_show_messages, 0),
           (try_begin),
             (eq,"$character_gender",0),
             (troop_raise_attribute, "trp_player",ca_strength,1),
             (troop_raise_attribute, "trp_player",ca_charisma,1),
           (else_try),
             (troop_raise_attribute, "trp_player",ca_agility,1),
             (troop_raise_attribute, "trp_player",ca_intelligence,1),
           (try_end),

just be sure you put values instead of variables i gave as examples
 
LordMalacath 说:
Or, you could simply use Cheat Engine if you prefer to keep your game clean for future gaming sessions.

Wouldn't that be silly since his stated goal is to make a mod where you start out a hero?
 
后退
顶部 底部