gametechmods
Robot Arena => General Support => Topic started by: Naryar on July 06, 2010, 03:45:13 AM
-
How do you exactly make a tread locked motor departing from a normal motor gmf ? I would like a locked 2-mag for a further version of NAR AI.
-
Is there an evident difference between both .txt files? Couldn't be bothered to check right now. If not, it's probably in the GMF.
-
Its in the GMF itself (dont ask me where though) just because I know you can set a heap of axle settings in 3DSM (like limits, etc)
I had a quick look but cannot find anything self explanatory to be what your after
Edit: also wrong section Nary =P
-
In the CONSTRAINTSOLVER section of the GMF, all you have to do is set this:
*IS_LIMITED 0
*FRICTION 0.000000
*ANGLE_LIMITS -1.570796 1.570796
to this:
*IS_LIMITED 1
*FRICTION 0.000000
*ANGLE_LIMITS 1.570000 1.570796
By setting the angle limits so close, you are preventing it from turning. This works because RA2 is only looking at the power values (given in the TXT) when calculating wheel movement. Although it isn't necessary, you may also want to increase torque and decrease speed on your edited 2-mag (so that the treads seem more realistic).
-
In the CONSTRAINTSOLVER section of the GMF, all you have to do is set this:
*IS_LIMITED 0
*FRICTION 0.000000
*ANGLE_LIMITS -1.570796 1.570796
to this:
*IS_LIMITED 1
*FRICTION 0.000000
*ANGLE_LIMITS 1.570000 1.570796
By setting the angle limits so close, you are preventing it from turning. This works because RA2 is only looking at the power values (given in the TXT) when calculating wheel movement.
So easy.... Thanks
you may also want to increase torque and decrease speed on your edited 2-mag (so that the treads seem more realistic).
Heh. I already have a drive 2-mag (i think it has 55 torque). I'll edit that one.
-
Well, that's something new for me. I'll have to remember that!