Jump to content

Gonan

Members
  • Posts

    185
  • Joined

  • Last visited

Posts posted by Gonan

  1. I think you should have a live and beta, version, like you do at the moment, otherwise you will have users on different versions, some reporting bugs that have already been fixed, which will annoy anyone maintaining code. Users who want stability can use a previous version, but it would be unlikely to be fixed, should a bug be found, in that version. So basically as it is now with LE4.

  2. Thanks, I added a line to the Monsterai.lua Script:Start

     

    System:Print("self.GetScript()="..self.entity:GetScript())

     

    this gives the full path and file name of the script in the log.

    Then using those results followed it with a line to load a new script

     

    self.entity:SetScript("C:/Users/....................../monstera3.lua")

     

    In the log this caused the old script to be deleted, the new script loaded and then executed. So looks like it can be done, with that method, though will have to check that it doesn't cause any leaks.

    • Upvote 1
  3. I am trying to work out how to manually take control of the monsterAI.lua controlled entities, my initial thoughts are is there a way to assign a script file to the entity programmatically in a lua script. And if so can the entity be stopped, and have the script reset back to monsterAI.lua once I release manual control.

     

    The Idea is to be able to tab key among my army of entities, and "mind control" them, taking over from their normal monsterAI.lua script and using my own controller.lua script. When I tab out they revert back to their normal script.

     

    I haven't been able to find any API reference to setting the script file for an entity. Would this be a possibility.

  4. I think something is wrong with the latest steam update for leadwerks. I'm using the beta.

     

    When I look in the Steam Library it shows Leadwerks Game Engine - 46%.

     

    Unable to launch Leadwerks until update finishes, but it keeps downloading and then saying - UPDATE REQUIRED (NOT QUEUED) and then repeating , and scheduling a new time a new time for the current minute.

     

    Will try a re-boot to see if this clears.

  5. No, lua only, as the game launcher is advertised as can do no harm, due to lua being sandboxed. Ie the code running in sandbox mode can not execute anything that can damage your data or other programs. Is what I believe to be the current situation.

  6. There is some tuning that can be done in the monsterai.lua functions.each alive monster looks for targets and selects the closest. But instead of searching a big area for all targets , start with a smaller area and if you find a target or many, just chose one. If you don't find a target repeat for a bigger area. When there are lots of monsters in the world the finding of an enemy is much quicker and more relevant.

  7. I wouldn't be in a hurry to use file i/o if you are just using LUA, as that would probably preclude the use of the game player, which requires sand pit mode, and using file i/o will probably mean you cant get your game published as easily. If you have a requirement for file i/o and it would be general purpose and safe, Josh may code some new api, to wrap up your functionality that would then allow that to be added, like he did for the high score board.

    • Upvote 1
  8. Hi Josh, I think having a rating system and a ranking display on the game player would be a great addition, but please allow a non ranked view, so that each game has an equal chance of being displayed first. You could have all time ranking, this weeks ranking like music charts that change each week, this will prevent the most popular games staying the most popular simply because of their sequence in the game player. New releases, for new titles, or fixes, or additional content, to give the game playeruser an incentive to try out games they previously played. If a game player user gave a thumbs up, to the original game and they don't like the layest version, then they should be able to remove the thumbs up, but not add another one, and vice versa.

  9. So if its possible to load 9 maps each occupying one tile of a 3 by 3 grid but 8 low poly and 1 high poly representing your current location, then when your location changes toone of the outer tiles, that tile becomes high poly and the new centre and 3 or 5 new low poly tiles are loaded with 3 or 5 tiles discarded depending on the location moving to a corner or side tile, and the old high poly tile is replaced with a low poly version, thus providing an infinitely sized world.

  10. The biggest expense over a 3 month project is going to be the cost of your employee, the longer the project the bigger the cost. Therefore making the most of that employees time is going to be important. Your first

    requirement is can the equipment produce an outcome that is acceptable, if it can how much should I spend on making improvements to the employee's tools, and training

     

  11. Hi Leadwerkers,

     

    Thought I would share a feature that I have just found on the Leadwerks web site, and request for comments, on what tags we should use to allow sub sets of articles to be easily found in future.

     

    When you create a new topic, there is a field called Topic Tags, where you can create your own words that can be used to describe the content of your post.

     

    If you open a tagged article and click on one of its tags, you will get a list of articles that also have that tag. As far as I can tell the listing is available on 1 tag.

     

    If we had a standard list of tags, we could help ourselves collate the posts that would be useful for tutorials, C++, LUA, coding, textures, maps, materials, weapons, AI, animation, shaders, documentation, gui, effects, transitions, tuning, testing, publishing. Try to imagine the tags being used to gather articles into chapters. While multiple tags can be assigned, remember only 1 can be used to get a list of matching articles.

     

    What common words would you want to be able to use, when looking for information in the forums?

  12. This is a strange effect.

     

    Use a Militarytrailer01.mdl from the zone - Military trailers workshop.

     

    Set up the following, Mass 1.0, shape Polymesh, collision type Prop, Physics Mode Rigid body, and hit Fit Shape. then using the FPS Player step inside it and press E near a wall. Then try to move around, inside without falling trough the floor or walls.

     

    You can try on water, or set some CSGs below the Trailer.

     

    Its like your trying to carry the trailer while stood inside it. Can feel like your being flung around the inside of the trailer.

  13. Its great for simple maths physics with g (our gravity = -9.81ms-2) nearly equal to -10ms--2 (-10 metres per second squared), you can drop a pebble down a well and count how many seconds it takes to hit the bottom, and approximate how deep it is, multiply the number of seconds squared by 5, giving the distance in metres.

  14. just need an idea, how about an genetic algorithm for solving genetic algorithms (GA), then using its results to get the next generation, give it a set of rules to follow, and then get it to compete in a game against another instance of a GA , hang on is that going to lead to another Skynet incident.

     

    If the set of rules was the requirements of a Test Driven Development, would the resulting GA be able to beat a human programmer designed solution. Could it learn to create the code faster, and to run faster than the human.

     

    What would happen if it could choose the set of tests, build up a database of solutions for each test.

     

    Could the game be a Leadwerks game, where you could play against the GA.

×
×
  • Create New...