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

HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- More colors of tracers (https://hlfx.ru/forum/showthread.php?threadid=2977)


Отправлено MisterDeath 30-08-2011 в 22:08:

Unhappy More colors of tracers

How to use or create more tracer colors ???

I Discovered this...

C++ Source Code:
/* // FOR REFERENCE, These are the built-in tracer colors. Note, color 4 is the one // that uses the tracerred/tracergreen/tracerblue and traceralpha cvar settings gTracerColors[] = { { 255, 255, 255 }, // White { 255, 0, 0 }, // Red { 0, 255, 0 }, // Green { 0, 0, 255 }, // Blue { 0, 0, 0 }, // Tracer default, filled in from cvars, etc. { 255, 167, 17 }, // Yellow-orange sparks { 255, 130, 90 }, // Yellowish streaks (garg) { 55, 60, 144 }, // Blue egon streak { 255, 130, 90 }, // More Yellowish streaks (garg) { 255, 140, 90 }, // More Yellowish streaks (garg) { 200, 130, 90 }, // More red streaks (garg) { 255, 120, 70 }, // Darker red streaks (garg) }; */


I Use this, and find errors...

e:\halflife\testeando mod!!!\neew mod\hlsdk\single-player source\common\r_efx.h(44) : error C2501: 'gTracerColors' : missing storage-class or type specifiers
e:\halflife\testeando mod!!!\neew mod\hlsdk\single-player source\common\r_efx.h(46) : error C2078: too many initializers
Error executing cl.exe.

__________________
hl 4 ever


Отправлено Shapirlic 31-08-2011 в 05:28:

This tracer colors build in engine.You cannot change this.


Отправлено Дядя Миша 31-08-2011 в 07:59:

Цитата:
MisterDeath писал:
How to use or create more tracer colors ???

choose tracecolor 4 and set desired values for tracerred, tracergreen and tracerblue CVar's. Also all player weapons used color 4 by default.

__________________
My Projects: download page

F.A.Q по XashNT
Блог разработчика в телеграме

Цитата:

C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'


Отправлено MisterDeath 31-08-2011 в 23:07:

Shapirlic
is possible to modify engine?

__________________
hl 4 ever


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

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