HLFX.Ru Forum
Показать все 4 сообщений этой темы на одной странице

HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- как сделать что бы у нпс при спавне была каждый раз другая бодигруппа? (https://hlfx.ru/forum/showthread.php?threadid=5739)


Отправлено hgrunt_2020 13-09-2021 в 06:53:

как сделать что бы у нпс при спавне была каждый раз другая бодигруппа?

как сделать что бы у нпс при спавне была каждый раз другая бодигруппа?


Отправлено Napoleon321 23-11-2021 в 16:19:

Well this should be done with the code itself, and then in the FGD file for the mod you are creating.

For example if you open scientist.cpp in the Spawn function you will see a switch for selecting the head. Most probably your monster is based on scientist or human grunt.

About the fgd.. we look here:

https://twhl.info/wiki/page/monster_scientist

Same for the human grunts, look for the Spawn function how it's implemented, and then for the fgd entry here:

https://twhl.info/wiki/page/monster_human_grunt

__________________
FlatLine Arena | Tutorials

If you don't like something, MOD it!


Отправлено hgrunt_2020 24-11-2021 в 09:00:

Napoleon321 about this i know, if i want do a 8 bodygrops game crashed!

__________________
И главное, Артём, помни: не ешь желтый снег!


Отправлено Napoleon321 24-11-2021 в 09:42:

I see, ok then try my modified hgrunt as base.
You might have to re-define some entries... If you're using spirit as base, there should be no need of extra work.

__________________
FlatLine Arena | Tutorials

If you don't like something, MOD it!


Временная зона GMT. Текущее время 17:47.
Показать все 4 сообщений этой темы на одной странице

На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024