RSSy MYGO.pl Opublikowano Maj 20, 2019 o 00:10 RSSy Udostępnij Opublikowano Maj 20, 2019 o 00:10 This plugin is a edit to ici's showtriggers plugin. It sets specific triggers to a certain color as seen here PHP Code: while ((entity = FindEntityByClassname(entity, "trigger_*")) != -1) { GetEntityClassname(entity, buffer, sizeof(buffer)); if (StrEqual(buffer, "trigger_push")) { SetEntityRenderColor(entity, 0, 255, 0, 255); } else if (StrEqual(buffer, "trigger_teleport")) { SetEntityRenderColor(entity, 255, 0, 0, 255); } else { SetEntityRenderColor(entity, 0, 0, 0, 0); } int count = GetOutputCount(entity, "m_OnStartTouch"); for (int i = 0; i < count; i++) { GetOutputParameter(entity, "m_OnStartTouch", i, buffer); // Gravity anti-pre // https://gamebanana.com/prefabs/6760 if (StrEqual(buffer, "gravity 40")) SetEntityRenderColor(entity, 255, 100, 0, 255); } count = GetOutputCount(entity, "m_OnEndTouch"); for (int i = 0; i < count; i++) { GetOutputParameter(entity, "m_OnEndTouch", i, buffer); // Gravity booster // https://gamebanana.com/prefabs/6677 if (StrContains(buffer, "gravity -") != -1) SetEntityRenderColor(entity, 0, 255, 185, 255); // Basevelocity booster // https://gamebanana.com/prefabs/7118 if (StrContains(buffer, "basevelocity") != -1) SetEntityRenderColor(entity, 0, 255, 0, 255); } } This plugin also requires the outputinfo extension, I haven't tested it with any others besides the one in Miu's boosterfix plugin. Download: https://github.com/blankbhop/improved-showtriggers Credits:Ici - Base showtriggers pluginMiu - Outputinfo extensionEric - Improvements to base pluginBlank - Trigger Menu, functionality Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się