PLEASE HELP -how to make those shadows?

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators


  • I have a question :?:
    How to make those shadows in levels:
    Image
    Image
    :wink:
    User avatar
    Sven
    Alien trapper
     
    Posts: 315
    Joined: Sun Jun 01, 2008 8:38 am
    Location: Berlin; Germany

Mon Jun 09, 2008 6:27 pm

  • Enable the realtime lighting and shadowing options in the graphics menu.
    Taiyo.uk
    Alien trapper
     
    Posts: 436
    Joined: Mon Apr 17, 2006 8:48 pm
    Location: Reading, IN-GER-LUND!!!

Mon Jun 09, 2008 6:34 pm

  • You need realtime lights in your level.

    Taken from r_editlights_help:
    Code: Select all
    Documentation on r_editlights system:

    Settings:
    r_editlights : enable/disable editing mode
    r_editlights_cursordistance : maximum distance of cursor from eye
    r_editlights_cursorpushback : push back cursor this far from surface
    r_editlights_cursorpushoff : push cursor off surface this far
    r_editlights_cursorgrid : snap cursor to grid of this size
    r_editlights_quakelightsizescale : imported quake light entity size scaling

    Commands:
    r_editlights_help : this help
    r_editlights_clear : remove all lights
    r_editlights_reload : reload .rtlights, .lights file, or entities
    r_editlights_save : save to .rtlights file
    r_editlights_spawn : create a light with default settings
    r_editlights_edit command : edit selected light - more documentation below
    r_editlights_remove : remove selected light
    r_editlights_toggleshadow : toggles on/off selected light's shadow property
    r_editlights_importlightentitiesfrommap : reload light entities
    r_editlights_importlightsfile : reload .light file (produced by hlight)

    Edit commands:
    origin x y z : set light location
    originx x: set x component of light location
    originy y: set y component of light location
    originz z: set z component of light location
    move x y z : adjust light location
    movex x: adjust x component of light location
    movey y: adjust y component of light location
    movez z: adjust z component of light location
    angles x y z : set light angles
    anglesx x: set x component of light angles
    anglesy y: set y component of light angles
    anglesz z: set z component of light angles
    color r g b : set color of light (can be brighter than 1 1 1)
    radius radius : set radius (size) of light
    colorscale grey : multiply color of light (1 does nothing)
    colorscale r g b : multiply color of light (1 1 1 does nothing)
    radiusscale scale : multiply radius (size) of light (1 does nothing)
    sizescale scale : multiply radius (size) of light (1 does nothing)
    style style : set lightstyle of light (flickering patterns, switches, etc)
    cubemap basename : set filter cubemap of light (not yet supported)
    shadows 1/0 : turn on/off shadows
    corona n : set corona intensity
    coronasize n : set corona size (0-1)
    ambient n : set ambient intensity (0-1)
    diffuse n : set diffuse intensity (0-1)
    specular n : set specular intensity (0-1)
    normalmode 1/0 : turn on/off rendering of this light in rtworld 0 mode
    realtimemode 1/0 : turn on/off rendering of this light in rtworld 1 mode
    <nothing> : print light properties to console
    User avatar
    morfar
    Site Admin
     
    Posts: 938
    Joined: Tue Feb 28, 2006 6:08 pm
    Location: The Island

Mon Jun 09, 2008 7:46 pm

  • Thank you very much morfar and Taiyo.uk :D :D
    User avatar
    Sven
    Alien trapper
     
    Posts: 315
    Joined: Sun Jun 01, 2008 8:38 am
    Location: Berlin; Germany



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest