Slime

Got resources you'd like to share? Want to request some help with scripting or graphic creation? Then this is the place to be.
Post Reply
User avatar
b_o
Posts: 328
Joined: Sun Jan 01, 2012 12:07 pm

Slime

Post by b_o »

Green slime comes in all shapes and sizes, so if you want huge slime, these can be baby huge slimes:
Would Medivh summon these?
Would Medivh summon these?
green.png (7.77 KiB) Viewed 5228 times
The first 4 rows are stationary animation. The next 6 rows are movement. Then the next 3 rows are attack. And the last 5 rows are death. The unit size is 32*32 like the spiders.
Icons:
Icons.
Icons.
slimecon.png (3.14 KiB) Viewed 5213 times
Living Water:
Maybe a few of these would appear when/where a water elemental dies? Or a water elemental could summon them?
Maybe a few of these would appear when/where a water elemental dies? Or a water elemental could summon them?
blue.png (7.77 KiB) Viewed 5228 times
Blood Ooze:
I could probably mix some bone and skull sprites in this. Perhaps this unit would result from casting raise dead on a non-humanoid corpse, or could be produced at an orc alter or something? Or give Gul'dan a polymorph spell which turns organic units into this and would put them under his control.
I could probably mix some bone and skull sprites in this. Perhaps this unit would result from casting raise dead on a non-humanoid corpse, or could be produced at an orc alter or something? Or give Gul'dan a polymorph spell which turns organic units into this and would put them under his control.
red.png (7.76 KiB) Viewed 5228 times
Haunted Poop:
I think Ogre Mages could produce this. Well at least the Ogre Mage hero's.
I think Ogre Mages could produce this. Well at least the Ogre Mage hero's.
brown.png (7.77 KiB) Viewed 5228 times
User avatar
Kargath
Posts: 94
Joined: Sun Aug 11, 2013 10:19 pm

Re: Slime

Post by Kargath »

About the red ooze: In Rituals of Rebirth there is a unit called Blood Ooze and it's like those slimes but with bones and skulls
ooze.gif
ooze.gif (4 KiB) Viewed 5212 times
User avatar
b_o
Posts: 328
Joined: Sun Jan 01, 2012 12:07 pm

Re: Slime

Post by b_o »

Kargath wrote:About the red ooze: In Rituals of Rebirth there is a unit called Blood Ooze and it's like those slimes but with bones and skulls
Ahh.. After I made it and thought about the bones, it occurred to me that I might have seen something like that before.. And now you've confirmed that I have. thanks. I kind of wish there was a wc2 mod site which shows what's in all of the mods, because I haven't been able install any of them yet to see whats inside. You should convert the GFX for wargus and post it here.
User avatar
Kargath
Posts: 94
Joined: Sun Aug 11, 2013 10:19 pm

Re: Slime

Post by Kargath »

I can't convert to Wargus...I don't know how to do it, otherwise I'd convert even more stuff. There is a tutorial?
User avatar
b_o
Posts: 328
Joined: Sun Jan 01, 2012 12:07 pm

Re: Slime

Post by b_o »

Kargath wrote:I can't convert to Wargus...I don't know how to do it, otherwise I'd convert even more stuff. There is a tutorial?
I added a brief one here: viewtopic.php?f=29&t=3406
User avatar
Kargath
Posts: 94
Joined: Sun Aug 11, 2013 10:19 pm

Re: Slime

Post by Kargath »

Thanks, I'll try it.
User avatar
b_o
Posts: 328
Joined: Sun Jan 01, 2012 12:07 pm

Re: Slime

Post by b_o »

Here's some code for these sprites:

anim.lua

Code: Select all

-- any slime
local SlimeStill = {"unbreakable begin",
	"frame 0", "move 3", "wait 2", 
	"frame 0", "move 3", "wait 2",
    "frame 5", "move 4", "wait 2", 
	"frame 5", "move 3", "wait 1",
    "frame 10", "move 3", "wait 2", 
	"frame 10", "move 3", "wait 1",
    "frame 15", "move 3", "wait 2", 
	"frame 15", "move 3", "wait 1",
    "frame 20", "move 4", "wait 2", 
	"frame 20", "move 3", "unbreakable end", "wait 1",} 
local SlimeMove = {"unbreakable begin",
	"frame 30", "move 3", "wait 2", 
	"frame 30", "move 3", "wait 2",
    "frame 35", "move 4", "wait 2", 
	"frame 35", "move 3", "wait 1",
    "frame 40", "move 3", "wait 2", 
	"frame 40", "move 3", "wait 1",
    "frame 45", "move 3", "wait 2", 
	"frame 45", "move 3", "wait 1",
    "frame 50", "move 4", "wait 2", 
	"frame 50", "move 3", "wait 2",
    "frame 0", "move 0", "wait 2",	
	"frame 0", "move 0", "wait 2",
    "frame 5", "move 0", "wait 2", 
	"frame 5", "move 0", "wait 1",
    "frame 10", "move 0", "wait 2", 
	"frame 10", "move 0", "wait 1",
    "frame 15", "move 0", "wait 2", 
	"frame 15", "move 0", "wait 1",
    "frame 20", "move 0", "wait 2", 
	"frame 20", "move 0", "wait 2", 
	"frame 0", "move 0", "wait 2",	
	"frame 0", "move 0", "wait 2",
    "frame 5", "move 0", "wait 2", 
	"frame 5", "move 0", "wait 1",
    "frame 10", "move 0", "wait 2", 
	"frame 10", "move 0", "wait 1",
    "frame 15", "move 0", "wait 2", 
	"frame 15", "move 0", "wait 1",
    "frame 20", "move 0", "wait 2", 
	"frame 20", "move 0", "unbreakable end", "wait 1",}
local SlimeDeath = {"unbreakable begin",
   "frame 70", "wait 26",
   "frame 75", "wait 25",
   "frame 80", "wait 25",
    "frame 85", "wait 25",
   "frame 90", "wait 50",
   "frame 90", "unbreakable end", "wait 1",}

DefineAnimations("animations-slime", {
  Still = SlimeStill,
  Move = SlimeMove,
  Attack = {"unbreakable begin",
   "frame 55", "wait 3",
   "frame 55", "wait 3",
   "frame 60", "wait 3",
   "frame 60", "attack", "sound punch", "wait 5",
   "frame 65", "wait 5",
   "frame 65", "wait 5",
    "frame 0", "wait 2",	
	"frame 0", "wait 2",
    "frame 5", "wait 2", 
	"frame 5", "wait 1",
    "frame 10", "wait 2", 
	"frame 10", "wait 1",
    "frame 15", "wait 2", 
	"frame 15", "wait 1",
    "frame 20", "wait 2", 
	"frame 20", "wait 2",
   "frame 0", "unbreakable end", "wait 1",},
  Death = SlimeDeath,
})
units.lua

Code: Select all

	DefineUnitType("unit-greenslime", { Name = "Green Slime",
  Image = {"file", "wip/neutral/units/green.png", "size", {32, 32}},
  Animations = "animations-slime", Icon = "icon-greenslime",
  Costs = {"time", 70, "gold", 500, "wood", 50},
  Speed = 8,
  HitPoints = 100,
  DrawLevel = 15,
  TileSize = {1, 1}, BoxSize = {31, 31},
  SightRange = 3, ComputerReactionRange = 3, PersonReactionRange = 3,
  Armor = 5, BasicDamage = 1, PiercingDamage = 0, Missile = "missile-none",
  MaxAttackRange = 1,
  Priority = 50,
  DecayRate = 100,
  Points = 100,
  Demand = 1,
  Type = "land",
  RightMouseAction = "attack",
  CanAttack = true,
  CanTargetLand = true, 
  LandUnit = true,
  organic = true,
  SelectableByRectangle = true,
  Sounds = {
    "selected", "skeleton-selected"--,
	} } )
Post Reply