Raised This Month: $ Target: $400
 0% 

Entity Constants help && values request


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
haimmaik
Senior Member
Join Date: Jul 2005
Old 11-08-2005 , 07:58   Entity Constants help && values request
Reply With Quote #1

which entity constant makes an entity transperent?

and how do i know what each line do there?
http://www.amxmodx.org/funcwiki.php?go=module&id=3

for example:
Code:
EV_FL_ltime,
EV_FL_nextthink,
EV_FL_gravity,
EV_FL_friction,
EV_FL_frame,
is there a tutorial that explain what each line do there?

another question:
these part of code was taken from AMX_GORE plugin. this part is the decals that are beeing painted on the ground and walls around a guy that got hit. (or killed)

Code:
// Blood decals #if CZERO     static const blood_small[8] = {202,203,204,205,206,207,208,209} #else     static const blood_small[7] = {190,191,192,193,194,195,197} #endif

Code:
// Blood decals #if CZERO     static const blood_large[2] = {216,217} #else     static const blood_large[2] = {204,205} #endif

those numbers are for red decals...(190,191,192,193,194,195,197,204,205 )
what are the numbers for the green decal?
haimmaik is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 11-08-2005 , 10:25  
Reply With Quote #2

If you want to make an entity invisible, use set_entity_visibility.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
haimmaik
Senior Member
Join Date: Jul 2005
Old 11-08-2005 , 12:47  
Reply With Quote #3

no that will set it completely invisable.. i need transparcy 0 - 255
haimmaik is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 11-08-2005 , 13:22  
Reply With Quote #4

set_rendering
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-08-2005 , 14:52  
Reply With Quote #5

Code:
set_rendering(ENTITY,kRenderFxNone,0,0,0,kRenderTransTexture,AMOUNT);
AMOUNT should be somewhere from 0-255, 0 being completely invisible and 255 being completely visible


As for your other problem, I believe the colors for decals are hard-coded in and cannot be changed. This means the only way you could get green blood decals is if they already exist somewhere in the game. Have you ever seen green blood decals?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
haimmaik
Senior Member
Join Date: Jul 2005
Old 11-08-2005 , 15:48  
Reply With Quote #6

OMG.. -__- i saw green blood in HALF LIFE... the 1 falls off the monsters
FOUND IT
3,4,5,6,7,8
haimmaik is offline
Reply


Thread Tools
Display Modes

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 23:51.


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