May 23, 2012, 12:59:28 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Please report any bugs or issues that you might be encountering with the Beta in the Support System so that we can better keep track of any oustanding issues that may come up.

GameCore Support System
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: command where player dies if he falls too far down  (Read 620 times)
happymonkey73
Newbie
*
Posts: 22


View Profile
« on: July 30, 2008, 12:09:58 PM »

Hey. I feel kinda silly asking this cause I know I've changed this property before, but where's the command that states that the player dies if he falls too far down? I have a kinda low ocean, and he keeps dying when trying to dive.
Logged
pixel_legolas
Hero Member
*****
Posts: 786


View Profile
« Reply #1 on: July 30, 2008, 03:54:33 PM »

Hm, i actually could not find it either and in previous GC i know i commented out it once
Logged
gekido
Guest
« Reply #2 on: July 30, 2008, 06:44:00 PM »

Which player script are you using?  The new player script from the FPS Multiplayer game doesn't have the detection for this anymore I'm pretty sure.  Will double check to confirm though.
Logged
Ransom
Full Member
***
Posts: 132



View Profile
« Reply #3 on: July 31, 2008, 01:53:26 AM »

I'm not seeing it in the new script.  Monkey, in the older one(s) inside the dynamics advance section you need to find this...
Quote
else
   {
      if (object.GetCurMatrix().T.y < -10.0f)
      {
         // trigger restart sequence
         timeToReset = deathTime;
         if (AI == playerAI)
            GetGameManager().GetViewport( "Main").FadeOut( timeToReset);
      }
   }

... and change that -10.0f to a point lower than the lowest point on your level.

// edit: switched from 'Insert code' to Insert 'quote'.  Note to admin...  'Insert code' can have undesirable results.

« Last Edit: July 31, 2008, 01:57:40 AM by Ransom » Logged
happymonkey73
Newbie
*
Posts: 22


View Profile
« Reply #4 on: August 02, 2008, 02:25:49 PM »

Since the fps template doesn't work for me, I'm using the car racing template. I deleted everything and replaced it with a basic terrain and a player character.
Logged
gekido
Guest
« Reply #5 on: August 08, 2008, 11:52:06 AM »

Why does it work for you?  Does your video card only support shader model 2.0?  This is something that we will be resolving in the next release.
Logged
Pages: [1]
  Print  
 
Jump to:  

 
Powered by MySQL Powered by PHP bluBlur Skin © 2006, hbSkins
Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!