Jump to content

smashthewindow

Members
  • Posts

    136
  • Joined

  • Last visited

Everything posted by smashthewindow

  1. moved to beginner section.
  2. All of your answers have been a big help. Thanks a lot guys, got exactly what I wanted to work.
  3. thanks for the reply I've been looking at the point light's LUA example and trying to find "light_point" string(which is it's class name). But there isn't on the LUA file. Help?
  4. As the title, how would I be able to add new entities? I've seen into gamelib example of scene loading and it loads some keys from entities such as class name and so, where would I set this?
  5. Actually this is one of the things that I had a really hard time with too. What you could do is look at how GameLib initializes it's things, the Source SDK (Source Engine's Development Kit) for some reference source code on structuring you're custom entity system, some Leadwerks forums for more tips. Of course if you're doing this in LUA you would have to find the engine function equivalents through the Wiki. (Which is farelly well documented.)
  6. Is there some engine function to get the slope of the current environment that a controller in on? I'm guessing that this is possible due to the fact that the controller take's a parameter that set's maximun climb angle of the controller at it's constructor. If not, I'm thinking raycasting to solve my problem, but I'm just making sure before I go do something stupid.
  7. Actually nevermind. I found this amazing library called GameLib that kinds of shows you how to do all the basic stuff. I should probably be looking into that closer now.
  8. Ah, I see. I came from a Source engine modding background, and was quite surprised when I saw that the structures was a lot different. I'm a nearly noobie in game programming, so it would have been nice if the wiki showed some theories or concepts of how people set up/integrate their entity structures though.
  9. I run a filter function to filter out some of the things it should ignore But thanks for the input. What template do you use? I get a feeling that the LEO template isn't quite finished, and I'm pretty fluent in other language other than BlitzMax, so I might as well change.
  10. Hmm, the problem is that it runs the ray test from the camera. I need to run it from an controller entity. I know that in this case I can probably use the entity's IsVisible() function, but I'm looking for more a general solution - I'm trying to get familiar with Leadwerks. P.S: Vector3::IsVisible( const TVec3& p1, const TVec3& p2, flt radius, int collisionType, Filter filter = 0 ) Vector3 class doesn't even exist...
  11. I'm right now I'm creating a third-person camera. I'm nearly done, I've used one from the ball game example and added a few interpolation & controller movement functions to make it look smoother. I have a few quesiton regarding TPS Cam. 1) In the wiki, it says C++: bool Draw::GetPick( Pick& pick, const TVec3& point1, const TVec3& point2, flt radius = 0 , const CollisionType& type = 0, *Byte filter = 0 ) const However, I'm pretty sure this is wrong or outdated. (Draw class doesn't have GetPick() func.) Can anyone tell me the correct prototype func for GetPick() or the C++ equivalent? I just don't want to rely on C function LinePick(), it looks messy. 2) I'm using a pivot as a parent to my camera to set the cam's rotation and so. (Only my GetMain().GetCamera() entity.) I saw a thread which says this will cause problems, and I need to rotate Transparency & Background layer's cameras too. (Not sure... ; Can anyone advise me on this? Thanks.
  12. Ah, thank you so much for the fast reply. It cleared a lot fo things up for me, I was making sure just in case. Good day.
  13. Around March, I've paid for Leadwerks Engine version 2.4. (I still have the payment informaiton & registration number on my email account.) Straight after the payment I couldn't login in the community or work with the Leadwerks because I had an internship overseas. Now that I'm back, I'm trying to download the Leadwerks SDK, but when I look at "Purchases" section under client area it gives me a message that I did not make any purchases yet. Can anybody help me here? Is there an expiration period of some kind?
×
×
  • Create New...