Jump to content

Einlander

Members
  • Posts

    778
  • Joined

  • Last visited

Posts posted by Einlander

  1. This has completely drove me crazy, I can no longer use the editor to build levels. It has essentially become a model placement editor.

     

    So here's my problem and suggestion:

     

    I am building a mall and want to make the floors a tileable prefab. I build the prefab just fine, spend a considerable amount of time texturing it.:

     

    post-7960-0-79770900-1401612521_thumb.jpg

     

    I save it then then load the prefab into my level, move it where I need it. Lo and behold, it doesn't look how it should look:

     

    post-7960-0-29386900-1401612900_thumb.jpg

     

    The textures are stationary and the csg's change thier uv's when moved.

     

    J9PKINx.gif

    Do not like!

     

    Can we have an option to keep the csg's uv stationary no matter where it's moved or what size it is?

    Or an option to export it as a model complete with textures and uv's to we can preserve our work?

  2. The character controller has a non modifiable cylinder, so you can't replace it as far as lua is concerned. A solution I to manually create your own character controller. I have a feeling more people will end up doing this as they start making games that don't exactly fit in the COD FPS mold, or as they use non human characters.

  3. Making a large mall level, not many brushes, but i'm running into issues with the occlusion simply being greedy. If you are looking in one direction and then turn to look at a wall 180 degrees behind you, it's has been culled and takes around .5 seconds to appear.

     

    Is there a way to stop this behavior? I don't know if this is something to do with the lua version or not.

     

    An scenario for why I need it changed: You are running through the mall being chased. You do a split second 180 to look behind you, to see where your pursuer is. The map behind you isn't there. The map renders from the farthest object from you, and comes closer to you, allowing you to see through all the walls and know where everything is.

     

    This simply is unacceptable for a twitch based shooter, and I would assume it would be further exaggerated if the game was multiplayer. It gets progressively worse the more populated the world is.

     

     

    Map to test with. Prerequisites: Fullscreen 1080p, vsync on (self.context:Sync(true))

    Mall.zip

     

    post-7960-0-85207100-1400761713_thumb.jpg

    post-7960-0-88647400-1400761740_thumb.jpg

  4. Ahh deferred texture loading, reminds me of every single unreal engine game and the swimming textures that get sharper over time. Now I can say I'm using the Unreal engine when asked, wink:wink:nudge:nudge.

     

    But seriously, loading is almost instantaneous now. Thanks you for your work Josh. Now I need to find more bugs to give me an excuse for why I'm not being productive with my game making.

    • Upvote 4
  5. That would require workshop uploads to carry with it licensing metadata. If you want to modify the files then the workshop creator should be able to mandate that you credit them for the base work. We know there has been a rash of get rich quick, steam greenlight projects that use misappropriated assets. Until there can be a line of ownership that shows who created what, and what projects used what assets. As an asset creator I want to be as lenient and liberal as possible with my creations, but I don't want to give my assets away and the next person say "I created this, so called originator is a liar. He just put my stuff on the workshop before me".

     

    The messed up things I have seen going on in the Left 4 Dead 2 workshop and the hatred it receives from l4dmaps.com . This exact thing goes on in the workshop now even with the creator posting on the originating website complete with timestamps that workshop publisher is a thief.

  6. While testing my level by running the exe, I noticed that in about 2 minutes in my game crashes. to gets to almost 400mb standing still and I get an error : Lua Error: not enough memory.

     

    I have 8gb of ram so I don't think it's physically running out of memory.

     

    There is only app.lua, fpsplayer, and the gun prefab for lua scripts

    Initializing Lua...
    Executing file "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Scripts/Error.lua"
    Executing file "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Scripts/App.lua"
    Initializing OpenGL4 graphics driver...
    OpenGL version 441
    GLSL version 430
    Device: AMD Radeon R7 200 Series
    Loading map "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Maps/Hotel_Holdout v3.map"...
    Loading model "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/characters/generic/generic.mdl"
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/developer/orangegrid.mat"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/shaders/model/diffuse.shader"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/developer/orangegrid.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/bricks/bricklargebare0168_7_small.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/bricks/BrickLargeBare0168_7_Small.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/bricks/BrickLargeBare0168_7_Small_dot3.tex"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Shaders/Model/diffuse+normal.shader"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/road/asphalttextureno9037_1024x768.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/road/asphalttextureno9037_1024x768.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/metal/metalplatesnew0009_1_small.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/metal/MetalPlatesNew0009_1_Small.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/metal/MetalPlatesNew0009_1_Small_dot3.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/developer/bluegrid.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/developer/BlueGrid.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/concrete/concrete_dirty.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/concrete/concrete_dirty_diff.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/concrete/concrete_dirty_dot3.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/concrete/concrete_dirty_spec.tex"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Shaders/Model/diffuse+normal+specular.shader"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/metal/metalplatesnew0052_7_small.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/metal/MetalPlatesNew0052_7_Small.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/metal/MetalPlatesNew0052_7_Small_dot3.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/grass/grass0126_2_small.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/grass/grass0126_2_small.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/developer/greygrid.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/developer/greygrid.tex"...
    Loading model "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/sidewalk/corner_curb_inside.mdl"
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/sidewalk/corner_curb_inside_.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/sidewalk/corner_curb_inside__color.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/sidewalk/corner_curb_inside__nmap.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/sidewalk/corner_curb_inside__specular_color.tex"...
    Loading shape "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Prefabs/Sidewalks/Corner_Curb_Inside.phy..."
    Loading prefab "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/prefabs/sidewalks/sidewalk long curb 1.pfb"...
    Loading model "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/sidewalk/sidewalk long curb 1.mdl"
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/sidewalk/sidewalk long curb 1_ptexplane0.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/sidewalk/sidewalk long curb 1_ptexplane0_color.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/sidewalk/sidewalk long curb 1_ptexplane0_nmap.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/sidewalk/sidewalk long curb 1_ptexplane0_specular_color.tex"...
    Loading shape "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Prefabs/Sidewalks/Sidewalk Long Curb 1.phy..."
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/wood/woodplanksclean0036_1_small.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/wood/woodplanksclean0036_1_small.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/wood/woodplanksclean0036_1_small_dot3.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/wallpaper/wallpaperforties0033_small.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/wallpaper/wallpaperforties0033_small.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/ceiling tiles/tilesplain0138_11.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/ceiling tiles/tilesplain0138_11.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/ceiling tiles/tilesplain0138_11_dot3.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/carpets/carpet0006_2_small.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/carpets/carpet0006_2_small.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/carpets/carpet0006_2_small_dot3.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/floortiles/tilesbroken0013_2.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/floortiles/tilesbroken0013_2.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/materials/floortiles/tilesbroken0013_2_dot3.tex"...
    Loading component "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/scripts/objects/player/fpsplayer.lua..."
    Executing file "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/scripts/objects/player/fpsplayer.lua"
    Executing file "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Scripts/Functions/ReleaseTableObjects.lua"
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/Common/NavMesh.mat"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/shaders/model/flat/default.shader"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/HUD/crosshair.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/HUD/use.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/HUD/blood1.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/HUD/blood2.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/HUD/blood3.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/HUD/blood4.tex"...
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Player/flashlight_02_on.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Impact/body_punch_03.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Impact/body_punch_04.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Footsteps/Concrete/step1.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Footsteps/Concrete/step2.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Footsteps/Concrete/step3.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Footsteps/Concrete/step4.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Footsteps/Concrete/jump.wav..."
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/Common/bfn.tex"...
    Loading prefab "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/prefabs/weapons/autopistol.pfb"...
    Loading model "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/weapons/autopistol/fpsautopistol.mdl"
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/weapons/autopistol/45_.mat"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/shaders/model/animated/diffuse+normal+specular.shader"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/shaders/model/shadow/shadow+animation.shader"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/weapons/autopistol/45__color.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/weapons/autopistol/45_dot3.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/weapons/autopistol/45_spec.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/weapons/autopistol/arms.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/weapons/autopistol/arms_color.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/weapons/autopistol/Armsbake_dot3.tex"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/models/weapons/autopistol/arms_spec.tex"...
    Loading component "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/scripts/objects/player/fpsweapon.lua..."
    Executing file "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/scripts/objects/player/fpsweapon.lua"
    Executing file "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Scripts/AnimationManager.lua"
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Ricochet/bullet_impact_dirt_01.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Ricochet/bullet_impact_dirt_02.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Ricochet/bullet_impact_dirt_03.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/sound/weapons/autopistol/revolver_dry_fire_01.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/sound/weapons/autopistol/gun_357mag_01.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/sound/weapons/autopistol/gun_357mag_02.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/sound/weapons/autopistol/gun_357mag_05.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/sound/weapons/autopistol/bullet_load_into_chamber_02.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Ricochet/bullet_impact_dirt_01.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Ricochet/bullet_impact_dirt_02.wav..."
    Loading sound "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Sound/Ricochet/bullet_impact_dirt_03.wav..."
    Loading model "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Models/Primitives/Plane.mdl"
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/Effects/muzzleflash.mat"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/shaders/model/flat/diffuse.shader"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/Effects/muzzleflash.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/Effects/default.mat"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/shaders/particles/default.shader"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/Effects/default.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/Effects/smoke.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/Effects/smoke_particle.tex"...
    Loading material "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/Effects/bloodspatter.mat"...
    Loading texture "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Materials/Effects/bloodspatter.tex"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Shaders/Misc/occlusionquery.shader"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Shaders/Model/Shadow/shadow.shader"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Shaders/Lighting/directionallight.shader"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Shaders/Lighting/pointlight.shader"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Shaders/Lighting/spotlight.shader"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Shaders/Drawing/drawimage.shader"...
    Loading font "C:/Windows/Fonts/Arial.ttf"...
    Loading shader "C:/Users/Einlander/Documents/Leadwerks/Projects/Holdout/Shaders/Drawing/drawtext.shader"...
    Lua Error: not enough memory
    

     

    Sometimes it doesn't give an error at all. I have also recived aGL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT error but I have not been able to recreate this error.

     

    Also a level with just a cube to stand on and the fpsplayer standing there doing nothing can reach >500mb ram

     

    The mapfile:

     

    https://mega.co.nz/#!NZ0GhQTT!Gjvose9IKX1nKJwuUuj9RQ8Pm8z4aK0ZZKkNUn8KhEA

    • Upvote 1
  7. Version: Leadwerks Steam Beta updated 5-15-2014

     

    This is really 2 bugs.

     

    First bug.

    When you create a normal map using the right click menu, the normal map it creates dosent get finished. It starts from the top and gets to a certian point and the rest of the file is blank.

     

    Second Bug.

    After the normal map is generated it does not show up in the asset thumbnail view. You must change to a different directory and back to see the normal map.

     

    post-7960-0-10838400-1400215855_thumb.jpg

    The Texture

     

    post-7960-0-19232800-1400215890_thumb.png

    The normal it generates.

  8. This is another one of those works in the editor, but not when I click on the exe situations. It could be the steam grabbing all the gpu ram as you said (I delete the steamapp txt so it technically shouldn't load), it could be the huge textures, but we have compression now,.and I shrunk the texture sizes. So my current map is completely different and without the issues. It may start causing problems when making large detailed worlds though.

     

    Is there any debug tools I can run to give you more details? A video of it happening, Skype/go to my PC, session so you can directly test it?

  9. Yougroove he is using c++ so I would assume that he has a door class that has a pivot member and a model member. Even in lua you can create a pseudo class and create a door without the joint feature. It's a method of containing everything that is related to the door in one compact self contained package.

  10. If the door is a model, does the door have a phy file, or does it have a shape? That's the first thing I would think of. Another question is, is the door a child of another object (do you have to click + to get to it)?

×
×
  • Create New...