General CE3 Discussion

View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 27.08.2011, 10:06Posts: 70 Likes: 0
 

 Post Topic: How to make Point Light Shafts?
PostPosted 21.04.2012, 07:34 
I'm using the Crysis 2 Editor, and I'm wondering how to make point light shafts.

  Uber Modder Uber ModderMember since: 17.06.2011, 10:49Posts: 1471Location: Germany Likes: 0
 

 Post Topic: Re: How to make Point Light Shafts?
PostPosted 21.04.2012, 09:04 


Intel Core i5-2500K
ASRock P67 Pro3
8 GB DDR3-1333
GTX560 2GB
Win7 x64
  Beginner BeginnerMember since: 27.08.2011, 10:06Posts: 70 Likes: 0
 

 Post Topic: Re: How to make Point Light Shafts?
PostPosted 22.04.2012, 03:30 
I read on that... but sadly I am not informed on what cVars are. How do I "make" one?
I know it has been recently added to the SDK too but I suppose its the same way.
User avatar   Community Manager Community ManagerMember since: 09.01.2008, 01:11Posts: 8371Location: Crytek HQStatus: Online Likes: 39
 

 Post Topic: Re: How to make Point Light Shafts?
PostPosted 22.04.2012, 11:53 
Simple as applying a material to a light :) Though it appears we don't currently have documentation for this up so we'll get that online asap.

1) Add a light entity
2) Assign a material from: materials/light_flares
3) Tweak to suit your preferences

lightshafts.jpg

:)

EDIT: derp, i should read first =P



Image
Image
No dev/modding PM's please, use the forums! :)
User avatar   Trained Modder Trained ModderMember since: 23.09.2011, 02:21Posts: 219 Likes: 0
 

 Post Topic: Re: How to make Point Light Shafts?
PostPosted 22.04.2012, 20:58 
In the Crysis 2 editor, do the following:

-Go to the console (you can find it in the top menu in View > Show Console) and type this in: r_pointslightshafts 1
-Now put a light in the scene and in its properties you will see one called "PostEffect", change it from 0 to 1.

There you go!
Image

If you want something more permanent, you can make a flowgraph that sets that cvar at the beginning of your level by using the Debug:ExecuteString node.

Image

edit: added images.
User avatar   Beginner BeginnerMember since: 20.11.2011, 20:49Posts: 7Location: Barcelona Likes: 0
 

 Post Topic: Re: How to make Point Light Shafts?
PostPosted 24.04.2012, 12:14 
Quote by OCASM:
In the Crysis 2 editor, do the following:

-Go to the console (you can find it in the top menu in View > Show Console) and type this in: r_pointslightshafts 1
-Now put a light in the scene and in its properties you will see one called "PostEffect", change it from 0 to 1.

There you go!
Image

If you want something more permanent, you can make a flowgraph that sets that cvar at the beginning of your level by using the Debug:ExecuteString node.

Image


edit: added images.



That was fine for me until now, but I have just updated to 3.4 and now my scene with pointlighshafts is not working anymore. Any idea?