Doom3.ru





















    •  Главная

  •  Doom3-форум   •  Прислать новости




  •  Doom3-info



  



  •  Doom3: RoE



  



  •  Статьи



  



  •  Quake4



  



  •  Quake Wars



  




Реклама
http://sushiwoker.ru/ доставка и заказ пиццы в мытищи.




Секреты Doom3-альфа. Часть VI.

 28.09.2003  13:10  Автор: [ss]3L33T@ aka Cyber Optik

В этот раз, как я когда-то очень давно обещал, мы будем бегать HellKnight'ом. Причём не только бегать, но и использовать его оружие.
Ну значит приступаем.
Идём в папку doom3\base\def и делаем резервную копию файла player.def.
Теперь заходим в этот файл и удаляем всё, что там есть и копируем туда следующие строки:


/***********************************************************************

player

***********************************************************************/
export {
options -prefix HK_ -align All -parent drool jaw -parent backtongue jaw -parent upsaliva head -parent losaliva jaw
mesh models/monsters/hellknight/cycles/idle1.mb

anim models/monsters/hellknight/cycles/idle1.mb
anim models/monsters/hellknight/cycles/walk1.mb
anim models/monsters/hellknight/cycles/walkbydoor.mb
anim models/monsters/hellknight/cycles/roar1.mb
anim models/monsters/hellknight/cycles/roar2.mb
anim models/monsters/hellknight/cycles/roar3.mb
anim models/monsters/hellknight/cycles/attack1.mb
anim models/monsters/hellknight/cycles/pain1.mb
anim models/monsters/hellknight/cycles/pain2.mb
anim models/monsters/hellknight/cycles/death1.mb
}
entityDef doom_singleplayer {
"spawnclass" "idPlayer"
"spawnobject" "player"
"size" "80 80 96"

"anim_states" "def/player.state"
"model_offset" "-30 0 1"
"hud" "guis/hud.gui"
"cursor" "guis/cursor.gui"


"model" "models/monsters/hellknight/cycles/idle1.md5mesh"
"anim idle1" "models/monsters/hellknight/cycles/idle1.md5anim"
"anim walk" "models/monsters/hellknight/cycles/walk1.md5anim"
"anim sight1" "models/monsters/hellknight/cycles/roar1.md5anim"
"anim sight2" "models/monsters/hellknight/cycles/roar2.md5anim"
"anim pain1" "models/monsters/hellknight/cycles/pain1.md5anim"
"anim pain2" "models/monsters/hellknight/cycles/pain2.md5anim"
"anim death1" "models/monsters/hellknight/cycles/death1.md5anim"
"anim strafe_right" "models/monsters/hellknight/cycles/walk1.md5anim"
"anim strafe_left" "models/monsters/hellknight/cycles/walk1.md5anim"
"anim melee_attack1" "models/monsters/hellknight/cycles/attack1.md5anim"
"anim range_attack1" "models/monsters/hellknight/cycles/attack1.md5anim"
"anim walk_backwards" "models/monsters/hellknight/cycles/walk1.md5anim"
"anim run" "models/monsters/hellknight/cycles/walk1.md5anim"
"anim crouch_down" "models/monsters/hellknight/cycles/death1.md5anim"
"anim crouch" "models/monsters/hellknight/cycles/death1.md5anim"
"anim crouch_up" "models/monsters/hellknight/cycles/attack1.md5anim"

"frame melee_attack1:1" "sound snd_melee1"
"frame melee_attack1:22" "melee melee_hellknight"

"frame walk:13" "sound snd_footstep"
"frame walk:18" "fx fx/hkwalk.fx"
"frame walk:33" "sound snd_footstep"
"frame walk:38" "fx fx/hkwalk.fx"
"frame walk:52" "sound snd_footstep"
"frame walk:57" "fx fx/hkwalk.fx"
"frame walk:72" "sound snd_footstep"
"frame walk:77" "fx fx/hkwalk.fx"


"frame sight1:13" "sound snd_sight"
"frame sight1:42" "sound snd_sight"
"frame sight2:1" "sound snd_sight"
"frame pain1:1" "sound snd_pain"
"frame pain2:1" "sound snd_pain"
"frame death1:1" "sound snd_die"

"weapon0" "weapon_fists"
"weapon1" "weapon_pistol"
"weapon2" "weapon_shotgun"
"weapon3" "weapon_machinegun"
"weapon4" "weapon_handgrenade"
"weapon5" "weapon_plasmagun"
"weapon6" "weapon_rocketlauncher"
"weapon7" "weapon_railgun"
"weapon8" "weapon_bfg"
"weapon9" "weapon_chainsaw"
"weapon10" "weapon_flare"
"weapon11" "weapon_soulcube"
"weapon12" "weapon_hell_fists"
"weapon13" ""
"weapon14" ""
"weapon15" ""

"spare1" "sound/weapons/ricochet/1shot_ricochet_01.wav"
"spare2" "sound/weapons/ricochet/1shot_ricochet_02.wav"
"spare3" "sound/weapons/ricochet/1shot_ricochet_03.wav"
"spare4" "sound/weapons/ricochet/1shot_ricochet_04.wav"
"spare5" "sound/weapons/ricochet/1shot_ricochet_05.wav"
"spare6" "sound/weapons/ricochet/1shot_ricochet_06.wav"
"spare7" "sound/weapons/ricochet/1shot_ricochet_07.wav"
"spare8" "sound/weapons/ricochet/1shot_ricochet_08.wav"
"spare9" "sound/quake3/Grenlb1b.wav"
"spare10" "sound/quake3/WGRNIMPD.wav"

"weapon" "weapon_hell_fists"

"pm_jumpheight" "96"
"pm_stepsize" "16"
"pm_crouchspeed" "80"
"pm_walkspeed" "100"
"pm_runspeed" "220"
"pm_noclipspeed" "200"
"pm_minviewpitch" "-89" // looking up
"pm_maxviewpitch" "73" // looking down
"pm_stamina" "12"
"pm_staminathreshold" "4"
"pm_staminarate" "0.75"
"pm_crouchheight" "38"
"pm_crouchviewheight" "32"
"pm_normalheight" "96"
"pm_normalviewheight" "96"
"pm_deadheight" "20"
"pm_deadviewheight" "10"
"pm_crouchrate" "0.87"
"pm_bboxwidth" "32"
"pm_crouchbob" "0.5" // ducked characters bob much faster
"pm_walkbob" "0.3" // walking bobs slow
"pm_runbob" "0.4" // faster speeds bob faster
"pm_modelview" "0" // 0 == normal, 1 == view inside model, 2 == view inside model when dead



"snd_sight" "monster_demon_hellknight_sight"
"snd_chatter" "monster_demon_hellknight_chatter"
"snd_pain" "monster_demon_hellknight_pain"
"snd_attackmissile" "monster_demon_hellknight_attackmissile"
"snd_die" "sound/nin/monsters/hellknight/hell_knight_specifics/Hell_Knight_Inhale02.wav"
"snd_footstep" "monster_demon_hellknight_footstep"
"snd_melee1" "monster_demon_hellknight_melee_1"

"health" "1500"
"maxhealth" "3000"
"stamina" "3000"
"armor" "0"
"maxarmor" "0"

"ammo_slugs" "0"
"ammo_shells" "0"
"ammo_bullets" "48"
"ammo_rockets" "0"
"ammo_cells" "0"
"ammo_grenades" "0"

"berserk" "0"
"chronocaust" "0"
"invulnerability" "0"
"invisibility" "0"
"haste" "0"
"megasphere" "0"
"soulsphere" "0"

"key_blue" "0"
"key_red" "0"
"data_linker" "0"
"pda" "0"
"video" ""
}

entityDef doom_e3 {
"inherit" "doom_singleplayer"
}

Скопировали? Теперь открываем файл doom3\base\def\projectiles.def и в самом конце добавляем следующий фрагмент:

entityDef projectile_hk_fists {
"spawnclass" "idProjectile"
"mins" "-1 -1 -1"
"maxs" "1 1 1"
"scale" "0.1"
"noshadows" "1"

"snd_ricochet" "sound/nin/monsters/hellknight/hell_knight_specifics/HKight_Attack_Melee01.wav"
"snd_impact" "sound/nin/monsters/hellknight/hell_knight_specifics/HKight_Attack_Melee01.wav"
"snd_impact_flesh" "sound/nin/monsters/hellknight/hell_knight_specifics/HKight_Attack_Melee01.wav"

"decal_scale" "8"

"damage" "damage_crush"

"health" "0"
"velocity" "100 0 0" // .38 Special 600 fps. Source: Petzal, David E. "How fast is a speeding bullet." Field and Stream. 97 (1992): 23
"angular_velocity" "0 0 0"
"thrust" "0"
"thrust_start" "0"
"thrust_end" "0"
"linear_friction" "0"
"angular_friction" "0"
"contact_friction" "0"
"bounce" "0.6"
"mass" "5"
"gravity" "1066"
"fuse" "4"

"detonate_on_fuse" "1"
"detonate_on_death" "0"
"detonate_on_world" "1"
"detonate_on_actor" "1"

"impact_blood" "1"
"impact_gib" "1"

"decal_bounce" ""
"decal_detonate" "colors/black.tga"
"decal_size" "10"

"fx_fly" ""
"fx_detonate" ""
"fx_detonate2" ""
"fx_debris" ""
"fx_bounce" ""
"fx_blood" ""
"fx_fuse" ""


"light_shader" ""
"light_color" "0 0 0"
"light_radius" "0"
"light_offset" "0 0 0"

"detonate_light_shader" ""
"detonate_light_color" "0 0 0"
"detonate_light_radius" "0"
"detonate_light_removetime" "0"
}


Добавили? Тогда последнее, что мы должны сделать - это открыть файл doom3\base\def\weapons.def и добавить в его конец следующее:

entityDef weapon_hell_fists {
"editor_color" ".3 .3 1"
"editor_mins" "-16 -16 0"
"editor_maxs" "16 16 32"

"editor_usage" ""

"spawnclass" "idItem"
"size" "32 32 32"

"model" ""
"viewmodel" ""
"anim idle" ""
"anim fire1" ""

"action" "sound/nin/monsters/hellknight/hell_knight_specifics/HKight_Attack_Melee01.wav"
"inv_message" ""
"inv_weapon" "weapon_hell_fists"
"icon" "guis/assets/hud/wpn_12"

"weaponname" "Fists"
"projectile" "projectile_hk_fists"
"numProjectiles" "1"
"spread" "0"
"ammoType" ""
"ammoRequired" "0"
"clipSize" "0"
"fireRate" "1"
"continuousFire" "0"
"dryFireReload" "0"
"switchWhenEmpty" "0"
"flashShader" ""
"flashColor" ""
"flashRadius" "0"

"snd_explode" ""
"snd_bounce" ""
"snd_fire" ""
"snd_reload" ""
"snd_empty" ""
"snd_windown" ""
"snd_windup" ""
}


Вроде всё, теперь зайдите в игру, загрузите какую-нибудь карту и наберите в консоли

"pm_thirdperson 1"(вид сзади)
"pm_thirdpersonangle 180(0)"(поворот камеры вокруг игрока, на 180 градусов)

Теперь побегайте, попрыгайте, постреляйте...
Кстати, того что в начале игры нет оружия не пугайтесь, у меня же нет модели рук HellKnight'а.
А в общем нравится?
Оставляйте свои комментарии здесь, или пишите мне на е-майл.





Другие материалы рубрики:




Комментарии

#1  Max Payne (-----.ish.de)   15:20  28.09.2003
=)
Да неплохо ! =)

#2  nap1 (-----.192.68)   16:47  28.09.2003
Gut!
КиберОптик подавай заявление чтобы тебы в ИД на работу брали :)

#3  Kr@vchiK_ruleZZ (-----.tck.ru)   17:22  28.09.2003
Гений
КиберОптик, если бы я мог я бы тебе Нобелевскую дал:)))))
P.S.А пока в Ид работай :))))))))

#4  hrhrh (-----.t-dialin.net)   01:14  29.09.2003
s takim delom mogno sdelat' takoy mod w multiplayergame tipo: monstry vs human =))
kto naprimer hellknightom igraet kto pinky, a kto impom na potolke sidit, a kto i los soulom letaet, w takom mode humanow mogno budet do infarkta dowesti, esli horoso postorat'sja

#5  Vani@ ГРОЗНЫЙ (-----.rol.ru)   01:24  29.09.2003
2 hrhrh, а кто тогда за Хьюманов играть вообще будет, если его ХеллКнайт одним ударом к проотцам отправит!

#6  hrhrh (-----.t-dialin.net)   19:41  29.09.2003
2 Vani grosnyi, a ty podumay snachala kakaja skorost' peredwegenija u hellknighta i kakaja u humana, emu wed' nado snachalo dognat', a potom stuknut', na bol'shom prostranstwe im 1vs1 nereal'no ubit' humana, tolko w emnote (tak kak oni wse widjat w temnote ili chujut chelowechinu) ili is sa ugla neogidano, sato prikin' kak kruto , poymal odnogo, otorwal golowu, a telo na stenku powesil, dlja kollekzii

#7  Vani@ ГРОЗНЫЙ (-----.rol.ru)   22:18  29.09.2003
А ты по русски можешь писать, а то Транслит давно уже не в моде!

#8  hrhrh (-----.t-dialin.net)   15:29  30.09.2003
net

#9  [ss]3L33T@ (-----.irtel.ru)   15:57  01.10.2003
Спасибо
Хорошо, что есть народ который всё это ценит, но я не считаю всё это серьёзной работой...
Поймите мне лень тратить на всё это время...
WhiteFox !!!ОЧЕНЬ!!! медленно выкладывает мои записки сумасшедшего... :)
У него их ещё окол 3, уже недели 4 лежит.

#10  ac (-----.lek.ru)   10:52  11.10.2003
хрень какая-то...

#11   Max Payne (-----.kht.ru)   10:49  08.09.2004
хрень
model" "models/monsters/hellknight/cycles/idle1.md5mesh"
"anim idle1" "models/monsters/hellknight/cycles/idle1.md5anim"
"anim walk" "models/monsters/hellknight/cycles/walk1.md5anim"
"anim sight1" "models/monsters/hellknight/cycles/roar1.md5anim"
"anim sight2" "models/monsters/hellknight/cycles/roar2.md5anim"
"anim pain1" "models/monsters/hellknight/cycles/pain1.md5anim"
"anim pain2" "models/monsters/hellknight/cycles/pain2.md5anim"
"anim death1" "models/monsters/hellknight/cycles/death1.md5anim"
"anim strafe_right" "models/monsters/hellknight/cycles/walk1.md5anim"
"anim strafe_left" "models/monsters/hellknight/cycles/walk1.md5anim"
"anim melee_attack1" "models/monsters/hellknight/cycles/attack1.md5anim"
"anim range_attack1" "models/monsters/hellknight/cycles/attack1.md5anim"
"anim walk_backwards" "models/monsters/hellknight/cycles/walk1.md5anim"
"anim run" "models/monsters/hellknight/cycles/walk1.md5anim"
"anim crouch_down" "models/monsters/hellknight/cycles/death1.md5anim"
"anim crouch" "models/monsters/hellknight/cycles/death1.md5anim"
"anim crouch_up" "models/monsters/hellknight/cycles/attack1.md5anim"

"frame melee_attack1:1" "sound snd_melee1"
"frame melee_attack1:22" "melee melee_hellknight"

"frame walk:13" "sound snd_footstep"
"frame walk:18" "fx fx/hkwalk.fx"
"frame walk:33" "sound snd_footstep"
"frame walk:38" "fx fx/hkwalk.fx"
"frame walk:52" "sound snd_footstep"
"frame walk:57" "fx fx/hkwalk.fx"
"frame walk:72" "sound snd_footstep"
"frame walk:77" "fx fx/hkwalk.fx"


"frame sight1:13" "sound snd_sight"
"frame sight1:42" "sound snd_sight"
"frame sight2:1" "sound snd_sight"
"frame pain1:1" "sound snd_pain"
"frame pain2:1" "sound snd_pain"
"frame death1:1" "sound snd_die"

"weapon0" "weapon_fists"
"weapon1" "weapon_pistol"
"weapon2" "weapon_shotgun"
"weapon3" "weapon_machinegun"
"weapon4" "weapon_handgrenade"
"weapon5" "weapon_plasmagun"
"weapon6" "weapon_rocketlauncher"
"weapon7" "weapon_railgun"
"weapon8" "weapon_bfg"
"weapon9" "weapon_chainsaw"
"weapon10" "weapon_flare"
"weapon11" "weapon_soulcube"
"weapon12" "weapon_hell_fists"
"weapon13" ""
"weapon14" ""
"weapon15" ""

"spare1" "sound/weapons/ricochet/1shot_ricochet_01.wav"
"spare2" "sound/weapons/ricochet/1shot_ricochet_02.wav"
"spare3" "sound/weapons/ricochet/1shot_ricochet_03.wav"
"spare4" "sound/weapons/ricochet/1shot_ricochet_04.wav"
"spare5" "sound/weapons/ricochet/1shot_ricochet_05.wav"
"spare6" "sound/weapons/ricochet/1shot_ricochet_06.wav"
"spare7" "sound/weapons/ricochet/1shot_ricochet_07.wav"
"spare8" "sound/weapons/ricochet/1shot_ricochet_08.wav"
"spare9" "sound/quake3/Grenlb1b.wav"
"spare10" "sound/quake3/WGRNIMPD.wav"

"weapon" "weapon_hell_fists"

"pm_jumpheight" "96"
"pm_stepsize" "16"
"pm_crouchspeed" "80"
"pm_walkspeed" "100"
"pm_runspeed" "220"
"pm_noclipspeed" "200"
"pm_minviewpitch" "-89" // looking up
"pm_maxviewpitch" "73" // looking down
"pm_stamina" "12"
"pm_staminathreshold" "4"
"pm_staminarate" "0.75"
"pm_crouchheight" "38"
"pm_crouchviewheight" "32"
"pm_normalheight" "96"
"pm_normalviewheight" "96"
"pm_deadheight" "20"
"pm_deadviewheight" "10"
"pm_crouchrate" "0.87"
"pm_bboxwidth" "32"
"pm_crouchbob" "0.5" // ducked characters bob much faster
"pm_walkbob" "0.3" // walking bobs slow
"pm_runbob" "0.4" // faster speed

#12  Super Detka (-----.relex.ru)   18:02  25.09.2004
Ну ты монстр!Ваще...

#13  Вячеслав (-----.megafonsib.ru)   10:46  17.01.2005
Doom 3 Relise Candidat
Здравствуйте! Я решил сыграть в эту неполную версию,но ни сохранений нефига нет-только оружие.Хотел бы узнать какие цифры надо вводить чтоб двери открылись-никто про прохождение этой альфы не пишет. Прохождение скачал ,но другой версии.Про консоль попробую.Неужели просто нельзя было им придумать игру,сделать сохранения и написать прохождение.

#14  Diamond (-----.col.ru)   22:13  23.07.2005
Подскажите пожалуйста как мне найти файлы projectiles.def и weapons.def? В папке где находятся файлы "def" есть только player.def,все облазил а эти найти не могу...



Добавить комментарий
Имя - заполнять обязательно

Е-майл

Заголовок

Текст комментария - заполнять обязательно

Введите эти цифры в это поле.






Розовый





















Valuehost.Ru


Яндекс цитированияRambler's Top100Rambler's Top100
DOOM3 is a registered trademark of id'Software
Copyright 2002-2018 © Doom3.ru