Changing ObjectTemplate.mass? Will it work in-game?

Ask questions, discuss ideas, get answers
Post Reply
Skull Kid
Posts: 174
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Changing ObjectTemplate.mass? Will it work in-game?

Post by Skull Kid »

So, I was planning on changing the Panzer VIII Maus's weight from 188 tons to 200 tons, will this work with WinRFA, and will it have any effect in-game?
Regards,

Skull Kid
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Changing ObjectTemplate.mass? Will it work in-game?

Post by Swaffy »

Have you tried it?
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Skull Kid
Posts: 174
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Re: Changing ObjectTemplate.mass? Will it work in-game?

Post by Skull Kid »

Swaffy wrote:Have you tried it?
Yes, but the Maus still runs slow...
Regards,

Skull Kid
User avatar
Senshi
Posts: 697
Joined: Sun Oct 18, 2009 1:14 pm
Location: Germany
Contact:

Re: Changing ObjectTemplate.mass? Will it work in-game?

Post by Senshi »

Why would increasing the mass of a vehicle result in an increase in speed? That's a very odd relation, to be honest.

Setting mass does have an effect, but it's actually not really noticeable for tank-style ground vehicles. It's far more important for aerial vehicles.
If you want faster vehicles, you shouldn't look at mass etc. primarly, it's much smarter to take a look at the Physics.con where the vehicle's engine is defined. Check the settings there (torque, differential) and figure those out. In order to get a feeling for those values, this is a very good opportunity to use the bf1942_r.exe and ingame modding to quickly test out various settings.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Changing ObjectTemplate.mass? Will it work in-game?

Post by Swaffy »

Man, you beat me to it. :D Right when I thought I had this one "in the bag".

Setting the mass higher would make te vehicle more resistant to changes in direction/speed too. Try putting wheels on the Enterprise.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Post Reply