Kryptea
I was making a multiplayer mod but i didnt know how to get rid of the singleplayer option so I asked around and thanks to MadVader and cmpxchg8b I found out how to do it, so I decided to make this tutorial for anyone else who needs to do something similar to what I wanted to do.
What do we need to go into to edit this?
We dont need to go into or use anything in the module system the only thing you need to go into is game_variables.txt or if your going to do it the second way go into module.ini.
game_variables.txt
Once you have game_variables.txt up search for
and underneath that you should see
to change positions or remove stuff in the main menu screen these are the lines you want to edit.
The tutorial, start new game and resume game etc are all edited the same way so to show you I'm just going to edit the first one
The initial_tutorial_button_position_(x/y) changes where the tutorial option in the main menu will be placed
If you want to get rid of the option change
so it looks like this
and now when you go into the game you wont have the tutorial option
module.ini.
Hope this helps, and if theres any errors or anything that needs to be added i'll put it in
What do we need to go into to edit this?
We dont need to go into or use anything in the module system the only thing you need to go into is game_variables.txt or if your going to do it the second way go into module.ini.
game_variables.txt
Once you have game_variables.txt up search for
Code:
#main menu (initial)
Code:
initial_tutorial_button_position_x = 0.05
initial_tutorial_button_position_y = 0.48
initial_tutorial_button_size_x = 0.185
initial_tutorial_button_size_y = 0.031
initial_tutorial_button_text_size_x = 0.022
initial_tutorial_button_text_size_y = 0.030
initial_tutorial_button_text_flags = 0x10
initial_tutorial_button_text_color = 0xFF110000
initial_tutorial_button_highlight_text_color = 0xFFFFDD00
initial_start_new_game_button_position_x = 0.05
initial_start_new_game_button_position_y = 0.44
initial_start_new_game_button_size_x = 0.185
initial_start_new_game_button_size_y = 0.031
initial_start_new_game_button_text_size_x = 0.022
initial_start_new_game_button_text_size_y = 0.030
initial_start_new_game_button_text_flags = 0x10
initial_start_new_game_button_text_color = 0xFF110000
initial_start_new_game_button_highlight_text_color = 0xFFFFDD00
initial_resume_game_button_position_x = 0.05
initial_resume_game_button_position_y = 0.40
initial_resume_game_button_size_x = 0.185
initial_resume_game_button_size_y = 0.031
initial_resume_game_button_text_size_x = 0.022
initial_resume_game_button_text_size_y = 0.030
initial_resume_game_button_text_flags = 0x10
initial_resume_game_button_text_color = 0xFF110000
initial_resume_game_button_highlight_text_color = 0xFFFFDD00
initial_multiplayer_button_position_x = 0.05
initial_multiplayer_button_position_y = 0.36
initial_multiplayer_button_size_x = 0.185
initial_multiplayer_button_size_y = 0.031
initial_multiplayer_button_text_size_x = 0.022
initial_multiplayer_button_text_size_y = 0.030
initial_multiplayer_button_text_flags = 0x10
initial_multiplayer_button_text_color = 0xFF110000
initial_multiplayer_button_highlight_text_color = 0xFFFFDD00
initial_custom_battle_button_position_x = 0.05
initial_custom_battle_button_position_y = 0.32
initial_custom_battle_button_size_x = 0.185
initial_custom_battle_button_size_y = 0.031
initial_custom_battle_button_text_size_x = 0.022
initial_custom_battle_button_text_size_y = 0.030
initial_custom_battle_button_text_flags = 0x10
initial_custom_battle_button_text_color = 0xFF110000
initial_custom_battle_button_highlight_text_color = 0xFFFFDD00
initial_options_button_position_x = 0.05
initial_options_button_position_y = 0.28
initial_options_button_size_x = 0.185
initial_options_button_size_y = 0.031
initial_options_button_text_size_x = 0.022
initial_options_button_text_size_y = 0.030
initial_options_button_text_flags = 0x10
initial_options_button_text_color = 0xFF110000
initial_options_button_highlight_text_color = 0xFFFFDD00
initial_credits_button_position_x = 0.05
initial_credits_button_position_y = 0.24
initial_credits_button_size_x = 0.185
initial_credits_button_size_y = 0.031
initial_credits_button_text_size_x = 0.022
initial_credits_button_text_size_y = 0.030
initial_credits_button_text_flags = 0x10
initial_credits_button_text_color = 0xFF110000
initial_credits_button_highlight_text_color = 0xFFFFDD00
initial_quit_button_position_x = 0.05
initial_quit_button_position_y = 0.20
initial_quit_button_size_x = 0.185
initial_quit_button_size_y = 0.025
initial_quit_button_text_size_x = 0.022
initial_quit_button_text_size_y = 0.030
initial_quit_button_text_flags = 0x10
initial_quit_button_text_color = 0xFF110000
initial_quit_button_highlight_text_color = 0xFFFFDD00
initial_game_logo_position_x = 0.045
initial_game_logo_position_y = 0.54
initial_game_logo_size_x = 0.2
initial_game_logo_size_y = 0.07
initial_version_info_position_x = 0.18
initial_version_info_position_y = 0.525
initial_version_info_text_size_x = 0.016
initial_version_info_text_size_y = 0.016
initial_version_info_text_flags = 0x200
initial_version_info_text_color = 0xFF110000
initial_module_version_info_position_x = 0.029
initial_module_version_info_position_y = 0.475
initial_module_version_info_size_x = 0.15
initial_module_version_info_size_y = 0.03
initial_module_version_info_text_size_x = 0.014
initial_module_version_info_text_size_y = 0.014
initial_module_version_info_text_flags = 0x8
initial_module_version_info_text_color = 0xFF110000
The tutorial, start new game and resume game etc are all edited the same way so to show you I'm just going to edit the first one
Code:
initial_tutorial_button_position_x = 0.05
initial_tutorial_button_position_y = 0.48
initial_tutorial_button_size_x = 0.185
initial_tutorial_button_size_y = 0.031
initial_tutorial_button_text_size_x = 0.022
initial_tutorial_button_text_size_y = 0.030
initial_tutorial_button_text_flags = 0x10
initial_tutorial_button_text_color = 0xFF110000
initial_tutorial_button_highlight_text_color = 0xFFFFDD00
If you want to get rid of the option change
Code:
initial_tutorial_button_size_x = 0.185
initial_tutorial_button_size_y = 0.031
initial_tutorial_button_text_size_x = 0.022
initial_tutorial_button_text_size_y = 0.030
Code:
initial_tutorial_button_size_x = 0
initial_tutorial_button_size_y = 0
initial_tutorial_button_text_size_x = 0
initial_tutorial_button_text_size_y = 0
module.ini.
cmpxchg8b said:Won't get rid of quick battle, though.Code:has_single_player = 0 has_tutorial = 0
Hope this helps, and if theres any errors or anything that needs to be added i'll put it in