Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline LordOfTadhg  
#1 Posted : Tuesday, October 5, 2021 5:16:23 PM(UTC)
LordOfTadhg
Private
Joined: 10/5/2021(UTC)
Posts: 1

What I'm hoping to do is be able to change the turret on a tank. For example, change the battlemaster turret to the technical gunner. Or the quad cannon turret to the scorpion tank turret. Can this be done in the ini files or do I need to create a new model? Are there any existing tutorials about doing this?

Thank you!

Edited by user Tuesday, October 5, 2021 5:16:57 PM(UTC)  | Reason: Not specified

Sponsor
Offline beng  
#2 Posted : Saturday, November 6, 2021 4:55:44 AM(UTC)
beng
Captain
Joined: 4/8/2009(UTC)
Posts: 57
Location: In a house

Thanks: 5 times
Was thanked: 5 time(s) in 3 post(s)
Originally Posted by: LordOfTadhg Go to Quoted Post
What I'm hoping to do is be able to change the turret on a tank. For example, change the battlemaster turret to the technical gunner. Or the quad cannon turret to the scorpion tank turret. Can this be done in the ini files or do I need to create a new model? Are there any existing tutorials about doing this?

Thank you!


You can to a limited extent change turrents in ini files by modding the draw module to hide the original turret SubObject and then add a new draw module to draw the new turret or draw the whole vehicle but hide all the subobjects except the turret. Try both just drawing the whole vehicle and hiding the body, and also attaching it to a named bone in the original model (like how technical gunner is attached to the bone in the truck model). Depending on the shape and size of the model one method might work better than the other. See the PT boat for an example of adding the technical gunner to the boat but not attaching it to the bone (unlike the technical, they did not declare the extra public bone in the boat model draw module). This is why the boat gunner is drawn half inside the floor of the boat - he is just placed at the origin rather than at the bone.

If you are doing a map.ini mod this is your only option. Far better is to create a new model.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.