Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sneakers and dressed
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#1
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)'

"What you think is irrelevant" - A character of our time

A Christmas Hunt
(This post was last modified: 03-26-2016, 11:46 PM by i3670.)
03-26-2016, 11:46 PM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#2
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
Find
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#3
RE: Sneakers and dressed

Hmm, I didn't but now that I've added it there's no footstep or clothing sound at all.

"What you think is irrelevant" - A character of our time

A Christmas Hunt
03-27-2016, 12:41 AM
Find
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#4
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
Find
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#5
RE: Sneakers and dressed

Yup, added a soundscape and now it works, thank you.

"What you think is irrelevant" - A character of our time

A Christmas Hunt
03-27-2016, 01:28 AM
Find




Users browsing this thread: 2 Guest(s)