View unanswered posts | View active topics It is currently Fri Apr 19, 2024 12:12 pm



Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3  Next
 Balloon Crabs (Mod theme contest entry: Wildlife) 
Author Message
User avatar

Joined: Fri Feb 26, 2010 5:01 pm
Posts: 4
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
These are cool.
I love the way that these craps just floats down and proceeds to hang in the air some 10 feet above the ground, and just... well, hanging. (and, on occasion also moving themselves a tad around.)
Also, it is quite funny to watch the AI hunt these down and splash acid all over themselves and anyone nearby.
The only minus i could find, is that they have a tendency to get stuck in overhangs, but aside from that they're quite nice :)

10/10 Normal crabs are pretty nice and all, but these little buggers are like normal crabs, except that they fly with an acid-filled ballon! (I don't know how that makes any sense, but screw it, they're awesome :twisted: )


Fri Sep 03, 2010 4:19 pm
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
Looking at the code a lot of it could be optimized with tables or functions. Very sloppy.

As an example;
Code:
   --mails self.attachable handler
   local i = 1;
   while i < MovableMan:GetMOIDCount() do
      if MovableMan:GetMOFromID(i).RootID == self.ID and i ~= self.ID then
         self.att = MovableMan:GetMOFromID(i)
         if string.find(self.att.PresetName, "Crab Thing") then
            self.CrabThing = ToAttachable(self.att)
         end
      end
      i = i + 1
   end
   --mails self.attachable handler
   local i = 1;
   while i < MovableMan:GetMOIDCount() do
      if MovableMan:GetMOFromID(i).RootID == self.ID and i ~= self.ID then
         self.att = MovableMan:GetMOFromID(i)
         if string.find(self.att.PresetName, "CrabLegFGA") then
            self.CrabLegFGA = ToAttachable(self.att)
         end
      end
      i = i + 1
   end
   self.CrabLegFGA.GetsHitByMOs = false
   self.CrabLegFGARot = 0
   self.CrabLegFGARotVel = 0
   self.CrabLegFGARotRandom = 0
   local i = 1;
   while i < MovableMan:GetMOIDCount() do
      if MovableMan:GetMOFromID(i).RootID == self.ID and i ~= self.ID then
         self.att = MovableMan:GetMOFromID(i)
         if string.find(self.att.PresetName, "CrabLegBGA") then
            self.CrabLegBGA = ToAttachable(self.att)
         end
      end
      i = i + 1
   end
   self.CrabLegBGA.GetsHitByMOs = false
   self.CrabLegBGARot = 0
   self.CrabLegBGARotVel = 0
   self.CrabLegBGARotRandom = 0
   local i = 1;
   while i < MovableMan:GetMOIDCount() do
      if MovableMan:GetMOFromID(i).RootID == self.ID and i ~= self.ID then
         self.att = MovableMan:GetMOFromID(i)
         if string.find(self.att.PresetName, "CrabLegFGB") then
            self.CrabLegFGB = ToAttachable(self.att)
         end
      end
      i = i + 1
   end
   self.CrabLegFGB.GetsHitByMOs = false
   self.CrabLegFGBRot = 0
   self.CrabLegFGBRotVel = 0
   self.CrabLegFGBRotRandom = 0
   local i = 1;
   while i < MovableMan:GetMOIDCount() do
      if MovableMan:GetMOFromID(i).RootID == self.ID and i ~= self.ID then
         self.att = MovableMan:GetMOFromID(i)
         if string.find(self.att.PresetName, "CrabLegBGB") then
            self.CrabLegBGB = ToAttachable(self.att)
         end
      end
      i = i + 1
   end
   self.CrabLegBGB.GetsHitByMOs = false
   self.CrabLegBGBRot = 0
   self.CrabLegBGBRotVel = 0
   self.CrabLegBGBRotRandom = 0

could easily be shrunk to
Code:
   --mails self.attachable handler
   local i = 1;
   while i < MovableMan:GetMOIDCount() do
      if MovableMan:GetMOFromID(i).RootID == self.ID and i ~= self.ID then
         self.att = MovableMan:GetMOFromID(i)
         if string.find(self.att.PresetName, "Crab Thing") then
            self.CrabThing = ToAttachable(self.att)
         elseif string.find(self.att.PresetName, "CrabLegBGB") then
            self.CrabLegBGB = ToAttachable(self.att)
         elseif string.find(self.att.PresetName, "CrabLegFGA") then
            self.CrabLegFGA = ToAttachable(self.att)
         elseif string.find(self.att.PresetName, "CrabLegBGA") then
            self.CrabLegBGA = ToAttachable(self.att)
         elseif string.find(self.att.PresetName, "CrabLegFGB") then
            self.CrabLegFGB = ToAttachable(self.att)
         end
      end
      i = i + 1
   end
   self.CrabLegFGA.GetsHitByMOs = false
   self.CrabLegFGARot = 0
   self.CrabLegFGARotVel = 0
   self.CrabLegFGARotRandom = 0
   self.CrabLegBGA.GetsHitByMOs = false
   self.CrabLegBGARot = 0
   self.CrabLegBGARotVel = 0
   self.CrabLegBGARotRandom = 0
   self.CrabLegFGB.GetsHitByMOs = false
   self.CrabLegFGBRot = 0
   self.CrabLegFGBRotVel = 0
   self.CrabLegFGBRotRandom = 0
   self.CrabLegBGB.GetsHitByMOs = false
   self.CrabLegBGBRot = 0
   self.CrabLegBGBRotVel = 0
   self.CrabLegBGBRotRandom = 0


You should also be crediting mail2345 in your OP for his code, which you haven't.


5/10
I'm docking points for not having credited mail2345, and for the extremely sloppy code. You might have copied more that just that code, even.
The sprites could be better.


Last edited by CrazyMLC on Fri Sep 03, 2010 5:41 pm, edited 1 time in total.



Fri Sep 03, 2010 5:16 pm
Profile WWW
User avatar

Joined: Wed May 20, 2009 3:10 pm
Posts: 366
Location: Århus, Denmark
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
I see, haven't optimized it that much because i wanted to release it yesterday before going to sleep. Also i forgot to credit mail2345 for his code because that part was copied from one of my other codes.


Fri Sep 03, 2010 5:31 pm
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
Copying another person's work as passing it off as your own is very serious.
It's called plagiarism.

You should take it more seriously than to just forget to credit mail2345.


Fri Sep 03, 2010 5:37 pm
Profile WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
CrazyMLC wrote:
Copying another person's work as passing it off as your own is very serious.

You might even say it's...
unchill


Fri Sep 03, 2010 9:03 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Mon Jul 12, 2010 5:39 am
Posts: 4557
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
Can these be bought in the middle of combat? I don't see them there..
Help?


Fri Sep 03, 2010 10:13 pm
Profile WWW
User avatar

Joined: Sat Mar 13, 2010 5:52 am
Posts: 229
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
Bunkerbuild phase


Fri Sep 03, 2010 10:54 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Mon Jul 12, 2010 5:39 am
Posts: 4557
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
FuzzyMelon wrote:
Bunkerbuild phase


There is no bunker build phase in campaign.

Oh well, I guess I could just edit the .ini a little...


Fri Sep 03, 2010 10:58 pm
Profile WWW
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
The limp legs are a nice touch.
I personally don't like how durable they are. Being significantly buoyant in air and not being fragile/dainty just doesn't quite set right.
The sprite is alright, but it noticeably looks like you just re-sized the concept art. (except the legs, which are obviously 100% flawless :P )
Hovering towards a pre-defined height is kinda lame, since it limits the player's control.
Barfing the acid controlably rather than bleeding it would have also helped with player control.

I think I'll give you an 8/10.


Tue Sep 07, 2010 10:03 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Mon Jul 12, 2010 5:39 am
Posts: 4557
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
Azukki wrote:
.
The sprite is alright, but it noticeably looks like you just re-sized the concept art. (except the legs, which are obviously 100% flawless :P )

They're the sprites from the contest thread..


Tue Sep 07, 2010 11:55 pm
Profile WWW
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
Only the legs. The balloon and body, while quite similar, are seemingly his own work.


Wed Sep 08, 2010 2:25 am
Profile
User avatar

Joined: Mon Jun 21, 2010 1:40 am
Posts: 208
Location: Hiding in a freezer at Wal-mart
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
akblabla wrote:
This will properly be the last thing i am going to release on datarealms

:oops: SO many mods that you could have improved on. (not saying they were bad)


Wed Sep 08, 2010 3:03 am
Profile
User avatar

Joined: Wed May 26, 2010 9:58 pm
Posts: 270
Location: [Insert ominous, personally significant and extremely obvious location Here, e.g. behind you]
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
Question: It doesn't show up in my buy menu. I know there's a fix, but I can't remember it. Anyone?


Wed Sep 08, 2010 11:18 pm
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
Code:
Buyable = 1


Simple as that.


Thu Sep 09, 2010 12:02 am
Profile
User avatar

Joined: Wed May 26, 2010 9:58 pm
Posts: 270
Location: [Insert ominous, personally significant and extremely obvious location Here, e.g. behind you]
Reply with quote
Post Re: Balloon Crabs (Mod theme contest entry: Wildlife)
Roast Veg wrote:
Code:
Buyable = 1


Simple as that.

With all due respect, you think I haven't tried that?


Thu Sep 09, 2010 5:35 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 32 posts ]  Go to page Previous  1, 2, 3  Next

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.088s | 17 Queries | GZIP : Off ]