-
Posts
682 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Downloads
Everything posted by Marcousik
-
The shader was originally written by @havenphillip I think, it was an interactive shader for vegetation to move around the player when going through. I modified a few things to let a csg sphere behave like mud when a tire is going through. There is a an invisible trigger under the mud to detect the tire and change the friction and other coming features like decals mud on the car and other possible splashes effects. Enjoy
-
-
So this crazy journey continues... It's all about making a game with free car driving in an open world, finding your way through random events, uncrossable areas, mud, water and getting managed your needs of water, food and fuel. (Something between Snowrunner and GTA where grenades could help to get the way free) In my free time (I don't have much anymore) I try to build a big map (4096) where it could be enjoyable to drive around to complete a task or just to relax, reaching an upgrade or making money to buy cloths. Here is a little demo how it could become, it's a WIP so missing lot lot features. Enjoy watching this.
-
-
Yes exactly, I used Blender to import the meshes, transfer each one to the bones skeleton, then export the character with all the clothes mesh merged on it, and then seperetly export clothe items as .fbx to import the models in Leadwerks as dropable loot/items to equip. It's much work but it works.
-
look at that beginning 2.47 I made that for a long time, maybe it is interesting... Made with Mixamo and Leadwerks no ultra, it didn't exist The problem is you have to animate the mesh. So I imported an animated fuse character with blender and added all the mesh on the bones. Then set the mesh you don't want with invisible material, Create a clothe as dropable item and then just show() the corresponding clothe mesh on the player as he equips it Edit: you can't just show() it as it wasn't hidden, you have to replace the invisible material on the mesh with the clothe material with animated shader. Hope it can help
-
-
-
-
-
-
Ok I got it to work. I made the test only on your DEVROOM_gameplay.map I found 2 problems: 1) In script Nurse.lua: Remove this line in start() - this causes the bug 2) Your nurse Entity is too little ! It runs under the raycast you are testing and so doesn't trigger anything. -> Just put a scale on the nurse entity (1,10,1) After that the nurse is going to be detected and is coming to the camera, I also reduced the murse move speed to 1 or 2
-
yea upload is good
-
Hi 2 ideas to try: 1) Check if this is not a child, if it is, it should be GetPosition(true) 2) I got an issue with pick() returning entities not precisely enough Try to replace the false with true in the Pick() arguments https://www.leadwerks.com/learn?page=API-Reference_Object_Entity_Pick it's about the "closest" arguments Also maybe use [Name-of-your-created-world].Pick(....)
-
Darkness Awaits Template - Player.lua & 3rdPersonFollow.lua issues
Marcousik replied to WazMeister's topic in Programming
Hey Man you have to share more of your code, like this it's almost impossible to help. Seems your camera doesn't have a script attached, but you call it with "self.camera.script" -> This returns nil, error. -
Yes sure, just replace the "Voiture" child with the model you want, But let the name "Voiture" Adjust the tires and play around with the script values (mass, tires dimensions, dampers lenght...) Save the final result as .pfb and set this prefab in the script properties as path (needed to leave the car)
-
I think all you are asking for can be solved through studying the "FPSPlayer.lua" script, this is a work each one has to do to here to learn scripting possibilities. This is an extract of this script:
-
I think window:KeyDown(Key.Up) returns a bool value type: true or false.
-
Try this: if window:KeyHit(Key.Space) and window:KeyDown(Key.W) then -- add here the code for a jump end And with the character controller it imay be preferable to use this: https://www.leadwerks.com/learn?page=API-Reference_Object_Entity_SetInput Look at the FPSPlayer.lua script
-
Hello I updated the jeep car for Leadwerks 4.6 with all adjustments and implemented the new damping and balancing technics I could find to optimize vehicles with Leadwerks. So feel free to download and try the car, it's free, in the workshop! There are 3 cameras mode you can easily switch: Free, Following and First Person. The lights got an upgrade too. Added realistic shapes for the tires and the car: Credits sounds form Shadmar (vehicles worhkshop item) Credits Havenphilip for the sand tracing tire tracks https://steamcommunity.com/sharedfiles/filedetails/?id=739604432 ************** IMPORTANT I uploaded a main.lua file in the workshop with the line world:Update() changed to world:Update(4) Otherwise it won't work. If you made changes to your main.lua, make a backup of the file before installing! *************** This should be the last big update. Enjooy!
-
@Josh Great great news to read. Any idea when will it be avalable on steam ?
-
Hi havenphilip, Would it be possible to make a shader that generates water little circle-waves around the position, where for exampl someone would have thrown a stone in water? Would you have a start idea for this or is that a way impossible?
-
One more, thx a lot for the all your work on the shader you made, witout that I wouldn't have got the possibility to continue on this. The key is this shader effect around a specific entity
-