[OSP][Kod] Liman Sistemi

Users who are viewing this thread

HyperCharge

Section Moderator
Limanlar.

Kendi sahnenizi yapmanız için bir arazi kodu verdim aşağıda.Siz edit moddan yerleştirebilirsiniz.  :wink:

açın game_menus'u,en alta şunu ekleyin;

Code:
(
  "port",mnf_scale_picture,
   "You enter the port.",
   "none",
   [(play_track, "track_outdoor_beautiful_land"),
    (set_background_mesh, "mesh_pic_town1"),
   ],
    [
      ("enter",[],"Enter to port.",
       [(set_jump_mission,"mt_town_center"),
	    (jump_to_scene,"scn_port"),
	    (change_screen_mission),
        ]
       ),
      ("set_sail",[],"Set sails to sea.",
       [
        (assign, "$g_player_icon_state", pis_ship),
        (party_set_flags, "p_main_party", pf_is_ship, 1),
        (party_get_position, pos1, "p_main_party"),
        (map_get_water_position_around_position, pos2, pos1, 6),
        (party_set_position, "p_main_party", pos2),
        (assign, "$g_main_ship_party", -1),
        (change_screen_return),
        ]
       ),
      ("leave",[],"Leave the port.",
       [(change_screen_return),
        ]
       ),
      ]
  ),

daha sonra module_scripts'i açın ve şunu bulun;

Code:
(else_try),
           (eq, "$g_encountered_party", "p_zendar"),
           (jump_to_menu, "mnu_zendar"),

altına şunu ekleyin;
Code:
(else_try),
           (eq, "$g_encountered_party", "p_port_1"),
           (jump_to_menu, "mnu_port"),

daha sonra parties'i açın,oraya şunu ekleyin;
Code:
("port_1","Port", icon_town|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(-15.6, 77.7),[],225),

Daha sonra,tekrar scripts'i açın ve şunu aratın;
Code:
(call_script, "script_give_center_to_lord", "p_town_22", "trp_knight_6_3", 0),

Altına şunu ekleyin;
Code:
#PORTS
      (call_script, "script_give_center_to_lord", "p_port_1", "trp_kingdom_4_lord", 0),

daha sonra,scenes'i açıp oraya şunu ekleyin;
Code:
("port",sf_generate,"none", "none", (0,0),(100,100),-100,"0x00000002300015e300063d8800002757000055df00001b08",
    [],[],"sea_outer_terrain_1"),

isterseniz buna mission template de yazabilir,game_menus de bunu aktif hale getirebilirsiniz.  :smile:

Güle güle kullanın.  :smile:
 
Back
Top Bottom