Klausimelis...

Šiame forume rašomi vartotojų klausimai/problemos su kuriomis jie susidūrė kuriant pluginus.
Post Reply
User avatar
psychical
Viršininkas
Posts: 2094
Joined: 2011 Mar 12 22:19
Skype: tautvydas11
Location: Linksmakalnis
Contact:

Klausimelis...

Post by psychical »

Kaip suzinoti mirties priezastys? Ir beto kokios dar yra mirties priezasti be situ:

Headshot
Simple Kill
Suicide
Grenade Kill
Knife Kill
Primary Kill
Secondary Kill

Kas dar yra?

User avatar
aaarnas
Vyr. diskusijų administratorius
Posts: 3891
Joined: 2010 Aug 31 13:21
Skype: fiarno
Contact:

Re: Klausimelis...

Post by aaarnas »

Primary Kill
Secondary Kill
Tokių nėra.

Code: Select all

// Instant damage values for use with gmsgDamage 3rd value write_long(BIT)#define DMG_GENERIC                     0           // Generic damage was done#define DMG_CRUSH                       (1<<0)      // Crushed by falling or moving object#define DMG_BULLET                      (1<<1)      // Shot#define DMG_SLASH                       (1<<2)      // Cut, clawed, stabbed#define DMG_BURN                        (1<<3)      // Heat burned#define DMG_FREEZE                      (1<<4)      // Frozen#define DMG_FALL                        (1<<5)      // Fell too far#define DMG_BLAST                       (1<<6)      // Explosive blast damage#define DMG_CLUB                        (1<<7)      // Crowbar, punch, headbutt#define DMG_SHOCK                       (1<<8)      // Electric shock#define DMG_SONIC                       (1<<9)      // Sound pulse shockwave#define DMG_ENERGYBEAM                  (1<<10)     // Laser or other high energy beam #define DMG_NEVERGIB                    (1<<12)     // With this bit OR'd in, no damage type will be able to gib victims upon death#define DMG_ALWAYSGIB                   (1<<13)     // With this bit OR'd in, any damage type can be made to gib victims upon death.#define DMG_DROWN                       (1<<14)     // Drowning#define DMG_PARALYZE                    (1<<15)     // Slows affected creature down#define DMG_NERVEGAS                    (1<<16)     // Nerve toxins, very bad#define DMG_POISON                      (1<<17)     // Blood poisioning#define DMG_RADIATION                   (1<<18)     // Radiation exposure#define DMG_DROWNRECOVER                (1<<19)     // Drowning recovery#define DMG_ACID                        (1<<20)     // Toxic chemicals or acid burns#define DMG_SLOWBURN                    (1<<21)     // In an oven#define DMG_SLOWFREEZE                  (1<<22)     // In a subzero freezer#define DMG_MORTAR                      (1<<23)     // Hit by air raid (done to distinguish grenade from mortar)#define DMG_TIMEBASED                   (~(0x3fff)) // Mask for time-based damage
Palikau CS pasaulį ;/ . Nebepasiekiamas.

User avatar
psychical
Viršininkas
Posts: 2094
Joined: 2011 Mar 12 22:19
Skype: tautvydas11
Location: Linksmakalnis
Contact:

Re: Klausimelis...

Post by psychical »

aaarnas wrote:
Primary Kill
Secondary Kill
Tokių nėra.

Code: Select all

// Instant damage values for use with gmsgDamage 3rd value write_long(BIT)#define DMG_GENERIC                     0           // Generic damage was done#define DMG_CRUSH                       (1<<0)      // Crushed by falling or moving object#define DMG_BULLET                      (1<<1)      // Shot#define DMG_SLASH                       (1<<2)      // Cut, clawed, stabbed#define DMG_BURN                        (1<<3)      // Heat burned#define DMG_FREEZE                      (1<<4)      // Frozen#define DMG_FALL                        (1<<5)      // Fell too far#define DMG_BLAST                       (1<<6)      // Explosive blast damage#define DMG_CLUB                        (1<<7)      // Crowbar, punch, headbutt#define DMG_SHOCK                       (1<<8)      // Electric shock#define DMG_SONIC                       (1<<9)      // Sound pulse shockwave#define DMG_ENERGYBEAM                  (1<<10)     // Laser or other high energy beam #define DMG_NEVERGIB                    (1<<12)     // With this bit OR'd in, no damage type will be able to gib victims upon death#define DMG_ALWAYSGIB                   (1<<13)     // With this bit OR'd in, any damage type can be made to gib victims upon death.#define DMG_DROWN                       (1<<14)     // Drowning#define DMG_PARALYZE                    (1<<15)     // Slows affected creature down#define DMG_NERVEGAS                    (1<<16)     // Nerve toxins, very bad#define DMG_POISON                      (1<<17)     // Blood poisioning#define DMG_RADIATION                   (1<<18)     // Radiation exposure#define DMG_DROWNRECOVER                (1<<19)     // Drowning recovery#define DMG_ACID                        (1<<20)     // Toxic chemicals or acid burns#define DMG_SLOWBURN                    (1<<21)     // In an oven#define DMG_SLOWFREEZE                  (1<<22)     // In a subzero freezer#define DMG_MORTAR                      (1<<23)     // Hit by air raid (done to distinguish grenade from mortar)#define DMG_TIMEBASED                   (~(0x3fff)) // Mask for time-based damage
Dq, taciau dar 1 klausimelis, isivaizduokim yra tas "vehicle" - kai nuzudomas su masina zmogus, kaip padaryti, kad rodytu kas nuzude? ir kaip pakeisti ta gfx (jei neklystu) kad rodytu ?

User avatar
hleV
AMX Mod X ekspertai
Posts: 875
Joined: 2011 Apr 02 11:23
Skype: hlev.lt
Location: Šiauliai

Re: Klausimelis...

Post by hleV »

Paieškok Vehicle Kills (atrodo taip vadinasi) plugino, ten rodo žudyką.
Image ← RIP best userbar
DISKUSIJA: KIETAS PLUGIN'O UŽSAKOVAS
Privačios pagalbos neteikiu!

User avatar
psychical
Viršininkas
Posts: 2094
Joined: 2011 Mar 12 22:19
Skype: tautvydas11
Location: Linksmakalnis
Contact:

Re: Klausimelis...

Post by psychical »

hleV wrote:Paieškok Vehicle Kills (atrodo taip vadinasi) plugino, ten rodo žudyką.

Code: Select all

if (equal(weapon, "vehicle"))
kiek zinau yra toks. Ir rodo taip
a.PNG
a.PNG (2.67 KiB) Viewed 4994 times
. O as noriu kad rodytu taip:
b.PNG
b.PNG (7.28 KiB) Viewed 4994 times
Pagal ideja, tai turetu buti plguinas :/

User avatar
hleV
AMX Mod X ekspertai
Posts: 875
Joined: 2011 Apr 02 11:23
Skype: hlev.lt
Location: Šiauliai

Re: Klausimelis...

Post by hleV »

Reikia 4-tą DeathMsg argumentą pakeist į "func_train" ar panašiai.
Image ← RIP best userbar
DISKUSIJA: KIETAS PLUGIN'O UŽSAKOVAS
Privačios pagalbos neteikiu!

User avatar
psychical
Viršininkas
Posts: 2094
Joined: 2011 Mar 12 22:19
Skype: tautvydas11
Location: Linksmakalnis
Contact:

Re: Klausimelis...

Post by psychical »

Kokio trumpo koduko negaletum parasyt? Plz... Nerandu as niekur tos funkcjos...

User avatar
beast
AMX Mod X ekspertai
Posts: 509
Joined: 2011 Jan 08 18:44
Skype: thefurious4
Contact:

Re: Klausimelis...

Post by beast »


User avatar
psychical
Viršininkas
Posts: 2094
Joined: 2011 Mar 12 22:19
Skype: tautvydas11
Location: Linksmakalnis
Contact:

Re: Klausimelis...

Post by psychical »

beast wrote:Negi sunku susirast buvo?
http://forums.alliedmods.net/showthread ... hicle+kill
Dq, per daug durnas, kad naudociaus paieska... (kartais)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 4 guests