Page 1 of 1

Klausimelis...

Posted: 2011 May 08 20:05
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?

Re: Klausimelis...

Posted: 2011 May 08 21:37
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

Re: Klausimelis...

Posted: 2011 May 08 21:48
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 ?

Re: Klausimelis...

Posted: 2011 May 08 22:00
by hleV
Paieškok Vehicle Kills (atrodo taip vadinasi) plugino, ten rodo žudyką.

Re: Klausimelis...

Posted: 2011 May 08 22:11
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 4996 times
. O as noriu kad rodytu taip:
b.PNG
b.PNG (7.28 KiB) Viewed 4996 times
Pagal ideja, tai turetu buti plguinas :/

Re: Klausimelis...

Posted: 2011 May 09 13:02
by hleV
Reikia 4-tą DeathMsg argumentą pakeist į "func_train" ar panašiai.

Re: Klausimelis...

Posted: 2011 May 11 20:37
by psychical
Kokio trumpo koduko negaletum parasyt? Plz... Nerandu as niekur tos funkcjos...

Re: Klausimelis...

Posted: 2011 May 12 13:21
by beast

Re: Klausimelis...

Posted: 2011 May 12 13:47
by psychical
beast wrote:Negi sunku susirast buvo?
http://forums.alliedmods.net/showthread ... hicle+kill
Dq, per daug durnas, kad naudociaus paieska... (kartais)