Crouching with skins
Moderator: Graf Zahl
- 
				Enjay
														 - Developer

 - Posts: 4759
 - Joined: Tue Aug 30, 2005 23:19
 - Location: Scotland
 
Before skin support was added, crouching would not only make you switch to the marine when crouched, you would stay as the marine when you stood up again - however, when you went to the player setup menu, your chosen skin would still appear in the preview.  All seemed good in 1.0.14 when I was using it last night though.
			
			
									
						
										
						- 
				Graf Zahl
														 - GZDoom Developer

 - Posts: 7148
 - Joined: Wed Jul 20, 2005 9:48
 - Location: Germany
 
- 
				Cutmanmike
														 - Posts: 482
 - Joined: Sat Sep 03, 2005 23:34
 
- 
				Graf Zahl
														 - GZDoom Developer

 - Posts: 7148
 - Joined: Wed Jul 20, 2005 9:48
 - Location: Germany
 
- 
				Enjay
														 - Developer

 - Posts: 4759
 - Joined: Tue Aug 30, 2005 23:19
 - Location: Scotland
 
What was the bug?  I didn't know there was one, but I thought it could be the kind of thing that could trip stuff up, so last night I tried various combinations of skin changing: sometimes crouched, then standing up and I didn't notice any problems.  I was able to change skin whilst crouched and have the new skin still correctly applied after I stood up.
			
			
									
						
										
						- 
				Cutmanmike
														 - Posts: 482
 - Joined: Sat Sep 03, 2005 23:34
 
- 
				Enjay
														 - Developer

 - Posts: 4759
 - Joined: Tue Aug 30, 2005 23:19
 - Location: Scotland
 
- 
				Cutmanmike
														 - Posts: 482
 - Joined: Sat Sep 03, 2005 23:34
 
- 
				Graf Zahl
														 - GZDoom Developer

 - Posts: 7148
 - Joined: Wed Jul 20, 2005 9:48
 - Location: Germany
 
- 
				Cutmanmike
														 - Posts: 482
 - Joined: Sat Sep 03, 2005 23:34
 
- 
				Cutmanmike
														 - Posts: 482
 - Joined: Sat Sep 03, 2005 23:34
 
Two more things:
1) It isn't working for my skin. What's wrong with it? Am I missing some frames or what?
http://gothic.34sp.com/CUTSKIN.zip
2) If you hold crouch and jump the screen goes VERY jerky.
			
			
									
						
										
						1) It isn't working for my skin. What's wrong with it? Am I missing some frames or what?
http://gothic.34sp.com/CUTSKIN.zip
2) If you hold crouch and jump the screen goes VERY jerky.
- 
				Enjay
														 - Developer

 - Posts: 4759
 - Joined: Tue Aug 30, 2005 23:19
 - Location: Scotland
 
When you say "not working" how do you mean.  Your crouch sprites don't show up at all?  Here's one of my S_SKIN entries
The standing skin uses a full set of replacements with sprite name BEE2XXXX and the crouch is BEC2XXXX.  The standing sprite has a full 8 angles wheras the crouch doubles up angles 2&8, 3&7 and 4&6.  I have 3 other skins with more or less the same setup and all work.
[edit]OK, forget that, you hadn't linked to the skin when I started typing. The problem is your crouch sprites come before the S_SKIN entry in the WAD. The sprites for the skin need to come after that entry. Move it to the start of the WAD file and it works.[/edit]
			
			
									
						
										
						Code: Select all
name = BGPA_2 
sprite = bee2
crouchsprite = bec2[edit]OK, forget that, you hadn't linked to the skin when I started typing. The problem is your crouch sprites come before the S_SKIN entry in the WAD. The sprites for the skin need to come after that entry. Move it to the start of the WAD file and it works.[/edit]