Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Ayumi, Akow, AndrewAMD), 1,505 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Dark gun #413140
12/08/12 20:19
12/08/12 20:19
Joined: Dec 2010
Posts: 100
D
Dega Offline OP
Member
Dega  Offline OP
Member
D

Joined: Dec 2010
Posts: 100
Okay so I know it is probably somewhere in the manual but I can't find it. My entity created using ent_createlayer(str_gun,0,20); is not working right. It appears but it is completely black. What do I do? Is there a flag I set?


boolean my.awesomeness = so true;
Re: Dark gun [Re: Dega] #413143
12/08/12 20:53
12/08/12 20:53
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Have you maybe disabled sun light? Or assigned a different material to the view entity?


Always learn from history, to be sure you make the same mistakes again...
Re: Dark gun [Re: Uhrwerk] #413154
12/09/12 08:04
12/09/12 08:04
Joined: Mar 2003
Posts: 1,524
Canada
Stansmedia Offline
Serious User
Stansmedia  Offline
Serious User

Joined: Mar 2003
Posts: 1,524
Canada
You might be better off just using ent_create, adjusting its position and angle to the camera, and setting its ZNEAR flag on so the walls do not clip it. This way it can be effected by lighting and what not.


Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
Re: Dark gun [Re: Stansmedia] #413162
12/09/12 13:10
12/09/12 13:10
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
I agree with Stansmedia.
Also you'll have to use workarounds if you want to use post-processing shaders and view-entities at the same time.


POTATO-MAN saves the day! - Random
Re: Dark gun [Re: Kartoffel] #413169
12/09/12 16:45
12/09/12 16:45
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
View entities are also affected by sun light (but I personally prefer world models), so you better set ambient in WED around 40 - 50 and sun_light to 100.


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

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