Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - kez

Pages: [1]
1
Suggestions & Requests / Vehicle Buy Script
« on: June 28, 2023, 10:18:07 AM »
Basically click on the spawner and select which vehicle you want with the prices listed and be able to define the prices per vehicle in a local .txt file or prefs or whatever works best. Maybe a way to hide certain vehicles as well.

2
Suggestions & Requests / Increased playername visibility
« on: July 23, 2019, 03:13:14 PM »
Wondering if someone could possibly increase the distance player's names are visible, with a distance counter at the end of their name? like: kez (582.4m)
Also, prefs to change the visible distance and if the distance counter is displayed. Maybe be able to change the color of names too?

3
Modification Help / RE: Vehicle mount/emitter limit?
« on: March 17, 2019, 04:30:34 AM »
My other topic was too old to bump.
https://forum.blockland.us/index.php?topic=304294

I started this project in '16 and ran into some issues and stopped, then picked it up again. I did this a few times over the last few years since then. I still haven't fixed the problem.

I had another user send me code to fix this issue but I could not figure out how to implement it into my script without syntax errors, and when it did work without said errors, the code did nothing.

Basically I modeled an F-22 Raptor with one mountpount for the driver, two mounts for the engines, and another two for the contrails at the wing tips. All the emitters show up except for one of the contrails, so instead of two theres just just one showing up.

I can post the scripts if anyone asks for it. I might need more in-depth explanation on implementing this code because I am still a novice and have absolutely no experience with torquescript as I just model.

4
General Discussion / Modding discord
« on: August 04, 2018, 04:55:32 AM »
I recall someone posting a link to a discord specifically for modding. Does this server still exist, or by chance is there another server like that available?

5
My vehicle keeps spawning with its wheels in the ground and I can't figure out how to fix it. The model is centered in milkshape and with masscenter values, but it spawns with the wheels underground every time. Can anyone help me figure out whats going on here?

6
Add-Ons / [Vehicle] Amphibious Search Plane (V1)
« on: November 18, 2017, 12:11:59 AM »




Features:
animated propeller
amphibious(can land/takeoff from water)
seats 4
based off this little gem here

Bugs:
a little bouncy in the water (especially if you land pretty hard or spawn the vehicle underwater)
propeller animation may not loop 100% smooth
some triangulation errors on some faces
can be hard to recover from the water if the nose is submerged or not parallel with the horizon (TIP: when landing on water, angle the plane so the nose is slightly in the air, this should help when taking off)

Download V1

please post any errors not specified that you find and I will fix them asap

enjoy  :iceCream:

7
Modification Help / aircraft problems
« on: November 15, 2017, 12:18:23 PM »
I'm trying to figure out how to add emitters when thrust is applied to a vehicle. I've come across some scripts that only apply emitters when the vehicle reaches a certain speed (which is kind of a cheap way to do it) but I'd like for the emitter to display when hitting W. Is there any way to do this?

8
Modification Help / Update a vehicles datablock values through script
« on: June 01, 2017, 02:49:19 AM »
Since you can change a vehicles thrust and pitchforce values through console, can you do the same through code? Like if I pressed space for instance, could I change the vehicles default pitchforce to something much higher? How can I do this?

I already tried doing %obj.F22AvehicleDB.pitchforce = 49700; and %obj.setDatablock(F22AVehicle).pitchforce = 49700; but neither work. I dont know what I'm doing and I need help.


9
Suggestions & Requests / Points shop for vehicles
« on: April 27, 2017, 07:16:54 AM »
There should be a simple script to buy vehicles with points earned from a minigame. Can anyone make this happen?

10
Modification Help / Problem with vertical surface force
« on: December 18, 2016, 08:49:35 PM »
I am trying to create a realistic flight model and I'm currently stuck on trying to edit the horizontal and vertical surface forces so that the plane has a somewhat realistic turn rate, but when the aircraft is banked even slightly, it tends to start "falling" towards the direction it is banked in ragardless of the amount of thrust the plane is given. The plane also seems to wobble really bad when rolling, which at first I thought was a problem with the center of mass being off, but the problem persisted after centering the model in both milkshape and by code. I also tried lowering the lift but that doesn't work either. This problem is very annoying and is kind of hard to explain so heres a video showing whats wrong.

https://youtu.be/V6qoHiq7ATo


I've experimented with surface forces above 2.0 and while they solve the problem, they're not really the desired results I'm looking for (aircraft has too much friction and turns too tightly) I currently have vertical surface force to 0.60 (editing horizontal surface force apparently has NO EFFECT at all. I've tried ridiculously high and low values with no luck) Has anyone else stumbled across this issue or knows whats really happening here?

heres the code
Code: [Select]
 //Handling Properties
                    
  // Engine              
  engineTorque = 189; //0; // Engine power
  engineBrake = 0.054;         // Braking when throttle is 050
  brakeTorque = 5200;         // When brakes are applied
  maxWheelSpeed = 60; //200         // Engine scale by current speed / max speed

  forwardThrust = 4550; //5600
  reverseThrust = 45; //45

  // Maneuvering
  rollForce = 93000; //190000    
  yawForce = 30500; //27000  
  pitchForce = 48500; //32500
      
  horizontalSurfaceForce = 0.60; // Horizontal center "wing" (provides "bite" into the wind for climbing/diving and turning)
  verticalSurfaceForce = 0.60; // Vertical center "wing" (controls side slip. lower numbers make MORE slide.)

  rotationalDrag = 2.2; //5.8 // Anguler Drag (dampens the drift after you stop moving the mouse...also tumble drag)
  maxSteeringAngle = 12.75; //1.23 //0.9785 // Maximum yaw (horizontal) and pitch (vertical) steering angle in radians. should match animation)
  
  // Misc
  maxForwardVel = 130; //200
  maxReverseVel = 130; //200
  stallSpeed = 60; //0
  drag = 1.25; //0.25
  lift = 18; //10              
  mass = 100; //100
  density = 5.0; //5.0

  // Energy
  maxEnergy = 100;
  jetForce = 4000;
  minJetEnergy = 5;
  jetEnergyDrain = 0.6;

11
Suggestions & Requests / Set Brick Outline
« on: November 13, 2016, 07:10:49 PM »
You know when you equip a tool and invisible bricks are usually outlined? Can someone make a modification to the brick wrench menu to have a custom option for the brick to be outlined, and also maybe an event too?(onbricktouch>self>setbrickoutline, or something similiar)

12
Modification Help / Vehicle mount/emitter limit?
« on: November 04, 2016, 02:42:53 PM »
I created a vehicle with 4 different mounts that play emitters and only 3 of the four work. I've tried everything I can but the last emitter will not show up.
someone joined my server suggesting i use someones hacky script that adds bots to the mountpoints to play emitters but I have yet to find such script or said person.

can anyone help me with this? Please tell me if I should upload any code.

Pages: [1]