Author Topic: Component weights issue  (Read 1466 times)

Offline DuckRA2

  • *
  • Posts: 1006
  • Rep: 1
    • View Profile
    • Awards
Component weights issue
« on: July 26, 2011, 11:52:12 AM »
When ever I add a


mass = x


(x as the weight I want for the component) to my component txt files, in game it says the correct weight for some of the components but for others a number I have never seen. Any ideas what I might be doing wrong?

Offline ACAMS

Re: Component weights issue
« Reply #1 on: July 26, 2011, 12:54:00 PM »
Some components have the weight in the .gmf, so you have to decompile it or take that into consideration.

Offline DuckRA2

  • *
  • Posts: 1006
  • Rep: 1
    • View Profile
    • Awards
Re: Component weights issue
« Reply #2 on: July 26, 2011, 01:32:05 PM »
I am aware of that, but i thought the txt file over ran that? And it is giving a weight that is not in the gmf or txt

Offline ACAMS

Re: Component weights issue
« Reply #3 on: July 26, 2011, 02:29:14 PM »
Well the txt does not over ride it....Are you doing a wheel because I had that issue with the little green wheel.

Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Component weights issue
« Reply #4 on: July 27, 2011, 11:53:12 PM »
The mass parameter in the txt file only affects the main body in the gmf.  Simple components like spikes and ram plates only have one part so there's no problem.
 
If the component has multiple parts like a motor or a wheel, then the weight of the axle, traction zone, etc. gets added on top of whatever the main body's mass is.  So you have to subtract the weight of any extra objects in order to get the desired weight for the main body.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline DuckRA2

  • *
  • Posts: 1006
  • Rep: 1
    • View Profile
    • Awards
Re: Component weights issue
« Reply #5 on: July 28, 2011, 12:22:46 AM »
ahhhhh that would make sense, thanks click

Offline JoeBlo

Re: Component weights issue
« Reply #6 on: July 28, 2011, 06:03:11 AM »
Stock is less open then DSL..

But at the same time I like it as its more tidy