Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Gonan

Members
  • Content Count

    185
  • Joined

  • Last visited

Everything posted by Gonan

  1. Start by creating a general map loading function, use it where ever you load a map, add logic to that function to detect if a uniquemodel file exists for that map. If it doesn't load the map, create a dummy progress bar, then create a file of the uniquemodels currently loaded. Animate the progress bar. Next time the function is called for that map a uniquemodels file will exist, get all the entities loaded, counts the number of unique models, use this when animating a progress bar during this loading stage. The model list file could use the name of the map + "uniquemodels" . Once written the w
  2. if you can draw, paint, sculpt, and what you produce is realistic, and is easily recognizable as the original object, then you have an artistic gift, and you could become a modeler. if you don't have these skills you can create "programmer models" , which are only good for testing game ideas, once its considered worth pursuing, you might decide to invest in purchasing models or a modeler. Even without the artistic skill, you may be able to create a good quality model, but it will take such a long time, that you wont be able to hold a modeler position, as no one will want to pay you t
  3. try setting the account name to NickWashco rather than Nick Washco. I'm guessing the space is causing a problem for the shader loader.
  4. Create a new multiplayer project and the following files show up as Error: Failed to load after connecting to a new server on the debug log. 4.6 Leadwerks beta. Windows 10. …/Materials/HUD/crosshair.tex …/Materials/HUD/use.tex …/Materials/HUD/blood1.tex …/Materials/HUD/blood2.tex …/Materials/HUD/blood3.tex …/Materials/HUD/blood4.tex …/Sound/Player/flashlight_02_on.wav …/Sound/Impact/body_punch_03.wav …/Sound/Impact/body_punch_04.wav …/Sound/Player/pickupammo.wav …/Sound/Footsteps/Concrete/step1.wav …/Sound/Footsteps/Concrete/step2.wa
  5. I saw the Google Stadia announcement, cloud gaming, and its running on Linux, with Vulcan graphics, Havok. They seem to be talking about 2019 launch. Do you think this will be a game changer, will it make Linux more popular, and require more devs to be familiar with using a Linux platform?
  6. Over a period of time, these forums will collect lots of data. That data may remain relevant and be useful, or irrelevant and obscure relevant data. If nothing is done the irrelevant data will be more prevalent than the relevant. Thus making forums less useful to users. A knowledge management solution can help, but it needs some sort of data maintenance where user feedback keeps useful items, and relegates unhelpful items. Have you considered a knowledge management solution?
  7. Hi, I was wondering if anyone had combined animation sequences, with selecting bones to become controlled by ragdoll physics, as the character sustains injuries to arms, legs body and head. The existing character controller, simply reduces total health, and the dyeing sequence is selected when it drops below 0. However none of the injuries are fedback to the viewer, which would make fighting zombies more interesting.
  8. http://www.leadwerks.com/werkspace/topic/11065-monsterailua-function-scriptendattack-bug-fix/ This problem occurs when more than one monster is attacking you. Not sure if it was ever fixed.
  9. if you want to create a function that will not be sharing variables with other functions with the same name, are you thinking of having a using namespace convention?
  10. hi Josh, I can't find any reference to Actor in the API documentation, is this intentional?
  11. use a small radius point light source just in front of the light, so that it illuminates the headlight.
  12. sorry I assumed that each task was on a thread, running independently. I was suggesting that if you had more active threads than cpus, you would experience contention for those cpus. You would see this in the performance stats, as context switches, which will cause the current context to be saved, and another loaded. If this happens a lot you are loosing useful cpu processing power.
  13. as each thread is doing a smaller subset of the work, you are probably getting more cache hits, are you also using thread affinity on your busiest threads to stop them context switching.
  14. Have you tried turning off lua sandbox mode? Then are you getting the same results?
  15. I imagine that having an assignable icon to a pivot and let it be displayed in the leadwerks editor, and have the option to hide it in the runtime, or debug would be a nice feature, making spawn points, ammo supply, points that effect gameplay. The old FarCry map editor used icons to mark various items added to maps and it did make it easier to tweak the gameplay visually.
  16. system:SetProperty is not in the api documentation, I don't know if this is by design, or an omission. If you called your function more than once, my only remaining suggestion, is to compare the quality parameter with system:GetProperty("lightquality") and if they are not equal execute the content of your function.
  17. From your replies so far, changing the world:SetLightQuality does not turn off the lights in the fps sample, but you can't see any difference to the quality. My next question is where are you calling SetLightQuality in your code, its not in each pass of the main loop is it? If it is hold your last set quality value in your own variable, and if it changes then call world:SetLightQuality, with the new value, just the once. I'm thinking is it possible that the update and render calls rely on a state of some internal workings after setting the light quality, if this is true, ie world upd
  18. There is some sample code in the help for world GetLightQuality. Try a new project with that code. Does changing the SetLightQuality to 0 or 2 work? If so are you making the same calls in the loop in your original code, esp. World update and render.
  19. Thanks Josh, looking forward to trying it out. Are you allowing updaters to see the updates leadwerks have held back due to user updated conflicts. So that they could choose to integrate them themselves. As you said LE 4 api is pretty stable, so there should not be too many. Hopefully I can use a backup of a working project, and then reapply the new version of the project update. LE 5 is going to be the start of a new set of changes, will the same update process apply?
  20. I agree with Josh, he must make decisions on the direction that leadwerks needs to follow, ensuring his business meets the needs of its users. My original post also stands, and is not meant to conflict with Josh's plans. I was asking about how others managed their source code, and if there was a standard, or best practice to follow when setting up a new project. Having a tutorial on minimising the effort required to keep projects up-to-date. Its not about main.lua, that was used as an example. What I really need is how to separate my user code from the leadwerks supplied code,
  21. way back in the 80s when I was an IBM systems programmer, user exits were provided, which simply returned, by default, but would allow user supplied code to be substituted. Obviously this is done at each significant point in the supplied code. eg. main; //initialise supplied code and setup internal_memory up=addr(internal_memory) call userexit01(up) //start up call userexit02(up) // main loop . call userexit03(up) // main loop end call userexit04(up) //end as user supplied code was changing a supplied module that simply returned,
  22. I would like to see how you should create your own source code in LUA, by starting with a new project, and what you should do to implement your changes to the existing starter code, so that you are never impacted by a new version, or project update. Its very tempting to start tweaking the starter code, and save it back overwriting the original. For instance making changes to main.lua, means any updates to the main.lua made by a new leadwerks update, when applied to the project, with the project update facility, will mean remaking those changes by looking in the .bak files. keeping a
  23. what is the value that you are passing in the call to SetLightQuality(). What value do you get back from GetLightQuality(), and have a look at the help for world and SetLightQuality if you haven't already done so.
  24. I looked at the creation dates on the folders and it does look like they were created as a project new with the create subfolder option unchecked, making sense as to an explanation for their existence. This was under version 3.3, and I was experimenting with the option, but have not used it in any real project. I should do some house keeping, after I take a backup copy.
Facebook Twitter Youtube Github Steam
×
×
  • Create New...