Change character build order?

正在查看此主题的用户

OscarDLeon

Regular
Hello everybody once again, I just wanted to know what to change in the code so this happens:


You decide right off where you were born, it could be one of the factions or a foreigner, then after you choose what nation you were born into, you choose your parents jobs, your job, and why your going out on your own, then you pick where you want to go.

I am new to coding, so I think I know what to change in module_gamemenus.py but I don't want to screw the file so I request help here.

 
Found it, but how do I make a gateway for example I could make one called choose_faction99 and after you choose your gender it takes you to choose faction instead of your father's job.


-EDIT-

Something like this maybe?:

插入代码块:
("start_game_1",menu_text_color(0xFF000000)|mnf_disable_all_keys,
    "Select your character's gender.",
    "none",
    [],
    [
      ("start_male",[],"Male",
       [
         (troop_set_type,"trp_player", 0),
         (assign,"$character_gender",tf_male),
         (jump_to_menu,"mnu_start_character_1"),
        ]
       ),
      ("start_female",[],"Female",
       [
         (troop_set_type, "trp_player", 1),
         (assign, "$character_gender", tf_female),
         (jump_to_menu, "mnu_start_character_1"),
       ]
       ),
	  ("go_back",[],"Go back",
       [
	     (jump_to_menu,"mnu_start_game_0"),
       ]),
    ]
  ),

Instead of jump_to_menu,"mnu_start_character_1" I could change it to the choose faction gateway, if this would work how could I make a gateway?
 
I don't mean to make one like with city, Its just text for example you first choose where you were born, this does not affect what faction you will join.


This would be the order:

-Where were you born?
-Father's Job
-Your Job
-Why did you become an adventurer
- Faction to Join

I tried to code it myself, ruined the module, thanks G I had backup.

-EDIT-

So this I was I have:

插入代码块:
(
       "choose_born_1",mnf_disable_all_keys,
       "You were born somewhere in Europe, in other words...",
       ("England",[
           ],"England",[

This code brings the "gateway" choose_born_1 wich determines where you were born, the only option I have implemented is England but its incomplete, what do I need to finish the option?
 
后退
顶部 底部