#1 2020-07-30 14:57:43

Phineas1604
Player
Reputation: 0
Registered: 2017-12-11
Posts: 19
Windows 10 Chrome 84.0

Some questions about modding

I have recently learned to mod Battlefield 1942 and Battlefield Vietnam (especially creating tanks) with 3ds Max 7 and 3ds Max 2013. However, during the coding and modeling I encountered some problems:
-The gun manlet of the tank didn't rotate properly (it's didn't attach to the turret when moving up and down)
- 3ds max 7 sometimes can't import vehicles properly
- I don't know how to calculate (coding) vehicle speed
- What is the differences between x/y/z in some to bf1942 varibles to x/y/z in 3ds max
- What is the suppose of ObjectTemplate.setRotation and how to modify it ?
- I need some more tutorials and more software due to most of them are gone by now (especially some Rex's tools and tutorials)
That are the problems I encountered for now (I think). Thank in advance smile

Offline

    0   Add Reputation to this user  Remove Reputation from this user

#2 2020-07-30 21:57:27

ziba128
Member
Reputation: 281
Location: HoHa_MG42_PCO1
Registered: 2012-10-14
Posts: 1,127
Website
Windows 10 Firefox 79.0

Re: Some questions about modding

Phineas1604 wrote:

-The gun manlet of the tank didn't rotate properly (it's didn't attach to the turret when moving up and down)

There is some mistake in its description in objects.con, compare yours with some working one (Sherman, for example).

Phineas1604 wrote:

- 3ds max 7 sometimes can't import vehicles properly

When?

Phineas1604 wrote:

- I don't know how to calculate (coding) vehicle speed

As I wrote 2 years ago,

ziba128 wrote:

No one knows. I think the only option is trial and error. You can use a debugger to change vehicle's torque and differential on the fly to observe changes.

However, there is some hypothesis: http://bfmods.com/tutorialeded.php?page … mance.html

Phineas1604 wrote:

- What is the differences between x/y/z in some to bf1942 varibles to x/y/z in 3ds max

In BF1942 it's x/z/y. Also, by default imported meshes are shown 10 times bigger than they really are.

Phineas1604 wrote:

- What is the suppose of ObjectTemplate.setRotation and how to modify it ?

http://bfmods.com/mdt/scripting/ObjectT … ation.html

Phineas1604 wrote:

- I need some more tutorials and more software due to most of them are gone by now (especially some Rex's tools and tutorials)

Write here which ones, I'll check if I have them

Offline

    +1   Add Reputation to this user  Remove Reputation from this user

#3 2020-07-30 23:31:16

{Phantom}
Player
Reputation: 44
Registered: 2016-08-09
Posts: 152
Windows 10 Chrome 84.0

Re: Some questions about modding

might check www.bfmods.com for an answer.

Offline

    +1   Add Reputation to this user  Remove Reputation from this user

#4 2020-07-31 05:18:27

Phineas1604
Player
Reputation: 0
Registered: 2017-12-11
Posts: 19
Windows 10 Chrome 84.0

Re: Some questions about modding

Phineas1604 wrote:

-The gun manlet of the tank didn't rotate properly (it's didn't attach to the turret when moving up and down)

I have checked and the manlet only have ObjectTemplate.setRotation and ObjectTemplate.setPosition. I have modify them and even delete
ObjectTemplate.setRotation but it's still the same

Phineas1604 wrote:

- 3ds max 7 sometimes can't import vehicles properly

In some cases, 3ds max 7 just won't load the mesh

Phineas1604 wrote:

- What is the suppose of ObjectTemplate.setRotation and how to modify it ?

Yes but in some cases I still can't not understand what it's job is (example: the barrel of the sherman has ObjectTemplate.setRotation -179/0/0 or the gun manlet when you delete ObjectTemplate.setRotation it's still working like normal)

Phineas1604 wrote:

- I need some more tutorials and more software due to most of them are gone by now (especially some Rex's tools and tutorials)

Some people said Rex had some very useful tutorials and tools. I need some tutorials about creating vehicles and some tools that releate with it (i think)
And also thanks for helping me smile

Offline

    0   Add Reputation to this user  Remove Reputation from this user

#5 2020-07-31 06:47:58

henk
Member
Netherlands
Reputation: 42
Registered: 2018-07-07
Posts: 71
Windows 10 Chrome 84.0

Re: Some questions about modding

ObjectTemplate.setRotation -179/0/0
^
this makes the orientation of the barrel compared to its parent ObjectTemplate -179 degrees.
This is equal to +- 180 degrees. This makes it point backwards compared to its parent

Offline

    +1   Add Reputation to this user  Remove Reputation from this user

Board footer