| i3670   Posting Freak
 
 Posts: 1,308
 Threads: 74
 Joined: Oct 2011
 Reputation: 
36
 | 
			| Sneakers and dressed 
 
				Is it just me or is it a lot more finicky to script now? I've been trying to use the 
 Player_SetFootWear("sneaker");
 Player_SetClothing("dressed");
 
 in my map, which is directly copied from the 00_01apartment map but it is just coming up with errors and "sneaker"/"dressed" can't be found anywhere else in the original script.
 
 ERR Message:
 Arlington_Concept.hps (78, 2): ERR : No matching signatures to 'Player_SetFootWear(tString)'
 
 
				
(This post was last modified: 03-26-2016, 11:46 PM by i3670.)
 |  | 
	| 03-26-2016, 11:46 PM |  | 
	
		| Abion47   Senior Member
 
 Posts: 369
 Threads: 22
 Joined: Oct 2015
 Reputation: 
46
 | 
			| RE: Sneakers and dressed 
 
				Do you have the line    #include "helpers/helper_player.hps"    at the top of your map's script file?
			 |  | 
	| 03-27-2016, 12:18 AM |  | 
	
		| i3670   Posting Freak
 
 Posts: 1,308
 Threads: 74
 Joined: Oct 2011
 Reputation: 
36
 | 
			| RE: Sneakers and dressed 
 
				Hmm, I didn't but now that I've added it there's no footstep or clothing sound at all.
			 
 |  | 
	| 03-27-2016, 12:41 AM |  | 
	
		| Abion47   Senior Member
 
 Posts: 369
 Threads: 22
 Joined: Oct 2015
 Reputation: 
46
 | 
			| RE: Sneakers and dressed 
 
				Have you set a soundscape for your environment? It's a bit of a guess, but looking at the sound files the sneaker footstep sounds only have settings for small_room, medium_room, and forest. It could also have something to do with the material for the floor in the apartment room. The livingroom_wood_tiling material that the floor plane uses in the apartment map is set to have a physics material of wood laminate, so that might have something to do with it as well.
			 |  | 
	| 03-27-2016, 01:05 AM |  | 
	
		| i3670   Posting Freak
 
 Posts: 1,308
 Threads: 74
 Joined: Oct 2011
 Reputation: 
36
 | 
			| RE: Sneakers and dressed 
 
				Yup, added a soundscape and now it works, thank you.
			 
 |  | 
	| 03-27-2016, 01:28 AM |  |