Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,008 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Flashlight code? #400241
04/27/12 12:49
04/27/12 12:49
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
How do i make a flashlight in my game. My level has no light or only pitch black to make it more scary and character only have candle or flashlight. I search the AUM for the flashlight code but light is only cated on a targeted object like i have a chair in front of my but i'm pointing on a wall. light is made in the wall and chai's shadow is casted from the light source. Anyone can help me?

Re: Flashlight code? [Re: wrekWIRED] #400242
04/27/12 12:54
04/27/12 12:54

C
chris_oat
Unregistered
chris_oat
Unregistered
C



check out AUM 71, there you will find a good Flashlight (Shader).

Re: Flashlight code? [Re: ] #400276
04/28/12 01:21
04/28/12 01:21
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
I Checked the demo out but doesn't work for me. I have to recomple the level to be able to run it with my A7 but when i run the script all i see is pitch black. Then check other AUM contents. I tried the spotlight code but it's kinda funny that there is no spotlight cone created. It just created a normal light. Any idea?

Last edited by wrekWIRED; 04/28/12 09:23.
Re: Flashlight code? [Re: wrekWIRED] #400315
04/28/12 17:10
04/28/12 17:10
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
shaders need commercial version


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Flashlight code? [Re: wrekWIRED] #400323
04/28/12 20:12
04/28/12 20:12

C
chris_oat
Unregistered
chris_oat
Unregistered
C



Originally Posted By: wrekWIRED
...but doesn't work for me....


ahhhh ---> 7.05 pro <--- erase your illegal copy of GS and get either the free one (no shaders) or the commercial version (shaders)

Re: Flashlight code? [Re: ] #400347
04/29/12 08:14
04/29/12 08:14
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
Uhhmm. I'm using the latest A7.866. You're not the first person to doubt the copy i'm using. I didn't notice the version in my profile.
I know all the disadvantages of the leak version.

My graphic card doesn't support shaders thats why the AUM71 contrib doesn't work for me.

I tried the sample from AUM36 about physics sample but use spotlight.
http://www.coniserver.net/coni_users/web...htsub=spotlight

This is the code that doesn't create code light for me. Instead of making a cone shape light it just created a light in a radius.

A8 has a sample Spotlight without shader but not don't think it works with A7.

Last edited by wrekWIRED; 04/30/12 09:12.
Re: Flashlight code? [Re: wrekWIRED] #400348
04/29/12 08:26
04/29/12 08:26
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
With A8 you have a "spot.c" example under "samples" folder. May be you better think about using latest free A8 version.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Flashlight code? [Re: 3run] #400350
04/29/12 09:25
04/29/12 09:25
Joined: Apr 2012
Posts: 62
wrekWIRED Offline OP
Junior Member
wrekWIRED  Offline OP
Junior Member

Joined: Apr 2012
Posts: 62
I'm using A7. I tried A8 already but i'm having problem with rendering.

Last edited by wrekWIRED; 04/29/12 09:26.
Re: Flashlight code? [Re: wrekWIRED] #400351
04/29/12 09:38
04/29/12 09:38
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
good luck then


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 | 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