Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 04/25/26 16:09
Z9 getting Error 058
by jcl. 04/24/26 17:48
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Grant, TipmyPip), 3,403 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
gun entity passable #285778
08/20/09 03:34
08/20/09 03:34
Joined: Mar 2009
Posts: 207
E
Erick_Castro Offline OP
Member
Erick_Castro  Offline OP
Member
E

Joined: Mar 2009
Posts: 207
Hola amigos!

I programed a gun entity on next way:

entity gun0
{
type = <el_revolver.mdl>;
//ambient = -30;
pan=90;
x= 5;
scale_x=2;
scale_y=2;
scale_z=2;
layer=1;
y= 3;
z= 0;
ammo=0;
numbergun=1;
recargar=1;
}


I want to make it passable. what is the code i have to add.

And other thing: Why the color of that gun entity ever is the same? When i go in a dark room the shadows dont affect my entity gun , it looks every time iluminated.

Thanks!

Re: gun entity passable [Re: Erick_Castro] #285793
08/20/09 07:55
08/20/09 07:55

C
chris_oat
Unregistered
chris_oat
Unregistered
C



i have an idea, but not sure if its working.
do not make it an view entity. just add the z.near to ur gun, so it wont go "into" walls.
try that and tell me wat happen.

EDIT: Nope, just realized it wont work, bcs znear is not good for weapon (FPS) bcs it will be over everthing, even enemies etc.

Last edited by chris_oat; 08/20/09 08:23.
Re: gun entity passable [Re: ] #285861
08/20/09 19:44
08/20/09 19:44
Joined: Mar 2009
Posts: 207
E
Erick_Castro Offline OP
Member
Erick_Castro  Offline OP
Member
E

Joined: Mar 2009
Posts: 207
Chris thank i will try that.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1