View unanswered posts | View active topics It is currently Wed Dec 25, 2024 6:24 pm



Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
 Bunker Breach + 
Author Message
User avatar

Joined: Sat Oct 06, 2012 1:52 pm
Posts: 42
Reply with quote
Post Re: Bunker Breach +
While I love your new levels and scenes, I think there's a problem with your lose conditions. The game crashes every time my brain dies.


Sun Aug 31, 2014 5:12 am
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Bunker Breach +
terminator44 wrote:
While I love your new levels and scenes, I think there's a problem with your lose conditions. The game crashes every time my brain dies.

Oops! That is actually a bug in the native BB activity.

Find this code (somewhere near line 245):
Code:
                  Brain = MovableMan:GetUnassignedBrain(Activity.TEAM_1)
                  if Brain then
                     self:SetPlayerBrain(Brain, player)
                     self:SwitchToActor(Brain, player, self:GetTeamOfPlayer(player))
                  end

And replace with this:
Code:
                  Brain = MovableMan:GetUnassignedBrain(Activity.TEAM_1)
                  if Brain then
                     self:SetPlayerBrain(Brain, player)
                     self:SwitchToActor(Brain, player, self:GetTeamOfPlayer(player))
                  else
                     self:SetPlayerBrain(nil, player)
                  end


Mon Sep 01, 2014 7:38 am
Profile
User avatar

Joined: Fri Jul 20, 2012 5:31 am
Posts: 67
Location: petting Schrodingers cat.
Reply with quote
Post Re: Bunker Breach +
Haha, FINALLY!! Really annoying restarting your game everytime you lose. I will have to ask though, where is that code located? I looked under base.rte/activites and there was nothing there that would've been Bunker Breach, and even under base.rte/activites.ini there's no activity that's added with the presetname as Bunker Breach. Thanks for the help!


Mon Sep 01, 2014 5:42 pm
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Bunker Breach +
It is in Missions.rte/Activities for some reason I don't remember.


Tue Sep 02, 2014 7:49 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 19 posts ]  Go to page Previous  1, 2

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.149s | 14 Queries | GZIP : Off ]