Create a presentation for warband module system modulepresentations.py with the name…
- User
Create a presentation for warband module system module_presentations.py with the name "mp_meeting". Add a chat box along with a text field for input and a button, and to the right of the chat box on top of a couple of test buttons. Everything should look organic, the chat background should be black, the text should be white. Without further ado, get to work right away. Example of registration ui: ("register",0,mesh_load_window,[ (ti_on_presentation_load, [ (set_fixed_point_multiplier, 1000),
(str_store_string, s1, "@Register account!"), (create_text_overlay, reg1, s1, tf_center_justify), (position_set_x, pos1, 500), (position_set_y, pos1, 600), (overlay_set_position, reg1, pos1), (str_store_string, s1, "str_username"), (create_text_overlay, reg1, s1, tf_center_justify), (position_set_x, pos1, 500), (position_set_y, pos1, 460), (overlay_set_position, reg1, pos1), #(overlay_set_text, reg1, s1), (create_simple_text_box_overlay, "username"), (position_set_x, pos1, 400), (position_set_y, pos1, 435), (overlay_set_position, "username", pos1), ###pass # (str_store_string, s1, "str_password"), # (create_text_overlay, reg1, s1, tf_center_justify), # (position_set_x, pos1, 500), # (position_set_y, pos1, 400), # (overlay_set_position, reg1, pos1), # #(overlay_set_text, reg1, s1), # (create_simple_text_box_overlay, "password"), # (position_set_x, pos1, 400), # (position_set_y, pos1, 375), # (overlay_set_position, "password", pos1), (create_button_overlay, "obj2", "@Continue...", tf_center_justify), (position_set_x, pos1, 500), (position_set_y, pos1, 250), (overlay_set_position, "obj2", pos1), (create_button_overlay, "obj3", "@Exit", tf_center_justify), (position_set_x, pos1, 500), (position_set_y, pos1, 200), (overlay_set_position, "obj3", pos1), (presentation_set_duration, 999999), ]), (ti_on_presentation_event_state_change, [(store_trigger_param_1, ":object"), (try_begin), (eq, ":object", "username"), (str_store_string, s1, s0), # (else_try), # (eq,":object","password"), # (str_store_string, s2, s0), # (else_try), # (eq, ":object", "obj2"), (neg|str_is_empty, s1), # (neg|str_is_empty, s2), # Password # (str_store_string, "@123", s2), (party_set_name, "p_main_party", s1), (troop_set_name, "trp_player", s1), (call_script,"script_send_string_to_server",mpcamp_event_register,1,s1), (call_script,"script_send_data"), (presentation_set_duration, 0), (jump_to_menu, "mnu_wait_for_confirmation"), (else_try), (eq, ":object", "obj3"), (jump_to_menu, "mnu_start_game_0"), (try_end), ]), ]), - Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.