View unanswered posts | View active topics It is currently Fri Dec 27, 2024 12:45 pm



Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
 Problems with attaching brains on an actor (details inside) 
Author Message
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: Problems with attaching brains on an actor (details inside)
So guys? any help here?


Thu Jun 04, 2009 2:28 pm
Profile YIM WWW
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: Problems with attaching brains on an actor (details inside)
Basically, you want a brain unit that drops a brain(not dead) when its dead. Am I right?


Thu Jun 04, 2009 2:46 pm
Profile
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: Problems with attaching brains on an actor (details inside)
Yeah. Exactly like that.


Fri Jun 05, 2009 12:10 pm
Profile YIM WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Problems with attaching brains on an actor (details inside)
function Destroy(self)
MovableMan:AddParticle("Unpinned Brain");
end

That's basically it, though you do have to define it and the position and etc etc.


Fri Jun 05, 2009 2:00 pm
Profile
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: Problems with attaching brains on an actor (details inside)
Hmmm... so make the attached brain actually an attachable, and if the actor that it is attached to it is destroyed, make a new brain in its stead?

Some question though...
let's assume the first (carrier) actor and the soon-to-be brain are both in the brain category. When the game starts I put the carrier actor (with the brainlike attachable) in as a brain that moves around. Then if it's dead it'll 'make' a new brain. Question is, will the game end first if the carrier actor dies?


Fri Jun 05, 2009 2:28 pm
Profile YIM WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Problems with attaching brains on an actor (details inside)
On destroy self should activate within the same sim update; if you're lucky the brain will spawn and CC won't notice. If you're not, it won't.


Fri Jun 05, 2009 2:30 pm
Profile
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: Problems with attaching brains on an actor (details inside)
So, this is kinda unreliable?

Good... it'll make gameplay more interesting.
Will try this out soon, and if it works I'll release it after tests.


Fri Jun 05, 2009 2:33 pm
Profile YIM WWW
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: Problems with attaching brains on an actor (details inside)
Make its head gib into a dropship on your team and have the brain on your team in the dropship's inventory. Tadahhhh.


Fri Jun 05, 2009 5:03 pm
Profile
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: Problems with attaching brains on an actor (details inside)
Well, the 'brain' is not in the head, but rather attached to the torso. So you're saying to create a dropship that has the same sprite as the brain and the attachable, and have it pop in the game when the actor's dead?


Sat Jun 06, 2009 7:26 am
Profile YIM WWW
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: Problems with attaching brains on an actor (details inside)
Have the body gib a dropship, and in the dropship's code just AddInventory the brain.


Sat Jun 06, 2009 3:05 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 25 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: Google [Bot]


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.066s | 14 Queries | GZIP : Off ]