Raised This Month: $ Target: $400
 0% 

Rendering In TS.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Minimum
Senior Member
Join Date: Jun 2006
Old 01-19-2007 , 13:51   Rendering In TS.
Reply With Quote #1

I am having a lot of problems with trying to render things in The Specialists. It seems as if I cannot make any special effects like holograms or any other rendering effects work. Even in Fakemeta it seems like it doesn't work. The only things I have gotten to work were effects under the pev_effects const. Pev_renderfx and pev_rendermode do not seem to work.

Here is the code.

Code:
#include <amxmodx> #include <amxmisc> #include <fakemeta> #include <gabionkernel> #define PLUGIN "Test Funcs" #define VERSION "1.0" #define AUTHOR "Minimum" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_clcmd("say","say_func")     register_component(1,"Minimum's Test Funcs") } public plugin_pause() {     register_component(0,"Minimum's Test Funcs") } public plugin_unpause() {     register_component(1,"Minimum's Test Funcs") } public say_func(id) {     new buffer[256], buffer1[33], buffer2[33], buffer3[33], num     read_argv(1,buffer,255)     parse(buffer, buffer1, 32, buffer2, 32, buffer3, 32)     if(equali(buffer1,"render")) {         num = str_to_num(buffer2)         if(equali(buffer3,"0")) {             set_pev(id,pev_rendermode,num)             hud_display(id,"Rendered yo self - Mode.")         }         if(equali(buffer3,"1")) {             set_pev(id,pev_effects,num)             hud_display(id,"Rendered yo self - Effects.")         }         if(equali(buffer3,"2")) {             set_pev(id,pev_renderamt,num)             hud_display(id,"Rendered yo self - Amt.")         }         if(equali(buffer3,"3")) {             set_pev(id,pev_renderfx,num)             hud_display(id,"Rendered yo self - Fx.")         }         return PLUGIN_HANDLED     }     return PLUGIN_CONTINUE }

I have found little documentation on Fakemeta's constants. This is what I have so far for pev_effects.

- 1: Normal.
- 2: No Noticeable effects.
- 4: Area Light.
- 8: Flashlight.
- 16: Darken Player Model.
- 32: No Noticeable effects.
- 64: No Noticeable effects.
- 128: Invisible.
- 256+: Invisible + Area Light.

Last edited by Minimum; 01-19-2007 at 14:02.
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode