[WB] Oyuna Zombi Şeytan Tarzı Classlar Eklemek

Users who are viewing this thread

1ksk2le

Veteran
Merhaba arkadaşlar bugün sizlere normal insan skini yerine başka skinler eklemesini öğreticem.(İnsan skini yine kalıyor sadece yeni bir ırk ekleniyor.)

Gerekli Dosyalar

http://www.mediafire.com/download/976827s9e62l74e/Zombi+++%C5%9Eeytan.rar (Textureler)
Module_Game_Menus.py
Module_Skins.py
Header_Troops.py
Module.ini

Oyun içi resmi :

Seytan
PvfEFc.jpg
Zombi
aI6YXH.jpg

Öncelikle Dosyaları İndirdiyseniz Module.ini yi açın.

load_resource = materials_face_gen -------> load_mod_resource = materials_face_gen (Değişecek)
load_resource = textures_face_gen -------> load_mod_resource = textures_face_gen (Değişecek)

load_mod_resource = materials_face_gen altına bir boşluk bırakıp

load_mod_resource = demon_body
load_mod_resource = demon_calf_l
load_mod_resource = demon_calf_r
load_mod_resource = d_handL
load_mod_resource = d_handR
load_mod_resource = zombie_body
load_mod_resource = zombie_calf_l
load_mod_resource = zombie_calf_r
load_mod_resource = z_handL
load_mod_resource = z_handR
Ekleyin

-Module Game_Menus e start_female kodunu aratın.Onun Altına

Code:
      ("start_seytan",[],"Seytan",
       [
         (troop_set_type, "trp_player", 2),
         (assign, "$character_gender", tf_seytan),
         (jump_to_menu, "mnu_start_character_1"),
       ]
       ),
("start_zombie",[],"Zombi",
       [
         (troop_set_type, "trp_player", 3),
         (assign, "$character_gender", tf_zombie),
         (jump_to_menu, "mnu_start_character_1"),
       ]
       ),
-Sonrada Header Troops u açın.tf_undead        = 2 nin altına tf_seytan        = 3 ve
tf_zombie        = 4 ü ekleyin.

Son Olarak Module_Skins

"woman", skf_use_morph_key_10, kodunun en altındaki ), işaretinin altına bir adet boşluk bırakarak ekleyin ;

Code:
(
    "seytan", 0,
    "demon_body", "demon_calf_l", "d_handL",
    "male_head", man_face_keys,
    ["man_hair_s"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
    ["beard_e"], #beard meshes ,"beard_q"
    ["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"], #hair textures
    ["beard_blonde","beard_red","beard_brunette","beard_black","beard_white"], #beard_materials
    [("demon_face",0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
     ], #man_face_textures,
    [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_man_yell"),(voice_stun,"snd_man_stun"),(voice_victory,"snd_man_victory")], #voice sounds
    "skel_human", 1.0,
    psys_game_blood,psys_game_blood_2,
    [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
     [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
     [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
     [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
     [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
     [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
     [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
     [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
     ]
  ),

  (
    "zombi", 0,
    "zombie_body", "zombie_calf_l", "z_handL",
    "male_head", man_face_keys,
    ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
    ["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o",   "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
    ["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"], #hair textures
    ["beard_blonde","beard_red","beard_brunette","beard_black","beard_white"], #beard_materials
    [("zombie_face",0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
#     ("manface_old_2",0xffd5d5c5,["hair_white"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
     ], #man_face_textures,
    [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_man_yell"),(voice_stun,"snd_man_stun"),(voice_victory,"snd_man_victory")], #voice sounds
    "skel_human", 1.0,
    psys_game_blood,psys_game_blood_2,
    [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
     [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
     [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
     [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
     [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
     [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
     [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
     [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
     ]
  ),

NOT:Başlangıçta sadece bir adet saç ve sakala sahip olacaktır.Onları kaldırısanız kel olur.
 
:grin:

Fantezi modlar için oldukça yararlı bir başlık olmuş, tebrikler. Derslerini tek bir başlık altında toplamanı öneririm.
 
vaay işte buu yaa tamda fantazi mod yapılsın derken vöyle dersi görmek harika oldu .d teşekkürler
 
Konuyo hortlatmak gibi olmasın ama denilenleri yapıyorum ama karekter seçme ekranına gelince cilt çıkmıyor  :?:
 
Back
Top Bottom