Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gelişmiş NPC - Oyuncu Olmayan Karakter
#2
@peNgueN Bu npc olayı vhe içinde mevcut fakat cs nin eski versyonlarında kaldırılmış sadece half-life için geçerli olmuş. Bunun gibi bir pluginle mapa koyduğumuz npcler geri cs tarafından görülürmü ?. Mesela sen entity_npc oluşturmuşsun .Aşşağıda half-life ın orjinal fgdsinden 2 tane entity kodunu koydum bunları plugin ile csye tekrar entegre edebilirmiyiz?
PHP Code:
@PointClass base(TargetnameTargetxsize(-16 -16 016 16 72color(255 0 255) = scripted_sentence "Scripted Sentence"
[
    
spawnflags(Flags) = 
    [
        
"Fire Once"     1
        2 
"Followers Only"    0
        4 
"Interrupt Speech"    1
        8 
"Concurrent"    0
    
]
    
sentence(string) : "Sentence Name" ""
    
entity(string) : "Speaker Type"
    
duration(string) : "Sentence Time" "3"
    
radius(integer) : "Search Radius" 512
    refire
(string) : "Delay Before Refire" "3"
    
listener(string) : "Listener Type"
    
volume(string) : "Volume 0-10" "10"
    
attenuation(Choices) : "Sound Radius" =
    [
        
"Small Radius"
        
"Medium Radius"
        
"Large  Radius"
        
"Play Everywhere"
    
]
]


@
PointClass base(TargetnameTargetxAnglessize(-16 -16 016 16 72color(255 0 255) = scripted_sequence "Scripted Sequence"
[
    
m_iszEntity(string) : "Target Monster"
    
m_iszPlay(string) : "Action Animation" ""
    
m_iszIdle(string) : "Idle Animation" ""
    
m_flRadius(integer) : "Search Radius" 512
    m_flRepeat
(integer) : "Repeat Rate ms" 0
    m_fMoveTo
(choices) : "Move to Position" =
    [
        
"No"
        
"Walk"
        
"Run"
        
"Instantaneous"
        
"No - Turn to Face"
    
]
    
spawnflags(Flags) = 
    [
        
"Repeatable"    0
        8 
"Leave Corpse"    0
        32
"No Interruptions"    0
        64
"Override AI"    0
        128
"No Script Movement" 0
    
]

Only Know You've Been High When You Feeling Low
CSPLAGUE Forumu ;

Quote:
9 Moderatör
0 Süper Moderatör
2 Co-Admin
1 Admin

Toplamda 12 yönetim üyesiyle çalışıyor!



Reply


Messages In This Thread
Cevap: Gelişmiş NPC - Oyuncu Olmayan Karakter - by kaptan647 - 15-08-14, 19:32

Possibly Related Threads…
Thread Author Replies Views Last Post
  Yeni Başlağınca / Oyuncu Doğunca / Yeni Başı / El Sonu Losteps 10 7,328 02-07-15, 00:12
Last Post: CeyhunAKTEPE

Foruma Atla:


Users browsing this thread: 1 Guest(s)