Author Topic: [XP] Terrain Step Sound  (Read 19078 times)

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
[XP] Terrain Step Sound
« on: April 27, 2011, 02:42:09 AM »
Terrain Step Sound
Authors: game_guy
Version: 1.2
Type: Environment Add-on
Key Term: Environment Add-on

Introduction

Create nice aesthetics with terrain noise. As you walk across grass or sand, let it play a beautiful noise to add to the atmosphere and realism of the game.

Features

  • Specific Sound for Each Terrain
  • Specific Sounds for Each Tileset
  • Specify Volume and Pitch
  • Specify an array of sounds to allow multiple sounds per terrain

Screenshots

N/A
Screenshots can't produce sound.

Demo

N/A
Links can't produce sound either.

Script

(click to show/hide)

Instructions

In script.

Compatibility

Not tested with SDK.

Credits and Thanks

  • game_guy ~ For creating it
  • Tuggernuts ~ For requesting it a long time ago
  • Sase ~ For also requeseting it

Author's Notes

Enjoy!
« Last Edit: July 16, 2012, 12:47:03 AM by game_guy »

Offline Cid

  • Awakened Visionist
  • **
  • Posts: 90
  • LV: 6
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #1 on: April 27, 2011, 10:32:53 AM »
Is there a way to specify the volume and pitch of each sound effect?

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #2 on: April 27, 2011, 02:47:32 PM »
*Updates*

Now at 1.1, you can now specify volume and pitch for each terrain.

Offline Cid

  • Awakened Visionist
  • **
  • Posts: 90
  • LV: 6
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #3 on: April 27, 2011, 03:43:41 PM »
Hmm, I get this error (upon moving the character) whenever I make use of the volume/pitch adjuster:

Quote
Script 'Terrain Sound' line 90: TypeError occured.
cannot convert nil into String

Have I missed something during set-up?

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #4 on: April 27, 2011, 11:25:31 PM »
Fixed. Simple typo, sorry. >.<

Offline Spaceman McConaughey

  • Legit Poo Poo Man
  • Lexima Warrior
  • *******
  • Posts: 2002
  • LV: 46
  • Gender: Male
  • muh murph
    • View Profile
    • Titties, titties, and more titties!
Re: [XP] Terrain Step Sound
« Reply #5 on: April 27, 2011, 11:27:35 PM »
Glad I gave the OK on this being released. It's much better now. :D

*levels up*

Offline Cid

  • Awakened Visionist
  • **
  • Posts: 90
  • LV: 6
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #6 on: April 28, 2011, 12:21:48 PM »
Perfect. Nice work, g_g.

Offline Stray

  • Transcended Spirit
  • ***
  • Posts: 130
  • LV: -1
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #7 on: September 08, 2011, 01:46:25 PM »
Is there a way to make it with 4-8 sounds for each terrain?
Because always the same sound on a terrain is very annoying. As example: If there is a big area with the same terrain.

Annoying:
http://www.2shared.com/audio/OnpreM-G/Step_H1.html

Not so annoying:
http://www.2shared.com/audio/jAtsh7UX/Step_H2.html
I'm very grateful to you all for your great help.

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #8 on: September 08, 2011, 02:17:29 PM »
Its possible. But it'd take a bit to do it. If I have the time after school today I'll try and do it.

Offline Stray

  • Transcended Spirit
  • ***
  • Posts: 130
  • LV: -1
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #9 on: September 09, 2011, 02:17:08 AM »
Oh god, thank you so much for trying it!
I'm very grateful to you all for your great help.

Offline Stray

  • Transcended Spirit
  • ***
  • Posts: 130
  • LV: -1
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #10 on: September 18, 2011, 11:42:51 PM »
I wanted to ask again...

also, is it able to make stepsounds for the npcs?
I'm very grateful to you all for your great help.

Offline Vexus

  • Ethereal Devastator
  • ****
  • Posts: 365
  • LV: 9
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #11 on: June 10, 2012, 12:31:41 PM »
Sorry for necropost but I'm having a small problem with this script.

I made a small event that makes your character move forward twice, play a sound effect and jump backwards and till there it works but when I move after the event the terrain no longer makes sounds when walking till I open/close menu or enter new map.

Anything I can do to fix it?

Also would be it too hard to have a script call that let's me change the wait for the sound so when your running the stepping sound goes faster and when your walking it goes back to what you write on the script?

Thanks
Current Project/s:

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #12 on: June 10, 2012, 06:25:38 PM »
I'll look into it Vexux. Gimme about a week. xD My to-do list is getting pretty big.

Offline Vexus

  • Ethereal Devastator
  • ****
  • Posts: 365
  • LV: 9
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #13 on: June 10, 2012, 06:57:57 PM »
Sure np.

Thanks for adding it to the to-do list :)
Current Project/s:

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #14 on: June 27, 2012, 05:58:33 PM »
Hi all im new i have rpg maker xp and this does not work for me as i make this script and do what it says whenever i choose from 0-7 it says cannot find audio/se/fs "name of sound " when in game and game shuts down.

Offline Landith

  • Astral Trancist
  • *****
  • Posts: 947
  • LV: 59
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #15 on: June 27, 2012, 11:38:40 PM »
That means you need that file in your audio folder. So whatever 'name of sound' is put it in that folder 'GAME NAME/Audio/Se/Fs/' or whatever it specifies and you won't get that error anymore.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19903
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Terrain Step Sound
« Reply #16 on: June 27, 2012, 11:46:42 PM »
Just change them in the config.

Code: [Select]
  Terrains[0] = '001-System01'
  Terrains[1] = 'fs_wood_hard1'
  Terrains[2] = 'fs_grass03'
  Terrains[3] = 'fs_stone_hoof2'
  Terrains[4] = 'as_na_grassmove2'
  Terrains[5] = 'fs_water_hard1'
  Terrains[6] = 'fs_dirt_hard1'
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #17 on: June 28, 2012, 11:53:57 AM »
Do you know where are that sounds located? i cant find them anywhere :/
sorry im noob at rpg maker xp

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #18 on: June 28, 2012, 05:20:33 PM »
In your project's folder. You place the sound effects in "Audio/SE/"

Offline toni112007

  • Trained Member
  • *
  • Posts: 20
  • LV: 0
    • View Profile
Re: [XP] Terrain Step Sound
« Reply #19 on: June 28, 2012, 05:35:44 PM »
I know that but i dont know where are these sound located
001-System01
fs_wood_hard1
fs_grass03
fs_stone_hoof2
as_na_grassmove2
fs_water_hard1
fs_dirt_hard1

I found only 001-system01,but i dont have others where can i get them?