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
Script Help (again)
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#2
RE: Script Help (again)

For the sound remember this : "asSoundFile - the sound to use + extension .snt"

So you're missing .snt extention. Also verify if that's the correct filename and that it has a SNT file(required for 3D audio details).

For the particles remember this : "asPSFile - the particle system to use + extension .ps"

Also verify the filename.

So of the filenames you used are correct(IT IS a file name, not the name of something in the script) it should look like:

PHP Code: (Select All)
void ActivateQuake(string &in item)
{

    
SetEntityActive("stone_small01_1"true);
    
SetEntityActive("stone_small01_2"true);
    
SetEntityActive("stone_small01_3"true);
    
SetEntityActive("stone_med01_brown_1"false);
    
PlayMusic("baseap.ogg"false0.70.110false);
    
PlaySoundAtEntity("","general_rock_rumble.snt""Player"0true);
    
CreateParticleSystemAtEntity("""ps_debris_tunnel.ps""dust_effect_1"false);
    
CreateParticleSystemAtEntity("""ps_debris_tunnel.ps""dust_effect_2"false);
    
CreateParticleSystemAtEntity("""ps_debris_tunnel.ps""dust_effect_3"false);
    
AddTimer("T1"6"Fallin");



Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
(This post was last modified: 04-13-2012, 10:32 PM by nemesis567.)
04-13-2012, 10:30 PM
Find


Messages In This Thread
Script Help (again) - by Nomad923 - 04-13-2012, 10:20 PM
RE: Script Help (again) - by nemesis567 - 04-13-2012, 10:30 PM
RE: Script Help (again) - by Nomad923 - 04-13-2012, 10:39 PM
RE: Script Help (again) - by Putmalk - 04-13-2012, 10:47 PM
RE: Script Help (again) - by nemesis567 - 04-13-2012, 11:00 PM
RE: Script Help (again) - by Putmalk - 04-13-2012, 11:22 PM



Users browsing this thread: 1 Guest(s)