AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Classnames for Solidness and Transparency? (https://forums.alliedmods.net/showthread.php?t=10008)

TotalNoobScripter 02-06-2005 00:07

Classnames for Solidness and Transparency?
 
what are the classnames controlling if a entity is solid (cant walk through it) and makes an entity opaque ( I have a entity whos model is somewhat transparent :( )

TotalNoobScripter 02-06-2005 13:55

EV_SZ_solid isnt doing anything for me...

XxAvalanchexX 02-06-2005 14:14

Well, EV_SZ_solid shouldn't be working for you! Try EV_INT_solid instead. Take a look at the SOLID_* constants in engine_const.inc, and try setting their EV_INT_movetype as well (again, look at the MOVETYPE_* constants in engine_const.inc).

TotalNoobScripter 02-06-2005 14:18

oops, i meant int_solid, that doesnt work either.

Edit: after more reading

EV_INT_Solid 2 would mean SOLID_BBOX?

also
EV_INT_movetype 3 is for players only or would the ent move like a player? If i wanted it to move like a player would i use movetype 3 (walk) or 4 (step)

Edit: Edit:

Whats with the transparency though, is that like a userrendering or something?

XxAvalanchexX 02-06-2005 16:26

Experiment.

TotalNoobScripter 02-06-2005 17:52

I just noticed something... when the first entity spawns, its transparent, the rest are opaque... weird.


All times are GMT -4. The time now is 19:21.

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