mirror of
				https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
				synced 2024-08-15 00:43:45 +00:00 
			
		
		
		
	added some offsets for animations
This commit is contained in:
		
							parent
							
								
									72a2566e9e
								
							
						
					
					
						commit
						1419a57f30
					
				
					 6 changed files with 65 additions and 28 deletions
				
			
		| 
						 | 
					@ -99,8 +99,8 @@
 | 
				
			||||||
			-->
 | 
								-->
 | 
				
			||||||
		</contexts>
 | 
							</contexts>
 | 
				
			||||||
		<offsetDefs>
 | 
							<offsetDefs>
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li> <!-- first pawn in animation -->
 | 
								<li>Offset_Placeholder</li> <!-- first pawn in animation -->
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li> <!-- second pawn in animation -->
 | 
								<li>Offset_Cowgirl_Top</li> <!-- second pawn in animation -->
 | 
				
			||||||
		</offsetDefs>
 | 
							</offsetDefs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	</Rimworld_Animations.GroupAnimationDef>
 | 
						</Rimworld_Animations.GroupAnimationDef>
 | 
				
			||||||
| 
						 | 
					@ -125,10 +125,8 @@
 | 
				
			||||||
		</animationStages>
 | 
							</animationStages>
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		<offsetDefs>
 | 
							<offsetDefs>
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
								<li>Offset_Placeholder</li> <!-- first pawn in animation -->
 | 
				
			||||||
			<!-- first pawn in animation -->
 | 
								<li>Offset_Cowgirl_Top</li> <!-- second pawn in animation -->
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
					 | 
				
			||||||
			<!-- second pawn in animation -->
 | 
					 | 
				
			||||||
		</offsetDefs>
 | 
							</offsetDefs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	</Rimworld_Animations.GroupAnimationDef>
 | 
						</Rimworld_Animations.GroupAnimationDef>
 | 
				
			||||||
| 
						 | 
					@ -153,10 +151,8 @@
 | 
				
			||||||
		</animationStages>
 | 
							</animationStages>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<offsetDefs>
 | 
							<offsetDefs>
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
								<li>Offset_Placeholder</li> <!-- first pawn in animation -->
 | 
				
			||||||
			<!-- first pawn in animation -->
 | 
								<li>Offset_Cowgirl_Top</li> <!-- second pawn in animation -->
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
					 | 
				
			||||||
			<!-- second pawn in animation -->
 | 
					 | 
				
			||||||
		</offsetDefs>
 | 
							</offsetDefs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	</Rimworld_Animations.GroupAnimationDef>
 | 
						</Rimworld_Animations.GroupAnimationDef>
 | 
				
			||||||
| 
						 | 
					@ -181,10 +177,8 @@
 | 
				
			||||||
		</animationStages>
 | 
							</animationStages>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<offsetDefs>
 | 
							<offsetDefs>
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
								<li>Offset_Placeholder</li> <!-- first pawn in animation -->
 | 
				
			||||||
			<!-- first pawn in animation -->
 | 
								<li>Offset_Cowgirl_Top</li> <!-- second pawn in animation -->
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
					 | 
				
			||||||
			<!-- second pawn in animation -->
 | 
					 | 
				
			||||||
		</offsetDefs>
 | 
							</offsetDefs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	</Rimworld_Animations.GroupAnimationDef>
 | 
						</Rimworld_Animations.GroupAnimationDef>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										18
									
								
								1.5/Defs/AnimationDefs/Cowgirl/OffsetDef_Cowgirl.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								1.5/Defs/AnimationDefs/Cowgirl/OffsetDef_Cowgirl.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,18 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8" ?> 
 | 
				
			||||||
 | 
					<Defs>
 | 
				
			||||||
 | 
						<Rimworld_Animations.AnimationOffsetDef>
 | 
				
			||||||
 | 
							<defName>Offset_Cowgirl_Top</defName>
 | 
				
			||||||
 | 
							<offsets>
 | 
				
			||||||
 | 
								<li Class="Rimworld_Animations.AnimationOffset_BodyType">
 | 
				
			||||||
 | 
									<races>
 | 
				
			||||||
 | 
										<li>Human</li>
 | 
				
			||||||
 | 
									</races>
 | 
				
			||||||
 | 
									<offsets>
 | 
				
			||||||
 | 
										<li><bodyType>Thin</bodyType><offset>(0, 0, -0.05)</offset></li>
 | 
				
			||||||
 | 
										<li><bodyType>Female</bodyType><offset>(0, 0, 0)</offset></li>
 | 
				
			||||||
 | 
										<li><bodyType>Hulk</bodyType><offset>(0, 0, 0.15)</offset></li>
 | 
				
			||||||
 | 
									</offsets>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</offsets>
 | 
				
			||||||
 | 
						</Rimworld_Animations.AnimationOffsetDef>
 | 
				
			||||||
 | 
					</Defs>
 | 
				
			||||||
| 
						 | 
					@ -114,8 +114,8 @@
 | 
				
			||||||
			-->
 | 
								-->
 | 
				
			||||||
		</contexts>
 | 
							</contexts>
 | 
				
			||||||
		<offsetDefs>
 | 
							<offsetDefs>
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li> <!-- first pawn in animation -->
 | 
								<li>Offset_Placeholder</li> <!-- first pawn in animation -->
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li> <!-- second pawn in animation -->
 | 
								<li>Offset_Missionary_Female</li> <!-- second pawn in animation -->
 | 
				
			||||||
		</offsetDefs>
 | 
							</offsetDefs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	</Rimworld_Animations.GroupAnimationDef>
 | 
						</Rimworld_Animations.GroupAnimationDef>
 | 
				
			||||||
| 
						 | 
					@ -140,10 +140,8 @@
 | 
				
			||||||
		</animationStages>
 | 
							</animationStages>
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		<offsetDefs>
 | 
							<offsetDefs>
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
								<li>Offset_Placeholder</li> <!-- first pawn in animation -->
 | 
				
			||||||
			<!-- first pawn in animation -->
 | 
								<li>Offset_Missionary_Female</li> <!-- second pawn in animation -->
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
					 | 
				
			||||||
			<!-- second pawn in animation -->
 | 
					 | 
				
			||||||
		</offsetDefs>
 | 
							</offsetDefs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	</Rimworld_Animations.GroupAnimationDef>
 | 
						</Rimworld_Animations.GroupAnimationDef>
 | 
				
			||||||
| 
						 | 
					@ -168,10 +166,8 @@
 | 
				
			||||||
		</animationStages>
 | 
							</animationStages>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<offsetDefs>
 | 
							<offsetDefs>
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
								<li>Offset_Placeholder</li> <!-- first pawn in animation -->
 | 
				
			||||||
			<!-- first pawn in animation -->
 | 
								<li>Offset_Missionary_Female</li> <!-- second pawn in animation -->
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
					 | 
				
			||||||
			<!-- second pawn in animation -->
 | 
					 | 
				
			||||||
		</offsetDefs>
 | 
							</offsetDefs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	</Rimworld_Animations.GroupAnimationDef>
 | 
						</Rimworld_Animations.GroupAnimationDef>
 | 
				
			||||||
| 
						 | 
					@ -196,10 +192,8 @@
 | 
				
			||||||
		</animationStages>
 | 
							</animationStages>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<offsetDefs>
 | 
							<offsetDefs>
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
								<li>Offset_Placeholder</li> <!-- first pawn in animation -->
 | 
				
			||||||
			<!-- first pawn in animation -->
 | 
								<li>Offset_Missionary_Female</li> <!-- second pawn in animation -->
 | 
				
			||||||
			<li>GroinToAppropriateHeight</li>
 | 
					 | 
				
			||||||
			<!-- second pawn in animation -->
 | 
					 | 
				
			||||||
		</offsetDefs>
 | 
							</offsetDefs>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	</Rimworld_Animations.GroupAnimationDef>
 | 
						</Rimworld_Animations.GroupAnimationDef>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										18
									
								
								1.5/Defs/AnimationDefs/Missionary/OffsetDef_Missionary.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								1.5/Defs/AnimationDefs/Missionary/OffsetDef_Missionary.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,18 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8" ?>
 | 
				
			||||||
 | 
					<Defs>
 | 
				
			||||||
 | 
						<Rimworld_Animations.AnimationOffsetDef>
 | 
				
			||||||
 | 
							<defName>Offset_Missionary_Female</defName>
 | 
				
			||||||
 | 
							<offsets>
 | 
				
			||||||
 | 
								<li Class="Rimworld_Animations.AnimationOffset_BodyType">
 | 
				
			||||||
 | 
									<races>
 | 
				
			||||||
 | 
										<li>Human</li>
 | 
				
			||||||
 | 
									</races>
 | 
				
			||||||
 | 
									<offsets>
 | 
				
			||||||
 | 
										<li><bodyType>Thin</bodyType><offset>(-0.1, 0, 0.05)</offset></li>
 | 
				
			||||||
 | 
										<li><bodyType>Female</bodyType><offset>(0, 0, 0)</offset></li>
 | 
				
			||||||
 | 
										<li><bodyType>Hulk</bodyType><offset>(0.1, 0, 0.1)</offset></li>
 | 
				
			||||||
 | 
									</offsets>
 | 
				
			||||||
 | 
								</li>
 | 
				
			||||||
 | 
							</offsets>
 | 
				
			||||||
 | 
						</Rimworld_Animations.AnimationOffsetDef>
 | 
				
			||||||
 | 
					</Defs>
 | 
				
			||||||
							
								
								
									
										10
									
								
								1.5/Defs/OffsetDefs/OffsetDef_Placeholder.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								1.5/Defs/OffsetDefs/OffsetDef_Placeholder.xml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,10 @@
 | 
				
			||||||
 | 
					<?xml version="1.0" encoding="utf-8" ?>
 | 
				
			||||||
 | 
					<Defs>
 | 
				
			||||||
 | 
						<Rimworld_Animations.AnimationOffsetDef>
 | 
				
			||||||
 | 
							<!-- Empty offsets -->
 | 
				
			||||||
 | 
							<!-- Placeholder for when you haven't created offsets yet for specific pawn -->
 | 
				
			||||||
 | 
							<defName>Offset_Placeholder</defName>
 | 
				
			||||||
 | 
							<offsets>
 | 
				
			||||||
 | 
							</offsets>
 | 
				
			||||||
 | 
						</Rimworld_Animations.AnimationOffsetDef>
 | 
				
			||||||
 | 
					</Defs>
 | 
				
			||||||
| 
						 | 
					@ -149,7 +149,9 @@
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\Cowgirl\Cowgirl_Stage4.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Cowgirl\Cowgirl_Stage4.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\Cowgirl\Cowgirl_Stage_1_5.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Cowgirl\Cowgirl_Stage_1_5.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\Cowgirl\GroupAnimation_Cowgirl.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Cowgirl\GroupAnimation_Cowgirl.xml" />
 | 
				
			||||||
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Cowgirl\OffsetDef_Cowgirl.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\Missionary\GroupAnimation_Missionary.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Missionary\GroupAnimation_Missionary.xml" />
 | 
				
			||||||
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Missionary\OffsetDef_Missionary.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage1.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage1.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage2.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage2.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage2b.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage2b.xml" />
 | 
				
			||||||
| 
						 | 
					@ -158,6 +160,7 @@
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage4.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage4.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage5.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage5.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage6.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\Missionary\Stage6.xml" />
 | 
				
			||||||
 | 
					    <Content Include="1.5\Defs\OffsetDefs\OffsetDef_Placeholder.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\TexPathVariantsDefs\TexPathVariants_XrayPenis_Human.xml" />
 | 
					    <Content Include="1.5\Defs\TexPathVariantsDefs\TexPathVariants_XrayPenis_Human.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\TestAnimation1.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\TestAnimation1.xml" />
 | 
				
			||||||
    <Content Include="1.5\Defs\AnimationDefs\TestAnimation2.xml" />
 | 
					    <Content Include="1.5\Defs\AnimationDefs\TestAnimation2.xml" />
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue