Jump to content

Core

Members
  • Posts

    139
  • Joined

  • Last visited

Posts posted by Core

  1. Ok, still fighting with this problem. I once had all my five doors on my map working with manual controlling, looks like moving and rotating them fixed them(?!). Then I decided to try attach button to one of them. Button worked, but then, door was jamming again. Then I reloaded new door. put it in the scene without walls surrounding it and tried it with stock settings. It was working. Then I moved it in to it's place. Still working. Scaled it, rotated it, still working. Attached it to a button, working.

     

    Then I reversed it's movement and it started jamming.

     

    Now I have a door that seems to be working. If I set negative "Distance" value to reverse movement (in my case -2.0 on first Distance box in Script properties), it jams on the second open/close try usually. Using positive Distance value seems to be working. But this is strange, I have currently other working manual controlled doors on my map with negative distance value (the ones that I earlier just moved around and they started working).

     

    This puzzles me beyond belief and being noob with Leadwerks and lua does not help a bit.

  2. Ok, back to door problem... So how do I share my map?

    Edit. I mean, if I attach just mapfile here, will that do?

     

    I don't know what is going on... Glitch feels so random, usually door opens and closes, but may not work after that. Sometimes, if my character is colliding with the jammed door while it should be opening, it unlocks jam. Sometimes all doors work, no matter how I abuse them...

  3. Hello again!

     

    And again I'm here asking stupid questions... I still have some problems with the door jamming, but moved on for now. So I'm modifying default enemy AI for my needs and making slow, but steady progress. Now enemy has basic patrol mode and it attacks player. And gives up hunting if player gets too far away. Thanks for Nick Ace for navpoint tutorial!

     

    But I would like enemy to stop for a few seconds when reaching navpoint, so is there pause function in lua? I tried to search but could not find anything useful...

  4. I'm currently testing doors with default script, but it raised some questions. When I open or close door, my computers stutters very badly, like it is a heavy operation. Also, sometimes my door opens, but won't close again. When using double doors, very often other or both of of them jam after open and close cycle.

     

    I have played with door masses, speeds etc. and seems that with slow speeds jamming is more common... I have tried just door, with nothing touching it and it still stutters. I tried door tutorial and there doors worked like they should, no stuttering. But I cannot imagine that my testmap is allready too heavy for my computer, even if I'm using primitives pretty uneconomically (faces there where player will never see)

  5. I think you are not missing anything but I am :) I must be missing something crucial but I honestly tried that, I created folder/filter for my corridor. Then when I duplicated content of that corridor, I selected duplicates and created another folder/filter for corridor 2 and moved duplicates there. So now I had two folders, two corridors. But I couln't rotate my corridor as awhole! And Every time I needed to select one of the corridors (every object, primitive it includes), I needed to select invidual elements.

     

    But pivots, Now I can just click pivot and whole corridor is selected. I can rotate it. But what you mean by cost? Why is it bad to have these objects as a child, if I want to handle whole corridor as one object?

  6. Hi!

     

    This is my first post to this forum and at very first I must say I really like Leadwerks. I have very little programming knowledge, but have made some scripting and 2d game making with Game Studio. Leadwerks feels very familiar, it is like Game Studio in 3d, combined with similar designing interface I used ages ago for Quake 1 levels. Just awesome. Though, I have few questions.

     

    I learned very early that grouping objects, brushes etc. is not possible yet. That leads to a problem. I made simple peace of corridor for testing and was planning to make few more peaces, like straight, curve, room, T- section etc. And then use those prebuilt corridorpeaces for full level. Using scene folders to duplicate and group items was more tedious than I thought and abandoned the idea, maybe I was doing something wrong... I'm using mainly primitives at this point plus some materials and assets from scifi dlc (which is quite nice for the prize).

     

    Shot of the corridor. I can relatively easy duplicate this to make it longer for example, but is there a way to rotate all objects at once, so I wouldn't have to build another identical corridor, but just 90 degree angle?

     

    oR2aLq1.jpg

     

    I would need some tips for proper workflow while designing levels, handling lots of objects effectively etc. maybe if someone could point general tutorial for level designing, video maybe... I'm really a noob with this kind of stuff, any help is appreciated! I know this is a broad subject...

×
×
  • Create New...