Jump to content

Aiteron

Member
  • Posts

    35
  • Joined

  • Last visited

Everything posted by Aiteron

  1. learned it in code today. As I understand it, part of the code from the distribution was taken out to the procedural generation. in distribution, it looks like "food (from 1 to 50)" for the containers to which this code was written. food is listed in the procedural generation file as a food list with a chances. in total this is for convenience so as not to duplicate the code. You can change both the usual distribution and procedural generation.
  2. Aiteron

    Towing car mod

    You will be able to tow cars using a tow rope. Now you don't have to leave your favorite car to pick up a new one. New item (tow rope), custom towing physics. ------------------------------------------------------------------------------------------------------------- Link: https://steamcommunity.com/sharedfiles/filedetails/?id=2241990680 ------------------------------------------------------------------------------------------------------------- Works with mod "Filibuster Rhymes' Used Cars!". And with other mods, that add new vehicles. Permission : Ask for permission Video overview / tutorial: Supported languages: (Need help with translate) - English - Russian (Also need help redrawing the icons and the cover) Enjoy
  3. Main physics almost done. I also want to try to visually show the rope, but I need to check if this is possible. there are already several new features that are not shown in the video I think about in the next couple of weeks I will open the mod as an open beta.
  4. Towing car. Lua mod (alpha 1.0) Working on a car towing mod. I was able to move the car using lua code (math + physics + developer pain = this mod). Implemented the physics of towing with a tow rope. Video: https://youtu.be/hsXFA7XublU
  5. I understand you have other priorities now. Having studied the code, I was shocked! You've done an insane amount of work. I studied only a part of the code, but this is already tens of thousands of lines of code! I am amazed. I wish you a smooth transition to the new network code. question: what about the methods that i need for mods? can i expect them in the next updates and what is the best way to request new functionality for use in lua code? I tried to make a mod with minimal changes in the code. In the meantime, I'll switch to mods without changing the source code and try to extract everything I can.
  6. I decided to make a car towing mod. I have some results, but this is not a simple mod. I changed the source code of the game (decompiled, modified, compiled) and wrote a mod for lua. Stopped at the current state of the mod. (There is no point in continuing if the developers do not add the necessary code for the mod to the game and decompilation does not perfectly restore the code, so the decompiled files crash the game (I think the deadlock occurs)) I added the following code to the game source code: 1. OnVehicleUpdate event - trigger when vehicle update 2. Change vehicle position (like setDebugZ(float)) public void setDebugXYZ(float x, float y, float z) { this.tempTransform.set(this.jniTransform); this.tempTransform.origin.x = x - WorldSimulation.instance.offsetX; this.tempTransform.origin.y = z ; this.tempTransform.origin.z = y - WorldSimulation.instance.offsetY; setWorldTransform(this.tempTransform); } This is not real towing. I'm teleporting transport now. Joints are needed for real towing. Now, as I understand it, the developers use the modified Bullet engine, and there are no joints in engine java api now. What I want to achieve with this functionality: 1. Towing a car with a correct turn and physics similar to realism (imitation) 2. For towing you need a special device or a special car 3. Towing affects the movement of the car. (Depending on the weight of the towed vehicle) What I've done: How can I submit a request to developers for the methods I need? Write what you think about the mod idea. If there are a lot of people interested, perhaps the developers will implement the required functionality.
  7. Above support wrote that the problem is probably a lack of video memory. Try to lower the settings to the minimum first and check the error. If it is repeated, the full purchased version of the game may will still not work :(. And write what kind of video card you have.
  8. Something wrong with filetexture "vehicle_pickupshell.png". The file may have broken. Check game files by steam file check. But i think you downloaded game from pivigames. (Your filepath).
  9. Hi Your problem - local before function is unnecessary. Function for trigger by Event must be global correct code: -- If player(0) press "ENTER" key, log it and say it function typingIconShow(_keyPressed) local key = _keyPressed; ...........
×
×
  • Create New...