Jump to content

havenphillip

Members
  • Posts

    550
  • Joined

  • Last visited

Posts posted by havenphillip

  1. 15 hours ago, Josh said:

    You have a picture of Data with a beard.

    I believe in you.

    Haha! Thanks. Chicks dig it. I have a lot of fun with Leadwerks and the community is really helpful. The appeal of it was that a noob like me can download it and make my own games and I'm finding that to be the case. I don't get stuck and just give up.

    Gratuitous feedback: I hope you end up making that Boner 3D program. I'd buy it. I'm learning the coding but I also want a way to make models and rig/animate them and a lot of these programs (looking at you, Blender) are horribly tedious and confusing. Possibly a lot more Leadwerks projects would come to fruition if there were some kind of modeling/rigging/animating program that was easily accessible to somebody like me the way Leadwerks is with the coding aspect.

    end rant
     

  2. I got something worked out borrowed this script from Yue...

    ...put this in the FPSPlayer script under the start function. Works pretty good:

        --Add fog to camera
        self.camera:SetFogMode(true)
        self.camera:SetFogRange (0,40)
        self.camera:SetFogColor (0.9,0.9,0.9,0.08)
        self.camera:SetFogAngle (0, 180)
        self.camera:SetClearColor(0.721, 0.352, 0,1)
     

  3. Ok I did all that. I'd seen this before but I just went back to double check. The problem I'm having is that I can see the shadows lying across the ground in the perspective view of the console but when I run the game those shadows are gone. I have the material set to cast shadows and I have the cast shadows option selected in the terrain tool. But still nothing.

    Maybe it's worth mentioning that it's the vegetation painter that does this. If I plant the trees one by one the shadows work fine.

  4. I'm not sure. I had closed the script window and it seemed to close Leadwerks altogether, but the icon was still open in my start menu bar. Nothing on screen, though. So I uninstalled it and tried to reinstall it and that's when I got the file lock problem. I went on Steam and followed their recommendations, clearing the library and repairing it, and rebooted my computer, then reinstalled Leadwerks and it worked but the icon was still showing up in my start menu but there was nothing on screen. I eventually resolved it when I hovered over that icon and popping up the mini-window pop-up, which was blank. I scrolled to the mini window pop-up and right-clicked/maximize window and it popped up. It seems as if Leadwerks had minimized itself to such a degree that I couldn't even see it on my screen, and I did check for that, lol. It works fine now. Must have been a glitch somewhere. Idk. I couldn't reproduce it but I roughly recreated it in GIMP:

    59756f4d3db3d_Glitchorsomething.thumb.png.877dcfae73fa10464660fdb392644ea1.png

  5. My Leadwerks won't open. I uninstalled and reinstalled it. I turned my computer off and on. It won't start. It's saying I have this problem:
    C:\Program Files (x86)Steam\steamapps\common\Leadwerks\_CommonRedist\vcredist\2010\installscript.vdf

    I went there and tried to open it. Says it's locked? How do I fix this? I want back on my Leadwerks!

     

  6. Nice. A response from the man himself.

    I did what you said and I didn't have any luck initially but I messed with it some more and for whatever reason ended up also changing the self:AddItem(item) in the PostRender function to self:AddItem(self.item) to see what would happen and those two changes seem to have done it. I have no idea why but It appears to be working perfectly now.

    Thanks, man!

  7. Hey Community. I'm new to Leadwerks and I've been going through Aggror's Project Saturn and I got stuck at a point where I was unable to put items in the inventory. I moved some things around and found some scripts and got it to work but now my problem is I don't know how to add just one item to the inventory. It just adds the item to any open slot. I'm sure it's something dumb that I would never guess because I'm new to programming. I have the Player Inventory script attached to the Bottle the Inventory Item script is being imported to the Player Inventory. Also, it is saying System:Print("We place the bottle in the inventory") so I'm assuming I'm close. Could someone please help me out with this?

    Amidoingthisrightlol.png

    Bottle Script.png

    Inventory 1.png

    Inventory 2.png

    Item Table.png

×
×
  • Create New...