HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how can i make melee/arrows trajectory?

06-03-2004, 05:26 PM#1
xtacb
how do i make melee normal attacks such as a footman's attack and also normal range attacks like arrow from an archer be trajectory and not automatically hit? this is to make it be more realistic in that all attacks can be dodged if you have the skills/micro

like for example if a footman and a footman are fighting each other, as the first footman swing his sword, if you move the second footman immediately directly left or right, the attack will no do damage and seem like it missed

in the usm archery tactics this is sorta applied but only to arrows and its a special abilty where you have to click the ability to use it

how would i make all normal attacks do this for melee/range without having to click any ability, it just attacks that way?
06-03-2004, 05:58 PM#2
Sardius
Quite simple, change all melee and arrow attacks to artillery (line) then set up the speed accordingly, for melee attacks I use projectile speed of 450 and range of 150... For melee attacks simply have no graphic.

Only problem with this is all corpses will explode on death.
06-03-2004, 07:25 PM#3
xtacb
that seems simple enough, is that the way the arrows work in the usm archery tactics?

well, exploding corpses from sword attacks and arrows isn't so good, is there any way to make it just die regularly? or if not, is there another way to make trajectory melee/range?

because sword slices and dices then the body explodes seems not too realistic...
06-03-2004, 07:35 PM#4
Sardius
Well if your aiming for an action rpg style, exploding corpses ain't to bad. It kinda looks cool. When you deliver a death blow and arms and legs go flying and the monster blows up. "Critical Hit!" But it is bad for necromancers and such or any type of raisin the dead spell or any other abilities that rely on corpses.
I don't think there is a way around it, atleast not one I know of. The second you enable an attack to artillery it automatcly gains the "explosive" effect when your target is killed.
06-03-2004, 10:12 PM#5
xtacb
ok i tried it out and it works great! but there one thing, once i gave unit artillery line type, now theres a ability button for attack ground for the unit
and when you click it , the mouse cursor disappears although you can still click where to attack ground

how do you get rid of the attack ground ability?
06-03-2004, 10:21 PM#6
Aznwhore
u can fix that exploding part
there is a trigger that changes the unit's death animation, i think it was:
Normally
condition: unit dies
action: make unit <explode>
How You would want it
condition: unit dies
action: make unit <die normally>

again, this is not the exact trigger, just search through the triggers for something like the action, i am 100% sure there is one cause i used it b4
06-04-2004, 07:39 PM#7
xtacb
ok , so how would i get rid of the ability button for attack-ground?
when you click it the mouse cursor disappears although you can still click a spot on the ground to attack
06-05-2004, 05:48 PM#8
xGT4x
I only know that in WEU there is a advanced trigger function which does that, in your case it would be:
Advanced - Remove the On Fire ability from <YourUnit>
06-06-2004, 05:14 PM#9
Foxfire88
Hey man for the Melee dodging, you can just go to the gameplay constants and search for the thing that says something like, "Chance to miss while moving" and set it to 100%. That way it will work the way you want it. ^_^
06-06-2004, 07:19 PM#10
Sardius
"Advanced - Remove the On Fire ability from <YourUnit>"

Where is that located?
06-06-2004, 10:42 PM#11
xtacb
i just tried to set "Chance to miss (moving or high ground)" and set it to 1.00 and it didn't work, i would still get hit if im running in circles around the unit is there something im missing here?

is there a way to make cleaving attack and critcal stike work with artillery line type attack? because i havent seen my units do them anymore since i changed it to artillery line type
06-06-2004, 11:33 PM#12
Sardius
If you set it to 1.00 thats "1% chance to miss while moving or on higerground" you'd need to set it to 100 not 1.00

and where is "Advanced - Remove the On Fire ability from <YourUnit>" located. I can't find any thing called advanced in triggers.
06-07-2004, 12:32 AM#13
xtacb
you can't set chance to miss while moving or on higherground any higher than 1.00 , and the default is .025 so 1.00 means 100%
it doesnt work when i set it to 1.00
06-07-2004, 12:46 AM#14
raisinhumide
that data means if a person in the water attacks someone on a cliff his attack will have a 25% luck to miss, beceause they're on different levels ( different cliffs), logicly, some of their attacks gottta miss... to enable cleaving attack i think you gotta also change the area of effect ( full ) so the cleaving attack does splash damage :o
06-07-2004, 01:08 AM#15
Sardius
Yah your right. I just tried setting chance to missing on moving or higherground to the max as well "1.00" and it did absolutly nothing.