Help!

A forum for discussing map making ideas and problems for the Myth series.

Moderator: Doobie

Help!

Postby Viktor » Thu Jun 02, 2016 3:04 pm

Pretty noob question here I suppose but I have been struggling with Fear and just can't figure out how to do this...
I want to make an attack that's like a hand grenade, but when it explodes it creates a area of effect that confuses units, with a gas floating around for the duration of the effect, and the units running around for a few seconds like they do when instant confusion is cast. It's a "gas cloud" bomb, but it does no damage, only causes confusion when a unit or units are hit by it. For some reason I can't get confusion effect to last on units unless they are damaged, and "proportional to mana" option only works with attacks that "center on target".
Can anyone give me some advice?
Viktor
 
Posts: 55
Joined: Sun Apr 23, 2006 11:26 am
Location: somewhere

Re: Help!

Postby juliocpaes » Thu Jun 02, 2016 4:04 pm

Viktor wrote:Pretty noob question here I suppose but I have been struggling with Fear and just can't figure out how to do this...
I want to make an attack that's like a hand grenade, but when it explodes it creates a area of effect that confuses units, with a gas floating around for the duration of the effect, and the units running around for a few seconds like they do when instant confusion is cast. It's a "gas cloud" bomb, but it does no damage, only causes confusion when a unit or units are hit by it. For some reason I can't get confusion effect to last on units unless they are damaged, and "proportional to mana" option only works with attacks that "center on target".
Can anyone give me some advice?


Hi Viktor,

First, what are you playing ? green Berets ? or Myth ? your unit is a dwarf ( "hand grenade" with gas floating around / gas cloud / mana ?)

you can be more specific ...? :)

Julio
User avatar
juliocpaes
 
Posts: 1176
Joined: Mon Feb 14, 2011 12:07 am
Location: Madrigal - Brazil

Re: Help!

Postby Viktor » Fri Jun 03, 2016 5:24 am

It's for my Sengoku mod...

It's a unit that should throw a satchel that should make a cloud of gas and confuse units that get affected by the explosion, BUT not cause any damage. I can figure the visual effects out, I just can't seem to get the confusion effect to work. It only work if a) the explosion also causes a lot of damage b) if it's melee attack and is proportional to mana,
neither of which are what I want.
Viktor
 
Posts: 55
Joined: Sun Apr 23, 2006 11:26 am
Location: somewhere

Re: Help!

Postby juliocpaes » Fri Jun 03, 2016 8:28 am

Viktor wrote:It's for my Sengoku mod...

It's a unit that should throw a satchel that should make a cloud of gas and confuse units that get affected by the explosion, BUT not cause any damage. I can figure the visual effects out, I just can't seem to get the confusion effect to work. It only work if a) the explosion also causes a lot of damage b) if it's melee attack and is proportional to mana,
neither of which are what I want.


you are referring to Added mana bar above unit cannon .... ?
User avatar
juliocpaes
 
Posts: 1176
Joined: Mon Feb 14, 2011 12:07 am
Location: Madrigal - Brazil

Re: Help!

Postby Viktor » Fri Jun 03, 2016 9:32 am

No, there's an option in the projectile "Edit Damage" menu, which makes something proportional to mana...
Viktor
 
Posts: 55
Joined: Sun Apr 23, 2006 11:26 am
Location: somewhere

Re: Help!

Postby hmp » Sat Jun 04, 2016 9:14 pm

You could try having the gas continually detonate or use a contrail that only does a small amount of damage along with the confusion. You could also have the damage set to a small positive and negative range (like -0.5 to 0.5) or alternate between doing a small amount of positive and negative(healing) damage, so that the damage is mostly cancelled out. The problem is if the damage is too small it will really just hold the units in place and not walk around confused. If its too much the damage will be more noticeable and more likely to kill units with low health. You might be able to balance the damage and the rate/length that it detonates to get something close to a warlock's confusion.
Combined with the above, you could also scale every units health and all projectile damage up by like 10x, then the amount of damage to cause more than a second of confusion wouldn't be as noticeable. Thats a lot of work though and might cause other problems.

Probably a better option as long as there is not going to be too much use of this attack at once, is to make it a scripted attack. Something like:
geom - find gas projectile, use location as centerpoint
geom - find units near centerpoint
ctrl - make units uncontrollable
general action - make units scatter/retreat
ctrl - make units controllable again

As I was writing this, I came up with a better solution I think, have a dummy/invisible warlock scripted to use a confusion attack:
geom - find gas projectile, use location as centerpoint
geom - find units near centerpoint
atta - have the dummy warlock use confusion on the units
make the warlock uncontrollable/untargetable and really tiny/constantly made magically invisible or some other trick so players don't see him, give a really long attack range or use scripting to get/keep him close enough to immediately use his attack when needed.
hmp
 
Posts: 49
Joined: Fri Dec 14, 2007 3:00 am


Return to Map Making Support

Who is online

Users browsing this forum: No registered users and 1 guest