Jump to content
Forumu Destekleyenlere Katılın ×
Paticik Forumları
2000 lerden beri faal olan, çok şukela bir paylaşım platformuyuz. Hoşgeldiniz.

SkillStone Sorunlari


Öne çıkan mesajlar

Mesaj tarihi:

////////////////////////////////////////////////////////////
//Created by Warped Dragon
//http://warped.ods.org
//[email protected]
//ICQ: 86428337
//AIM: Warped Dragon
//MSN: Use Email...
//YIM: Not Telling
////////////////////////////////////////////////////////////
[ITEMDEF I_skill_stone]
DEFNAME=i_skill_stone
ID=0ed4
TYPE=00
CATEGORY=Maul
SUBSECTION=Stones
DESCRIPTION=Skill Stone

ON=@CREATE
COLOR=0480
ATTR=8010
NAME=Skill Stone

ON=@DCLICK
SRC.SFX 555
DIALOG d_x_skills_stone1
RETURN 1


[DIALOG d_x_skills_stone1]
0,0
resizepic 50 100 2600 560 300

////////////////////////////////////////////////////////////////////
page 0
resizepic 66 162 5100 528 25
button 285 366 247 248 1 0 0

////Headings/////////////////////////////////////////////////////////
text 200 120 455 0
text 150 140 0 1

text 80 165 0 2 // Skills 1
text 180 165 0 3 // Skills 2
text 280 165 0 4 // Skills 3
text 380 165 0 5 // Skills 4
text 480 165 0 6 // Skills 5

button 150 166 5209 5003 0 1 1 // Skills 1
button 250 166 5209 5003 0 2 2 // Skills 2
button 350 166 5209 5003 0 3 3 // Skills 3
button 450 166 5209 5003 0 4 4 // Skills 4
button 550 166 5209 5003 0 5 5 // Skills 5

/////////////////////////////////////////////////////////////////////
page 1 // Skills 1

/////////menu text and screen location

text 95 200 0 7
croppedtext 250 200 110 17 455 8
text 95 230 0 9
croppedtext 250 230 110 17 455 10
text 95 260 0 11
croppedtext 250 260 110 17 455 12
text 95 290 0 13
croppedtext 250 290 110 17 455 14
text 95 320 0 15
croppedtext 250 320 110 17 455 16
text 330 200 0 17
croppedtext 485 200 110 17 455 18
text 330 230 0 19
croppedtext 485 230 110 17 455 20
text 330 260 0 21
croppedtext 485 260 110 17 455 22
text 330 290 0 23
croppedtext 485 290 110 17 455 24
text 330 320 0 25
croppedtext 485 320 110 17 455 26

////////Targets skills//////////////////


////////button types and screen location

button 70 200 2714 2714 1 0 6
button 70 230 2714 2714 1 0 7
button 70 260 2714 2714 1 0 8
button 70 290 2714 2714 1 0 9
button 70 320 2714 2714 1 0 10
button 305 200 2714 2714 1 0 11
button 305 230 2714 2714 1 0 12
button 305 260 2714 2714 1 0 13
button 305 290 2714 2714 1 0 14
button 305 320 2714 2714 1 0 15

/////////////////////////////////////////////////////////////////////
page 2 // Skills 2

/////////menu text and screen location

text 95 200 0 27
croppedtext 250 200 110 17 455 28
text 95 230 0 29
croppedtext 250 230 110 17 455 30
text 95 260 0 31
croppedtext 250 260 110 17 455 32
text 95 290 0 33
croppedtext 250 290 110 17 455 34
text 95 320 0 35
croppedtext 250 320 110 17 455 36
text 330 200 0 37
croppedtext 485 200 110 17 455 38
text 330 230 0 39
croppedtext 485 230 110 17 455 40
text 330 260 0 41
croppedtext 485 260 110 17 455 42
text 330 290 0 43
croppedtext 485 290 110 17 455 44
text 330 320 0 45
croppedtext 485 320 110 17 455 46

////////button types and screen location

button 70 200 2714 2714 1 0 16
button 70 230 2714 2714 1 0 17
button 70 260 2714 2714 1 0 18
button 70 290 2714 2714 1 0 19
button 70 320 2714 2714 1 0 20
button 305 200 2714 2714 1 0 21
button 305 230 2714 2714 1 0 22
button 305 260 2714 2714 1 0 23
button 305 290 2714 2714 1 0 24
button 305 320 2714 2714 1 0 25

///////////////////////////////////////////////////////////////////////
page 3 // Skills 3

/////////menu text and screen location

text 95 200 0 47
croppedtext 250 200 110 17 455 48
text 95 230 0 49
croppedtext 250 230 110 17 455 50
text 95 260 0 51
croppedtext 250 260 110 17 455 52
text 95 290 0 53
croppedtext 250 290 110 17 455 54
text 95 320 0 55
croppedtext 250 320 110 17 455 56
text 330 200 0 57
croppedtext 485 200 110 17 455 58
text 330 230 0 59
croppedtext 485 230 110 17 455 60
text 330 260 0 61
croppedtext 485 260 110 17 455 62
text 330 290 0 63
croppedtext 485 290 110 17 455 64
text 330 320 0 65
croppedtext 485 320 110 17 455 66

////////button types and screen location

button 70 200 2714 2714 1 0 26
button 70 230 2714 2714 1 0 27
button 70 260 2714 2714 1 0 28
button 70 290 2714 2714 1 0 29
button 70 320 2714 2714 1 0 30
button 305 200 2714 2714 1 0 31
button 305 230 2714 2714 1 0 32
button 305 260 2714 2714 1 0 33
button 305 290 2714 2714 1 0 34
button 305 320 2714 2714 1 0 35

///////////////////////////////////////////////////////////////////////
page 4 // Skills 4

/////////menu text and screen location

text 95 200 0 67
croppedtext 250 200 110 17 455 68
text 95 230 0 69
croppedtext 250 230 110 17 455 70
text 95 260 0 71
croppedtext 250 260 110 17 455 72
text 95 290 0 73
croppedtext 250 290 110 17 455 74
text 95 320 0 75
croppedtext 250 320 110 17 455 76
text 330 200 0 77
croppedtext 485 200 110 17 455 78
text 330 230 0 79
croppedtext 485 230 110 17 455 80
text 330 260 0 81
croppedtext 485 260 110 17 455 82
text 330
Mesaj tarihi:
Sadece birinci dialogu kullan, asagidakine benzer bir kod ile, test edemiyorum yanliz hata falan varsa sana kalmis :)

//tag.ss: skill stone kullanilmis mi bakmak icin
//tag.ss2: 7 skillden fazla alinmasin diye
[item hedere]
..
on=@dclick
if (=1)//daha once acilmis ve tamamlanmamissa allskills 0 cektirmiyoruz
src.dialog d_skillhede
elseif (=2)//daha once tamamlanmissa actirmiyoruz
src.sysmessage olmaz oole, kac kere kullanacan
else//daha once acilmamissa allskills 0 cekip 'acildi' tagi veriyoruz, 7 de skill hakki
src.allskills 0
src.dialog d_skillhede
src.tag.ss=1
src.tag.ss2=7
endif
return 1

[dialog button hede]
..
on=6
if !( > 0)//0'dan buyuk degilse aldirmiyoruz, bi daha da actirmiyoruz
src.sysmessage olmaz
src.tag.ss=2
else
src.anatomy 1000
src.tag.ss2=(> - 1)//tag.ss2'den 1 hak daha azaliyor
endif
src.dialog d_skillhede//tekrar aciyoruz
return 1

Calisir umarim :)[hline]Gesp (a.k.a Baggio)
L50 Elven Eldritch Officer of Soul Reavers, LGM Tailor
Email: [email protected] | Icq: 5100111
Mesaj tarihi:
Aha sana hata:

[dialog button hede kil tuy]
..
on=6
if !( > 0)//0'dan buyuk degilse aldirmiyoruz, bi daha da actirmiyoruz
src.sysmessage olmaz
src.tag.ss=2
else
src.anatomy 1000
src.tag.ss2=(> - 1)//tag.ss2'den 1 hak daha azaliyor
src.dialog d_skillhede//tekrar aciyoruz
endif
return 1

Endif'den sonra degil else'nin icinde olacak dialogu tekrar actirma kismi, yanlis olmus.[hline]Gesp (a.k.a Baggio)
L50 Elven Eldritch Officer of Soul Reavers, LGM Tailor
Email: [email protected] | Icq: 5100111
Mesaj tarihi:
Bu öneri sadece bi script icin neden dersen hard diskten tasarruf olsun diye sadece bir fonksiyonda birleştir olayı nasıl olsa skilleri gm li osu mesela sole

[FUNTION givegmskill]
IF (>0)
src.sysmessage Olmas !
else
try 1 100.0
endif

sonrada sole

givegmskill anatomy
gibi button altına yazınca hafifler dosya göze daha hoş gözükür diil mi baggio sen daha iii bilirsin[hline]Feel Power of Mind
You can Feel Alright
Try To Be Best in Your Mind
Icq=176375932
[b]Istiaron Developer Arthur
×
×
  • Yeni Oluştur...