Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 11 Vote(s) - 4.27 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Work in progress Atlantia
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#10
RE: Atlantia

(08-14-2011, 08:56 PM)Selyp Wrote:
(08-14-2011, 07:26 PM)Leon Kennedy Wrote: Actually, someone already made an underwater function for amnesia:
Youtube video

Yes, I saw that, which is why I decided to include underwater gameplay after all Smile

Originally, I was just going to have the player start out coming out of the water into a small cave, but now I can have the player start out by finding the cave and then coming out of the water.

Also working on getting the flashlight to slowly recharge when not used, since its pretty unrealistic if there were batteries laying around everywhere in an underwater city.

BTW, has anyone successfully imported the glowstick from Penumbra?

Sorry, but I got an urge to help you make the script where the flashlight power slowly recharges when it's not being used. Tongue

An example for using a lantern that recharges when not in use (I don't know the differences between the lantern and flashlight scripting-wise Tongue ) :

void OnStart()
{
     Check01();
}
void Check01()
{
     AddTimer("", 1, "Check02");
}
void Check02(string &in asTimer)
{
     if (GetLanternActive() == false)
     {
           if (GetPlayerLampOil() == 100)
          {
               Check01();
          }
          else
          {
               AddPlayerLampOil(0.3);
               Check01();
          }
     }
     else
     {
          Check01();
     }
}

I hope I did this right and that you'll be able to use this correctly. Smile

08-14-2011, 09:24 PM
Find


Messages In This Thread
Atlantia - by Selyp - 08-14-2011, 02:09 AM
RE: Atlantia - by nemesis567 - 08-14-2011, 02:15 AM
RE: Atlantia - by Rapture - 08-14-2011, 02:41 AM
RE: Atlantia - by Oddity007 - 08-14-2011, 02:53 AM
RE: Atlantia - by Tenno - 08-14-2011, 07:19 AM
RE: Atlantia - by Ghostflame - 08-14-2011, 08:18 AM
RE: Atlantia - by MasaMainio - 08-14-2011, 10:35 AM
RE: Atlantia - by Gunslingerjh - 08-14-2011, 07:26 PM
RE: Atlantia - by Selyp - 08-14-2011, 08:56 PM
RE: Atlantia - by Kyle - 08-14-2011, 09:24 PM
RE: Atlantia - by Selyp - 08-15-2011, 12:01 AM
RE: Atlantia - by Selyp - 08-15-2011, 07:01 AM
RE: Atlantia - by Tenno - 08-15-2011, 09:17 AM
RE: Atlantia - by palistov - 08-15-2011, 09:24 AM
RE: Atlantia - by Kyle - 08-15-2011, 03:28 PM
RE: Atlantia - by Phoroneus - 08-19-2011, 04:52 AM
RE: Atlantia - by Selyp - 08-25-2011, 04:22 AM
RE: Atlantia - by Phoroneus - 08-25-2011, 06:33 AM
RE: Atlantia - by SonOfLiberty796 - 08-30-2011, 07:19 PM
RE: Atlantia - by Selyp - 09-09-2011, 06:43 AM
RE: Atlantia - by Mosnye - 09-09-2011, 07:43 AM
RE: Atlantia - by JenniferOrange - 09-09-2011, 11:14 PM
RE: Atlantia - by Selyp - 09-10-2011, 02:17 AM
RE: Atlantia - by Selyp - 09-13-2011, 01:24 AM
RE: Atlantia (Seeking Team Members) - by Kman - 09-13-2011, 03:10 AM
RE: Atlantia (Seeking Team Members) - by Mosnye - 09-13-2011, 03:18 AM
RE: Atlantia (Seeking Team Members) - by Selyp - 09-13-2011, 03:22 AM
RE: Atlantia (Seeking Team Members) - by Kman - 09-13-2011, 03:45 AM
RE: Atlantia (Seeking Team Members) - by Selyp - 09-14-2011, 01:41 AM
RE: Atlantia (Seeking Team Members) - by Selyp - 09-15-2011, 01:39 AM
RE: Atlantia (Seeking Team Members) - by Selyp - 09-15-2011, 05:39 AM
RE: Atlantia (Seeking Team Members) - by Selyp - 09-15-2011, 08:05 PM
RE: Atlantia - by Selyp - 09-16-2011, 07:40 AM
RE: Atlantia - by Cryaotic - 09-16-2011, 06:43 PM
RE: Atlantia - by Selyp - 09-18-2011, 03:42 AM
RE: Atlantia - by DamnNoHtml - 09-16-2011, 06:56 PM
RE: Atlantia - by Miss Rigi - 09-16-2011, 09:49 PM
RE: Atlantia - by DamnNoHtml - 09-16-2011, 10:39 PM
RE: Atlantia - by RawkBandMan - 09-18-2011, 03:34 PM
RE: Atlantia - by Selyp - 09-24-2011, 05:59 AM
RE: Atlantia - by Kman - 09-24-2011, 06:38 AM
RE: Atlantia - by Miss Rigi - 09-24-2011, 05:52 PM
RE: Atlantia - by Stanton - 09-26-2011, 04:25 PM
RE: Atlantia - by Selyp - 09-26-2011, 04:38 PM
RE: Atlantia - by CorinthianMerchant - 09-20-2012, 04:06 PM
RE: Atlantia - by Ghieri - 09-20-2012, 05:43 PM
RE: Atlantia - by Rapture - 09-20-2012, 06:58 PM
RE: Atlantia - by Macgyverthehero - 09-21-2012, 02:39 AM
RE: Atlantia - by Adny - 09-21-2012, 03:35 AM
RE: Atlantia - by Miss Rigi - 09-21-2012, 03:57 AM
RE: Atlantia - by Statyk - 09-21-2012, 04:28 AM
RE: Atlantia - by CorinthianMerchant - 09-21-2012, 05:26 PM
RE: Atlantia - by Vyzor - 09-22-2012, 12:55 AM
RE: Atlantia - by The chaser - 09-21-2012, 06:15 PM
RE: Atlantia - by RawkBandMan - 09-22-2012, 03:51 AM
RE: Atlantia - by Hardarm - 09-24-2012, 10:35 AM
RE: Atlantia - by Robby - 09-24-2012, 07:12 PM



Users browsing this thread: 2 Guest(s)