View unanswered posts | View active topics It is currently Thu Dec 26, 2024 3:48 am



Reply to topic  [ 4 posts ] 
 How would I create alternate loss conditions for scenes? 
Author Message
User avatar

Joined: Sat Mar 23, 2013 7:59 am
Posts: 99
Reply with quote
Post How would I create alternate loss conditions for scenes?
I want to know if it is possible to create alternate loss conditions for a map other than the "Your brain dies." using Lua. I want to see because I want to make an activity where the brain is off the visible map.


Also,

how can I create a visible laser sight effect like the one found in this mod?

viewtopic.php?f=61&t=31342

or this one

viewtopic.php?f=61&t=17247

I'd prefer to have one that floats through the air to make some kinda of line to its target.


Thu Apr 04, 2013 8:44 pm
Profile
User avatar

Joined: Sun Jan 15, 2012 10:12 pm
Posts: 207
Location: Burrowed, waiting for you to come by.
Reply with quote
Post Re: How would I create alternate loss conditions for scenes?
Jackslancer wrote:
I'd prefer to have one that floats through the air to make some kinda of line to its target.

Never tried, but try making a red to light pink BG Line sprite that fades out. Might be difficult...


Thu Apr 04, 2013 11:28 pm
Profile
User avatar

Joined: Sat Mar 23, 2013 7:59 am
Posts: 99
Reply with quote
Post Re: How would I create alternate loss conditions for scenes?
googlex6 wrote:
Jackslancer wrote:
I'd prefer to have one that floats through the air to make some kinda of line to its target.

Never tried, but try making a red to light pink BG Line sprite that fades out. Might be difficult...


ill give it a shot


Thu Apr 04, 2013 11:33 pm
Profile
User avatar

Joined: Tue Feb 09, 2010 4:16 pm
Posts: 86
Reply with quote
Post Re: How would I create alternate loss conditions for scenes?
You can end your activity at any time using:
Code:
ActivityMan:EndActivity()
If
Code:
self.WinnerTeam
is equal to your player's team, the game will end in victory. Or in defeat otherwise.


Sat May 11, 2013 7:52 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.034s | 13 Queries | GZIP : Off ]