View unanswered posts | View active topics It is currently Sat Dec 28, 2024 4:43 pm



Reply to topic  [ 6 posts ] 
 Two tricky questions 
Author Message
User avatar

Joined: Sat Feb 12, 2011 8:05 pm
Posts: 39
Location: Somewhere over the Double Rainbow
Reply with quote
Post Two tricky questions
I have two questions about modding CC.

First: In a game called Spiral Knights, you can use a bomb to deal damage to your enemies. After each detonation, the bomb magically re-appears in your inventory for use again. I have tried to do this in CC without lua to no avail. Could someone possibly make a file that can do that?

Second: What part of the code makes a brain robot a brain robot, as opposed to a regular actor? This has completely baffled me beyond belief.

Thanks for your time.


Sun Aug 28, 2011 5:37 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Two tricky questions
The first one has been done with lua, if I'm not wrong, it's used in Gotcha's UniTec mod.

And the second one, the thing that makes the brain robot a brain is that the line "AddToGroup" on it's ini is "AddToGroup = Brains".


Sun Aug 28, 2011 5:41 pm
Profile

Joined: Sun Aug 07, 2011 3:09 am
Posts: 18
Reply with quote
Post Re: Two tricky questions
You could also for the mine make the mine reloading time the same as the time it takes for it to explode so that way yo can always place one.


Sun Aug 28, 2011 6:20 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Mon Jul 12, 2010 5:39 am
Posts: 4558
Reply with quote
Post Re: Two tricky questions
Do grenades have reloading times? I don't think they do.


Sun Aug 28, 2011 8:13 pm
Profile WWW
User avatar

Joined: Sat Feb 12, 2011 8:05 pm
Posts: 39
Location: Somewhere over the Double Rainbow
Reply with quote
Post Re: Two tricky questions
Neither do I. But I will check out the UniTec thing. Thanks.


Sun Aug 28, 2011 8:19 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Two tricky questions
Or you could make something like an "invisible" grenade launcher, and let a sprite of the grenade be the mag. In that way, it will look like it is holding the grenade and when you fire it it will look like it was thrown, and then upon reload you will have another grenade.

It won't act, however, like a real grenade, it will act as a grenade launcher.


Sun Aug 28, 2011 8:24 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 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.038s | 13 Queries | GZIP : Off ]