Пятница, 10.01.2025, 19:52
Приветствую Вас Гость | RSS
F.R.O.N.T.
Главная | Статьи | Регистрация | Вход
Меню сайта
Все новые статьи находяться на форуме!!! Видеть их могут только рарегистрированые пользователи...
Категории каталога
Мои статьи [28] Сценарии [0]
Пишите сюда свои сцинарии
Модострой [152]
Статьи по созданию модов
КАК СНЯТЬ ФИЛЬМ??? [0]
Статьи о том как снять фильмы
Мини-чат
Наш опрос
Какой мод лучше всего?
1. АМК 1.4
2. Другие
3. ЖЕСТЬ
4. Зона поражения 1-2
5. Прибой стори
6. Арсенал мод
7. Old good STALKER
8. АВС
9. Симбион
10. Addon To STALKER
11. СРП
12. New Level changer
13. АИ пак
14. CprHicks mod
15. Черноречье
Всего ответов: 110
Главная » Статьи » Модострой

Спавним кучи мутантов
В данной статье я научу по-быстенькому спавнить мутантов.

Будем рассматривать на примере диалога с Прапором. Сделаем так, что когда он открывает нам двери, то у нас спавнится куча мутантов.
Для этого установите мод, которые позволяет пройти в Бар до Агропрома + любой мод восстанавливающий мутантов.
Зайдите в gamedata\scripts\garbage_dialogs.
В ней мы видим всего несколько функций. Найдите строку «function give_dolg_bribe» и конце, но до строки «end» пропишите следующее:

local level_name = level.name()
local noobposition = db.actor:position()
local nmpos, xnoob, znoob

if level_name == "l02_garbage" then
local sblood = vector():set( 261.18, -8.02, -139.98 )
alife():create("bloodsucker_weak", sblood, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local fracnear = vector():set( -54.19, 1.73, -45.91 )
alife():create("fracture_weak", fracnear, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local fracnear = vector():set( -76.42, -1.85, 199.83 )
alife():create("fracture_weak", fracnear, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local burergar = vector():set( 190.48, -1.02, 8.19 )
alife():create("burer_weak", burergar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local snorkgar = vector():set( -54.19, 1.73, -45.91 )
alife():create("burer_weak", burergar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local snorkgar = vector():set( -54.19, 1.73, -45.91 )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("snork_normal", snorkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local catgar = vector():set( 81.67, 2.59, -228.35 )
alife():create("cat_weak", catgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local catgar = vector():set( -76.42, -1.85, 199.83 )
alife():create("cat_weak", catgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local catgar = vector():set( 190.48, -1.02, 8.19 )
alife():create("cat_weak", catgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local chimeragar = vector():set( 81.67, 2.59, -228.35 )
alife():create("chimera_weak", chimeragar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local chimeragar = vector():set( -76.42, -1.85, 199.83 )
alife():create("chimera_weak", chimeragar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
local tushkgar = vector():set( noobposition.x + 20, noobposition.y, noobposition.z + 20 )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("zombie_weak", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("m_gigant_e", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("m_gigant_e", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("m_poltergeist_e", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("m_poltergeist_e", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("m_poltergeist_e", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("m_poltergeist_e", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("m_controller_e", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
alife():create("m_controller_e", tushkgar, db.actor:level_vertex_id() , db.actor:game_vertex_id() )
return true
end

Все. Теперь после диалога с Прапором у нас спавниться куча зомби (где-то рядом с переходом в Темную Долину), излом и снорки, 2 контроллера, полтергейсты, псевдогиганты.


Статья написана: www.front.ucoz.ru. Все права на статью принадлежат www.front.ucoz.ru. Запрещается выкладывать статью без разрешения F.R.O.N.T. на всех сайтах кроме www.stalker-zone.ru. При размещении на других сайтах поместите www.front.ucoz.ru в список друзей.




Категория: Модострой | Добавил: front (20.09.2008)
Просмотров: 1039 | Комментарии: 1 | Рейтинг: 5.0/1 |
Всего комментариев: 1
1 О вирусах  
0
лд

Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
Форма входа
Поиск
счетчик посещенийсчетчик посещений
Друзья сайта
 
Фан сайт игры S.T.A.L.K.E.R.

Бар_У_границы_Зоны_бар_настоящего_сталкера!

Статистика

На портале: 1
Новичков: 1
Участников: 0

Copyright MyCorp © 2025