Worms 4 and Ultimate Mayhem tweaking mods
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Attachments Tweaking

2 posters

Go down

Attachments Tweaking Empty Attachments Tweaking

Post by Dzani Sat Feb 06, 2010 11:56 pm

Another tweak : )
I'll learn you to use the Folder Tweak WormAttachments.xml.

Firstly, this folder is used to change the clothes of Worms ranging from sunglasses to whiskers.

When you open it with Notepad, This looks like this:

Code:
<?xml version='1.0' ?>
<xomArchive>
<xomObjects>
<XDataBank id='id-0'>
<Section>0</Section>
<ContainerResources href='WXFE.A.Glasses.3D'/>
<ContainerResources href='WXFE.A.Glasses.Elvis'/>
<ContainerResources href='WXFE.A.Glasses.Elvis.Bk'/>
<ContainerResources href='WXFE.A.Glasses.Elvis.R'/>
<ContainerResources href='WXFE.A.Glasses.Elvis.S'/>
.....
This is the beginning of the Clothes list with their name and
Category.
C1: = Glasses
C2: = Gloves
C3: Hat = Hat
C4: Mustache = Moustache

Go to line you want to modify.

Each Glasses, Hats & Mustaches have several versions (EXCEPT GLOVES):
Code:
<XContainerResourceDetails id='WXFE.A.Hat.Builder'>
<WXFE_WormAttachments id='WXFE.A.Hat.Builder-0'>
<WXFE_AttachmentOffsets id='WXFE.A.Hat.Builder-1'>
<WXFE_AttachmentOffsets id='WXFE.A.Hat.Builder-2'>
<WXFE_AttachmentOffsets id='WXFE.A.Hat.Builder-3'>
<WXFE_AttachmentOffsets id='WXFE.A.Hat.Builder-4'>
The Helmet of Worker EG has 4 versions.
When you scroll a hat on the Worm, it appears in different positions, each position corresponds to 1 VERSION.

Line Builder Hat-0 'Party does not like the other inhabitants and is used to determine I think the name and other properties not too important.

What interests us is this:

Code:
</WXFE_WormAttachments>
<WXFE_AttachmentOffsets id='WXFE.A.Hat.Builder-2'>
<PositionOffset x='-0.27' y='-1.2' z='-1.4' />
<OrientationOffset x='-0.2' y='0' z='0.2' />
<ScaleOffset x='1' y='1' z='1' />
</WXFE_AttachmentOffsets>
PositionOffset = Position on the Worm
OrientationOffset = Horizontal and Vertical Tilt
ScaleOffset = Dimensions

To Amend HELMET Replace by Example:
Code:
<PositionOffset x='-0.27' y='-1.2' z='-1.4' />
<OrientationOffset x='-0.2' y='0' z='0.2' />
<ScaleOffset x='1' y='1' z='1' />


And add this:
Code:
<PositionOffset x='-0.27' y='-1.2' z='-1.4' />
<OrientationOffset x='-0.2' y='0' z='0.2' />
<ScaleOffset x='4' y='4' z='4' />

Attachments Tweaking Worms410
Dzani
Dzani
Admin
Admin

Posts : 575
Activity Points : 953
Reputation : 87
Join date : 2008-01-10

https://worms4mayhem.forumotion.com

Back to top Go down

Attachments Tweaking Empty Re: Attachments Tweaking

Post by Midboy Thu May 27, 2010 4:09 pm

funny
Midboy
Midboy
Standard Member

Posts : 44
Activity Points : 52
Reputation : 0
Join date : 2010-05-23
Age : 31

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum