Jump to content

Core

Members
  • Posts

    139
  • Joined

  • Last visited

Everything posted by Core

  1. Ok, progress is slower than I would want, but there just is not enough hours in one day. So much other stuff in my life right now, but pulling demo level together, not sure when it it will be ready to play. Still, slowly making progress.
  2. This is somewhat offtopic, but regarding the example provided on the API reference using Clear(), where it is actually used? I've noticed that sometimes when you look something from API reference, the example is not actually helping at all on how to use specific function etc.
  3. Link worked here too! Cool stuff.
  4. First steps in creating real playable demolevel. Like building legos and creating new bits as I need them. FUN stuff.
  5. Ok, good to know! Since Leadwerks is actually THE only modern engine I have ever used, there is so much basic stuff I need to learn... But nice to know there are ways to overcome this.
  6. Jesus, I got it! First of all, it only happens with spotlights and if you have more than one on the same area. Point lights cause no banding/stripes. With spotlights, you can greatly reduce or even get rid of it by randomly rotating them around Y-axis to make sure they are not "lined up" with each other. First image shows situation where banding occurs: And here all four spots are rotated randomly around Y axis, and banding is gone:
  7. Hi! I have noticed this here and there every once in a while, but now that I'm finally building a map with aesthetics in mind, I think it is time to dig deeper into this. So what is causing this banding with shadows, and how I'm able to prevent it from happening? I understand that it must be some kind of limitation with the engine, but just knowing how to avoid it would be awesome! Thanks again for any tips. Edit. Oh, numerous times I've been asked to send a map for an example. I would, but noobish question... How? What files I should include? Is there an easy way "create" a file that includes everything you need to run a map on another computer? Thanks again.
  8. I have simple problem. I want to be able to remove cover/lid/door off some objects before I have access to them. Now I have it working with this simple script: Script.cover = nil function Script:Start() self.cover = self.entity:FindChild("DoorElectronics1_11_cover") self.cover:SetMass(0) end function Script:Use(player) self.cover:SetMass(1) end So when I "use" parent entity, it makes the cover (child) to fall off. This is ok, but I want to be able to pick it up or even pick it up from it's place without dropping it to the floor. I have an idea how I will store covers original position to be able to put it even back to it's original place, but I can't seem to figure out how I can make the object from static to act like normal simple pickupable object with physics. Like the basic one when you have no script, set it's collision type to prob and give it a mass. Here is video demonstration: Edit. Ah, ok. It does not work if object I'm trying to pick up is parented to a static object. So self.cover:SetParent(nil) did the trick.
  9. Ok, thanks for your answer. That gives me something to think about. I'm going to "stresstest" decals, but what ever happens, I will use them at key points at least, I like how they blend to the material And thanks for paper suggestion, I thought about that too, I'm just worried it will look like it is flowing above the floor/table or when set properly to the right level, is glitching with the underlying texture. But, will test.
  10. I found this: https://steamcommunity.com/sharedfiles/filedetails/?id=413295203&searchtext= I have not tried it yet, but I'm guessing it will need you to know atleast basics of lua scripting!
  11. I'm planning to use LOT'S of decals in my project. I will use them to for signs, labels, dirt etc. My question is, before I go ahead, do they eat lot of processing power? What if I have a prefab with ten decals and then I have that prefab used in 20 different places? Even hundreds? Well, yes best way is to test it But wanted to ask if it is just plain stupid thing to do one should not even try. Another question, can we have emissive decals? I created "Emissive decal" by applying it over emissive surface (needed to reverse the decal though), but although it works, It is not usable in many scenarios. And yet another question, how would you create a piece of paper with text on it? I planned to use decal for that, but it obviously looks like painted to the surface, not separate piece of paper.
  12. I've been using Blender on my laptop and just now moved a bunch of models to my more powerful pc where I use Leadwerks. Included was the model of Celeste-ship. It looked so epic and massive in my current test scene where I play around and test models, so I just had to do a "flyby". Adding sun and sky made it look cooler, but otherwise pretty much made everything else wonky so please don't mind. But decided to record a video. SEV Celeste flies first time ever!
  13. Thank you Christian, I will watch that video asap! And also thanks for your compliment, it really means a lot! Edit. Watched the video now with time, very cool indeed. Currently I'm creating assets that use general materials, I don't bake anything model specific. It has it's pros and cons. Pros are that I can use one material in several models, places and I can change colors and materials on the fly, very nice and fast for prototyping at least. Cons are that I don't bake even normal maps, so for example round edges are actually round. Takes a lot of polygons, for example that device with all the switches and stuff uses about 3000 polygons. But with all the processing power we have nowdays available etc... We well see how far I can go like this. I created big controlling console with lots of bells and whistles and although it is not ment to be used in many places in game, Im still a bit worried, it has 28000 polygons... I will start baking maps when I'm happy with models, see that they work in environment like intended and their material choices are ok.
  14. Ah, ok. Thanks for explaining. Very nice, but pretty advanced stuff, will look in to it at some point. I have more basic things to tackle in the meantime
  15. Thanks! I had to Google what is AO map . If I understood correctly, it bakes ambient light to the texture. Sounds cool, I will look in to this in the future. But does not ambient light (in scene root) do the same thing? I had it turned off actually when taking that screenshot.
  16. Well, it does look cool ingame too! Not sure if this is the very first image inside my game (and not some test scene) here on the forums, it actually might be. And one of the very first images ever outside my computer. I've been very self critical and shy about my doings, but now I'm actually a bit proud of what I have accomplished. if you have determination, proper tools and kind, capable people to learn from (and time, of course) only sky is the limit . Year ago I was no where near the place I'm now, I think I might actually manage to create working game someday! I can't wait to be able to publish a working demo, but it is still a long way to go...
  17. Creating props'n stuff. This device... well... does something very important. Looks good when rendered in cycles, though!
  18. Not sure, but I guess it is more convenient to use script for big doors where your character needs to go through, considering collision boxes etc. But for small cabinets, cases, closets etc. I think I'm going to use animated objects. But yes, I don't know is there any difference in performance.
  19. Ok, got it working now. Thank you very much for your help! It is now obvious, that one needs to have bone for static element too I did not realize that at first. Now, soon I will be animating giant robots with hundreds of bones in no time! Working:
  20. Oh, I actually understood what you ment by resetting transforms! It was one problem, the second one is how I make the object appear to be one single model instead of two separate ones. If I join them before exporting, the bone moves the whole object instead of just the door.
  21. Thanks for your response. I'm not sure what you mean by resetting transforms, but I'm pretty sure my model is in "rest" pose when exporting. And yes, I'm using bones and key frames. Here are files for the second video example, Blender file and exported files! I would really appreciate if you could look in to them! AnimationTest3_2.blend AnimationTest3_2.mdl AnimationTest3_2.mdl.xml Material.mat
  22. Added yet more simpler and "clearer" animation. First in Blender what I would like to see, then the result in Leadwerks.
  23. Hi again! So, I started my first experiments with animations. Was doing progress, but encountered a problem I can't find an answer. I recorded a video. What is going on here? Animation is "working", but vastly different in Leadwerks! In video, animation displayed first like intended in Blender, then in Leadwerks.
  24. Thanks, like I posted above, it works allready! My fault, I really need to go through settings more carefully before asking here and wasting anyones time!
  25. Oh, answering to my self... I need to have shadow shader on my material... Edit. @macklebee, You posted while I posted my own response to my self thanks for your response anyway, I appreciate it!
×
×
  • Create New...