Increase size of a custom park
Posted: Mon Dec 11, 2017 3:23 pm
I would like to have a few more larger sizes available in the editor instead of just the default ones because after all they're just too small.
Now I found this in the park_ed.qb:
The structure for the others is the same, 24x24 has size = 1 and 80x6 at last has size = 4. Out of curiosity I set the value of size to 5 and I get a 80x12 park (just the floor though everything else is gone but I can edit it and play it as any other CAP). So that's pretty nice already. However when I increase the size to 6 and more the game crashes. Does anybody know where the worldsize of the CAPs are defined or how I could increase the size of the park further (80x80 would be perfect)? I couldn't find anything in the scripts.
Now I found this in the park_ed.qb:
Code: Select all
#00635 createmenu STRUCT{
type = verticalmenu
id = parked_clear_menu
ParkEdMenuXYValues w = 300.0
h = 400.0
just_center_x just_center_y blue_top eventhandler = STRUCT{
type = ShowEventHandler
target = "helper_park_editor"
}
children = ARRAY(
STRUCT{
type = textmenuelement
auto_id text = "Select new size"
static dont_gray drawer = title
}
STRUCT{
type = textmenuelement
auto_id text = "16 X 16"
kill_menu target = "Ed_RunCommand"
params = STRUCT{
command = clearmap
size = 0
}
The structure for the others is the same, 24x24 has size = 1 and 80x6 at last has size = 4. Out of curiosity I set the value of size to 5 and I get a 80x12 park (just the floor though everything else is gone but I can edit it and play it as any other CAP). So that's pretty nice already. However when I increase the size to 6 and more the game crashes. Does anybody know where the worldsize of the CAPs are defined or how I could increase the size of the park further (80x80 would be perfect)? I couldn't find anything in the scripts.