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
In Soviet Russia: You kill monster!
Karai16 Offline
Member

Posts: 164
Threads: 24
Joined: Apr 2011
Reputation: 0
#1
In Soviet Russia: You kill monster!

Here it is! I've programmed a small map to see if you can 'kill' a monster! this is the result: Soviet Russia: Kill a monster

Custom stories:
Her Games (100% Complete)
Her Games, All Bugs Fixed (100% Complete)
05-15-2011, 02:12 AM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: In Soviet Russia: You kill monster!

Pretty good demonstration.

But, to be honest, I can easily do that. :/

Just have a collide callback. :p

void OnStart()
{
     AddEntityCollideCallback("Monster", "Barrel", "Func01", true, 1);
}
void Func01(string &in asParent, string &in asChild, int alState)
{
     FadeEnemyToSmoke('Monster", true);
}

05-15-2011, 02:25 AM
Find
Russ Money Offline
Senior Member

Posts: 360
Threads: 25
Joined: Dec 2010
Reputation: 4
#3
RE: In Soviet Russia: You kill monster!

(05-15-2011, 02:12 AM)Karai16 Wrote: Here it is! I've programmed a small map to see if you can 'kill' a monster! this is the result: Soviet Russia: Kill a monster

Instead of the monster vanishing, you could have it deactivate, then activate a grunt ragdoll by Bigzy where the grunt was.

Then of course, add some monster death sound to the event.

05-15-2011, 02:26 AM
Find
Karai16 Offline
Member

Posts: 164
Threads: 24
Joined: Apr 2011
Reputation: 0
#4
RE: In Soviet Russia: You kill monster!

I never said it was hard... it's just nobody has ever done it... which surprises me, to be fair...

Custom stories:
Her Games (100% Complete)
Her Games, All Bugs Fixed (100% Complete)
05-15-2011, 02:28 AM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#5
RE: In Soviet Russia: You kill monster!

(05-15-2011, 02:26 AM)Russ Money Wrote: Instead of the monster vanishing, you could have it deactivate, then activate a grunt ragdoll by Bigzy where the grunt was.

Then of course, add some monster death sound to the event.

I could script it to where the player throws a knife at the monster causing the monster to be deactivated and then replaced with ragdoll then having a prop on prop connect with the knife in the ragdoll. Never tried it, but some day I will... :p
(05-15-2011, 02:28 AM)Karai16 Wrote: I never said it was hard... it's just nobody has ever done it... which surprises me, to be fair...

I actually seen people do it before. :p

(This post was last modified: 05-15-2011, 02:30 AM by Kyle.)
05-15-2011, 02:30 AM
Find
Brennenburg Offline
Member

Posts: 206
Threads: 9
Joined: Feb 2011
Reputation: 0
#6
RE: In Soviet Russia: You kill monster!

Nice video.

[Image: TRcp2.png]
05-15-2011, 03:32 AM
Find
Exostalker Offline
Member

Posts: 204
Threads: 10
Joined: Aug 2010
Reputation: 3
#7
RE: In Soviet Russia: You kill monster!

Very nice!

I haven't seen it done before either, so yeah, good job there! Smile

05-15-2011, 09:12 AM
Find
Karai16 Offline
Member

Posts: 164
Threads: 24
Joined: Apr 2011
Reputation: 0
#8
RE: In Soviet Russia: You kill monster!

ferryadams was curious about the script so here you go: it's very simple, you make an AddEntityCollideCallback between the barrel and the monster:
void OnStart()
{
    AddEntityCollideCallback("Barrel", "servant_grunt_1", "poof", true, 1);
}

void poof(string &in asParent , string &in asChild , int alState)
{
    FadeEnemyToSmoke("servant_grunt_1", false);
}

Custom stories:
Her Games (100% Complete)
Her Games, All Bugs Fixed (100% Complete)
05-15-2011, 09:43 AM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#9
RE: In Soviet Russia: You kill monster!

(05-15-2011, 09:43 AM)Karai16 Wrote: ferryadams was curious about the script so here you go: it's very simple, you make an AddEntityCollideCallback between the barrel and the monster:
void OnStart()
{
    AddEntityCollideCallback("Barrel", "servant_grunt_1", "poof", true, 1);
}

void poof(string &in asParent , string &in asChild , int alState)
{
    FadeEnemyToSmoke("servant_grunt_1", false);
}

Wtf? Why are you posting almost exactly what I posted? What's the point?

05-15-2011, 03:40 PM
Find
Anxt Offline
Senior Member

Posts: 588
Threads: 12
Joined: Mar 2011
Reputation: 10
#10
RE: In Soviet Russia: You kill monster!

(05-15-2011, 03:40 PM)Kyle Wrote:
(05-15-2011, 09:43 AM)Karai16 Wrote: ferryadams was curious about the script so here you go: it's very simple, you make an AddEntityCollideCallback between the barrel and the monster:
void OnStart()
{
    AddEntityCollideCallback("Barrel", "servant_grunt_1", "poof", true, 1);
}

void poof(string &in asParent , string &in asChild , int alState)
{
    FadeEnemyToSmoke("servant_grunt_1", false);
}

Wtf? Why are you posting almost exactly what I posted? What's the point?

Nevermind, forget I said anything.

I guess ferryadams just didn't read the other post /shrug

(This post was last modified: 05-15-2011, 03:43 PM by Anxt.)
05-15-2011, 03:42 PM
Find




Users browsing this thread: 1 Guest(s)