Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ENTITY* gun ... why camera show the inside of model #356442
02/02/11 00:17
02/02/11 00:17
Joined: Jul 2009
Posts: 85
A
Altarius Offline OP
Junior Member
Altarius  Offline OP
Junior Member
A

Joined: Jul 2009
Posts: 85
Hi,

Anyone can tell me how i cant prevent the camera to show the inside of my model, when i use a gun in the view like a FPS?

Maybe i need to use another method than that...

ENTITY* actor_screen =
{
type = "ak47.mdl";
layer = 1;
flags2 = SHOW;
x = 30;
y = -3;
z = -5;
}




Last edited by Altarius; 02/02/11 00:20.
Re: ENTITY* gun ... why camera show the inside of model [Re: Altarius] #356522
02/02/11 16:29
02/02/11 16:29
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
check if your textures are 32-bit. It yes, change them to 24-bit


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: ENTITY* gun ... why camera show the inside of model [Re: painkiller] #356568
02/02/11 19:38
02/02/11 19:38
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
If you are making an FPS then making a view entity is your best option. It will not run into the camera and it will not go through walls either


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: ENTITY* gun ... why camera show the inside of model [Re: FoxHound] #356572
02/02/11 19:45
02/02/11 19:45
Joined: May 2009
Posts: 5,365
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,365
Caucasus
View entities for FPS weapons isn't the best idea... You'll miss the main thing, lightning on your models...
To make weapon do not pass through the walls just set ZNEAR, and make sure to have camera clip near set to zero.
About seeing model from inside, using view entity will not fix that, the problem is in the alpha channel that models probably has.
Export skin to .PCX in MED, and then import it back (it will make 24bit skin).


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

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

Gamestudio download | chip programmers | 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