Jump to content

shadmar

Members
  • Posts

    3,618
  • Joined

  • Last visited

Posts posted by shadmar

  1. You can always hack the shader ...In the oceans frag find :

     

    vec4 color = ....

     

    add below

     

    color*=vec4(R,G,B,1);

     

    Where you replace the RGB using float values in ranges 0..1 normally, but try 1,1,2 for extra blue, or 2,2,2 for twice intensity, but as Meta says they will probably look abit burned if set too high.

  2. LE_AI.jpg

     

    Here are 50 animated crawlers wandering randomly about, they are afraid of the camera and will freeze and then run away from it if I get close (flee)

     

    They have small randomness to them so they doesn't look uniform even if you line up all 50 using the same idle animation.

     

    But as I let them wander about, some of them keeps walking into the sides. I want to have them change direction if their speed is low (almost stuck).. But how can I determine the moving speed of each?

     

    I'm using the editor and the crawlers AI is selfcontained in it's own lua script.

  3. Hi

     

    I'm makeing some basic animation and A.I for the crawler as an self contained object.

    I am using the charactercontroller and noticed that you can input move and strafe in

     

    controller:Update(camRotation.y, move * moveSpeed, strafe * strafeSpeed, jump, 40 , 10, KeyDown(KEY_LCONTROL))

     

    Any tip on how I can always move away from the camera if I know the camera position and the controller position using controller:Update() ?

     

    I want he controller to flee from the camera sort of.

  4. Some nice shots there Pascherik. smile.png

     

    @roland & pixel, how many layers would be enough ?

     

     

    One technique I've used before is to use several of the same texture at different tilesize, this way it looks good upclose and from far above. Still five textures, but applied several times at different resolutions, like 3 for sand, example, one streched (1 tile), one at 16 tiles and one at 256 tiles.

    • Upvote 1
×
×
  • Create New...