AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   rendering help (https://forums.alliedmods.net/showthread.php?t=20435)

SSJ2GOKU 11-08-2005 14:09

rendering help
 
hello

how do you render a specific bodypart, not the whole body?

like only the head or the hair?

joka69 11-08-2005 14:46

I dont think thats possible :?

atomic 11-08-2005 15:13

nope i dont think so... :?

SSJ2GOKU 11-08-2005 16:23

damn :cry:

Kensai 11-08-2005 18:26

Probably not, but you could try getting a hitzone and making that glow.

I bet that will either..

A. Work perfectly.
B. Work, but glitchy.
C. Not work.
D. Blow up your computer.
E. All of the above.

XxAvalanchexX 11-08-2005 19:32

How can you target a hitzone with rendering?

Kensai 11-08-2005 20:10

uhhh, soemthing like this?

(n00b guess)

Code:
new hit[8] hit8[8]=get_user_hitzone(id,0) if(get_user_hitzone(hits[8]) == 1//<--head)) {        set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,255//whatever value) }

The strong is probably wrong, but something along those lines?

XxAvalanchexX 11-08-2005 20:28

Code:
set_user_rendering(id
That will make the whole player glow.

Kensai 11-08-2005 20:33

Okay so change it to hits. I just put id, as default. My mistake.

XxAvalanchexX 11-08-2005 23:04

Change it to hits? What? set_user_rending takes a player id.


All times are GMT -4. The time now is 23:38.

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