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
for all the script master
GreyFox Offline
Member

Posts: 162
Threads: 23
Joined: Jul 2011
Reputation: 2
#3
RE: for all the script master

xiphirx I'm gonna help him. it's not like hes just going to keep doing it over and over. if he's a basic script writer than it's alright... (i guess) But yes Atleast attempt it next time.

This is a pretty standard version of it. I'm a very basic script writer aswell but I did it aswell. and you can tweak this all you want. and oh yea i made it so it's just a noise of a grunt (I didn't wanna search for any crawling sounds)

hopefully you'll appriacte this. but don't expect someone to do this again.

////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player", "Trigger", "CollideTrigger", true, 1);
}

void CollideTrigger(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("Noise1", "grunt/notice.snt", "castle_1", 0, false);
StartPlayerLookAt("castle_1", 5, 10, "ParticleSystem1");
AddTimer("StopLooking", 5, "StopLooking");
AddTimer("Wind", 0.5, "Wind");
}

void StopLooking(string &in asTimer)
{
StopPlayerLookAt();
}

void Wind(string &in asTimer)
{
CreateParticleSystemAtEntity("wind", "ps_dust_whirl_large.ps", "castle_1", true);
}

The Particle system isn't to great either I could get just a normal dust_push to show up so i had to use this one. If'd you like I can post a video of it in action. (rememebr the more time you spend on it the better it'll get I spent about 10 minutes on this.)

-Grey Fox

Current Project
Forgotten
(This post was last modified: 08-10-2011, 09:35 PM by GreyFox.)
08-10-2011, 09:35 PM
Find


Messages In This Thread
for all the script master - by zecuro - 08-10-2011, 09:00 PM
RE: for all the script master - by xiphirx - 08-10-2011, 09:16 PM
RE: for all the script master - by GreyFox - 08-10-2011, 09:35 PM
RE: for all the script master - by xiphirx - 08-10-2011, 09:49 PM
RE: for all the script master - by nemesis567 - 08-10-2011, 09:53 PM
RE: for all the script master - by GreyFox - 08-10-2011, 10:00 PM
RE: for all the script master - by zecuro - 08-10-2011, 10:36 PM
RE: for all the script master - by nemesis567 - 08-11-2011, 03:31 AM
RE: for all the script master - by zecuro - 08-11-2011, 03:22 PM



Users browsing this thread: 1 Guest(s)