The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Explosions!
Twitchez Offline
Member

Posts: 67
Threads: 17
Joined: Mar 2012
Reputation: 1
#1
Explosions!

Hey Dear Forum members Idea

Today, I've been tweaking an explosion effect I've been developing. So far, I'm liking the effects, but I wanted to make it autentic by making the player fly backwards and hitting a wall!


But something that bothers me is my function: AddBodyForce("Player", -21.238f, 2.0f, -25.407f, "world");
is supposed to send the player to coordinates -21.238, 2.0 (for height) and -25.407 and I followed the tutorial on http://wiki.frictionalgames.com/hpl2/tut...ript/force . But when I call it, nothing happends? Is there a way to just send the player backwards until a wall hits him? Maybe with a script area that will stop him Smile ?


The second thing is, how the heck do I turn off FadeSepiaColorTo(3,0.2f); once I called it Huh ?


Kind Regards,

//Twitchez
(This post was last modified: 04-15-2012, 09:32 PM by Twitchez.)
04-15-2012, 09:32 PM
Find


Messages In This Thread
Explosions! - by Twitchez - 04-15-2012, 09:32 PM
RE: Explosions! - by SilentStriker - 04-15-2012, 09:36 PM
RE: Explosions! - by Twitchez - 04-15-2012, 09:39 PM
RE: Explosions! - by SilentStriker - 04-15-2012, 09:52 PM
RE: Explosions! - by Twitchez - 04-15-2012, 10:09 PM
RE: Explosions! - by Your Computer - 04-15-2012, 10:19 PM
RE: Explosions! - by palistov - 04-15-2012, 10:25 PM
RE: Explosions! - by Twitchez - 04-15-2012, 10:49 PM
RE: Explosions! - by DRedshot - 04-15-2012, 10:58 PM
RE: Explosions! - by Twitchez - 04-15-2012, 11:03 PM



Users browsing this thread: 1 Guest(s)