Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug branch for debugging purpose. #278

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

0x4E69676874466F78
Copy link

@0x4E69676874466F78 0x4E69676874466F78 commented Jul 18, 2022

Added trigger_command for debugging purpose.
Usage: add in halflife.fgd:

@PointClass base(Targetname) = trigger_command : "Trigger: Command"
[
	netname(string) : "NetName"
]

After creating the trigger_command point entity,
you give it a name and NetName for console command.
After that, create a brush with trigger_multiple
and in target specify the name of the entity of your trigger_command.

Usage: add in halflife.fgd:
```
@PointClass base(Targetname) = trigger_command : "Trigger: Command"
[
	netname(string) : "NetName"
]
```
After creating the trigger_command point entity,
you give it a name and NetName for console command.
After that, create a brush with trigger_multiple
and in target specify the name of the entity of your trigger_command.
@0x4E69676874466F78
Copy link
Author

Мы у себя собираемся это делать для регрессионных тестов. Делать скриншоты и сравнивать их потом скриптом своим.

@a1batross
Copy link
Member

this and future special testing entities can go to specific enginedebugtools branch, probably

@nekonomicon
Copy link
Member

@0x4E69676874466F78
Copy link
Author

@nekonomicon я не видел этого бранча. Думал здесь вообще нет. Оно не гуглится нихрена (я искал).
Но там SERVER_COMMAND а у меня CLIENT_COMMAND.
Это хуже не сделает?

@nekonomicon
Copy link
Member

Думаю разница есть и может даже стоит сделать отдельный SF-флаг для клиента/сервера для унификации.

@0x4E69676874466F78
Copy link
Author

0x4E69676874466F78 commented Apr 20, 2023

Спирит ещё не подходит по причине не полной совместимости с оригинальным сдк (например масштабирует cycler модели через ключ scale когда хлсдк нет), более того на уровнях с вагончиком сломана логика поезда, после перехода уровней вагончик замирает. Я не знаю надо ли создать задачку под это (сломанный поезд).

@nekonomicon
Copy link
Member

Нет, баг с вагончиком - особенность оригинального спирита.
В билдах дяди Миши этой проблемы нет(версии 1.3, 1.6, 1.9), но и моды сделанные на спирите под его билдами не работают корректно.

@0x4E69676874466F78 0x4E69676874466F78 changed the title Added trigger_command for debugging purpose. Debug branch for debugging purpose. Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants