WARBAND YAPI MODELİNİ OYUNA GEÇİRME

Users who are viewing this thread

module_scene_props.py;

Code:
  ("uid", flag, "brf_uid", "collision_uid", [işlemler]),

UID: Benzersiz ID (Unique ID), diğer hiç biri ile aynı olmamalı bu.
FLAG: Flaglar aşağıdadır.
BRF_UID: Obj dosyasının brf içindeki ismi.
COLLISION_UID: Eğer eşyanın içinden geçilmeyecekse (Duvar, kapı vb) brfye tanıtılan collision obj sinin uidi.
İşlemler: Bu kısım pek kullanılmaz ama işlem yapılacaksa, mesela ateş eklemek gibi, ne bileyim ışık saçması gibi.

Örneğin;
Code:
  ("persius_bandit_full_camp", 0, "so_bandit_camp", "bo_bandit_camp", []),

  ("ctf_flag_kingdom_1", sokf_moveable|sokf_face_player, "ctf_flag_kingdom_1", "0", []),

  ("persius_camp_fire", 0, "camp_fire", "bo_camp_fire", [
      (ti_on_scene_prop_init, [
          (set_position_delta,0,0,20),
          (particle_system_add_new, "psys_cooking_fire_1"),
          (particle_system_add_new, "psys_fire_sparks_1"),
          (particle_system_add_new, "psys_cooking_smoke"),
          (set_position_delta,0,0,50),
          (particle_system_add_new, "psys_fire_glow_1"),
          (particle_system_emit, "psys_fire_glow_1", 9000000),
        ]),
    ]),

gibi...

Code:
sokf_type_container        = 0x0000000000000005
sokf_type_ai_limiter       = 0x0000000000000008
sokf_type_barrier          = 0x0000000000000009
sokf_type_barrier_leave    = 0x000000000000000a
sokf_type_ladder           = 0x000000000000000b
sokf_type_barrier3d        = 0x000000000000000c
sokf_type_player_limiter   = 0x000000000000000d
sokf_type_mask             = 0x00000000000000FF
sokf_add_fire              = 0x0000000000000100
sokf_add_smoke             = 0x0000000000000200
sokf_add_light             = 0x0000000000000400
sokf_show_hit_point_bar    = 0x0000000000000800
sokf_place_at_origin       = 0x0000000000001000
sokf_dynamic               = 0x0000000000002000
sokf_invisible             = 0x0000000000004000
sokf_destructible          = 0x0000000000008000
sokf_moveable              = 0x0000000000010000
sokf_face_player           = 0x0000000000020000
sokf_dynamic_physics       = 0x0000000000040000
sokf_missiles_not_attached = 0x0000000000080000 #works only for dynamic mission objects
sokf_enforce_shadows       = 0x0000000000100000
sokf_dont_move_agent_over  = 0x0000000000200000
sokf_handle_as_flora       = 0x0000000001000000
sokf_static_movement       = 0x0000000002000000
 
Back
Top Bottom