wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Triggers & Scripts
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 06-23-2008, 06:40 PM   #1
olavo
User
 
olavo's Avatar
 
Join Date: Dec 2005
Posts: 25

Submissions (1)

olavo has little to show at this moment (4)

Send a message via MSN to olavo
Default Need Help in Cavalry Charge need suggestions

Well. my problem is kind of simple.
I'm making a map based on realistic medieval warfare.
I need help witch the cavalry charge issue, Because Knights simply ain't knights if they don't have a charge ability... since it was the base strategy to all successful early-medieval skirmish.
So... I know that there are a lot of knockback JESP spell I could work on... but i Simply don't have the time to learn Jass.
To does anyone has as suggestion?
__________________
"Damn baby all I need is a lil' bit, not a lot baby girl, just a lil' bit"
olavo is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 06-23-2008, 06:43 PM   #2
Captain Griffen
Dread Lord of the Cookies
 
Captain Griffen's Avatar


Content Director
 
Join Date: Sep 2003
Posts: 5,375

Submissions (2)

Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)Captain Griffen is a glorious beacon of light (497)

Approved Map: Warlords[Quicksilver #2] - 1st Place

Default

What EXACTLY do you want?

The way you want it to work could vary a lot. There is no perfect way of doing cavalry charges, particularly not in WC3.
__________________
Quote:
Originally Posted by Earth-Fury
Griffen is correct, you are not.
Quote:
[13:32] <Akolyt0r> hmm.. stil i want to have some unused women
Captain Griffen is offline   Reply With Quote
Old 06-23-2008, 06:59 PM   #3
darkwulfv
Alpha Male of Wc3c
 
darkwulfv's Avatar


Official Map Reviewer
 
Join Date: Mar 2006
Posts: 3,646

Submissions (6)

darkwulfv is just really nice (270)darkwulfv is just really nice (270)

Send a message via AIM to darkwulfv
Default

Quote:
So... I know that there are a lot of knockback JESP spell I could work on... but i Simply don't have the time to learn Jass.
Then you're probably out of luck, pal. Unless you can find a good knockback GUI system (heh... oxymoron), you'll have to learn some JASS if you plan on using knockbacks, even if it's as simple as modifying some constants.
__________________
The Spell Request Thread
Quote:
Originally Posted by Joe-Black-5
a dota like map but with unique stuff
(There was no map attached, and that was all the thread said.)
Spells I've Made

Darkwulfv's Lightning Grapple || Tritanis' Lazy Bolt

darkwulfv is offline   Reply With Quote
Old 06-23-2008, 07:05 PM   #4
Kyrbi0
AKA Khyrberos
 
Kyrbi0's Avatar
 
Join Date: May 2008
Posts: 2,945

Submissions (1)

Kyrbi0 is a jewel in the rough (170)Kyrbi0 is a jewel in the rough (170)

Send a message via MSN to Kyrbi0
Default

If you want minimal triggering, there's one solution I can think of:

Create a modified ability that gives a boost of speed to only the casting unit (like Scroll of Speed, but only for the caster). Make sure it has a buff for the duration. Then, create a trigger:

Trigger:
Charge
Collapse Events
Unit - A unit Is attacked
Collapse Conditions
((Attacking unit) has buff Speed Bonus) Equal to True
Collapse Actions
Unit - Cause (Attacking unit) to damage (Attacked unit), dealing 200.00 damage of attack type Pierce and damage type Normal

^Make sure to insert your abilities' buff name in the condition statement.

Then you can do whatever for the actions; create a Dummy Caster who casts a weak Cripple/Slow (to simulate the enemy target being really hurt) or Acid Bomb (to simulate the target getting hurt and bleeding for more damage over time), etc. Or just the "extra damage" part I put in there.

Hope that helped. :P
__________________
My Projects, Resources, + Tutorials: ~Just got back from my mission. Glad to be back. Woot! :P~
=It was brought to my attention recently that the ":P" icon stands for "tongue-sticking out", and not the "smirky half-smile" I was using it for all these years. = Thusly I apologize for any unintentional juvenilization of my messages to anyone so afflicted.=
Kyrbi0 is offline   Reply With Quote
Old 06-24-2008, 09:28 PM   #5
Feroc1ty
User
 
Join Date: Nov 2006
Posts: 304

Feroc1ty is on a distinguished road (14)

Default

I would suggest adding flying to the knight ( no collision ), adding a constant push towards his angle, adding an immolation with no unit effect, but bleeding animation on affected units, and a push back on units touching the knight.
Feroc1ty is offline   Reply With Quote
Old 06-25-2008, 01:05 AM   #6
olavo
User
 
olavo's Avatar
 
Join Date: Dec 2005
Posts: 25

Submissions (1)

olavo has little to show at this moment (4)

Send a message via MSN to olavo
Default

Thx for the suggestion... I Think I'll keep it as simple as:
============================================================
- Knight casts charge (give locust and order to move)
- A units comes near the charging knight (damage the unit and push them away a little giving passage or simply braking the formation)
- Knight comes in range of a defending pikeman or deployed spikes (damage the knight and stop the charge... probably kill the knight)
============================================================

EDIT: ok this is what I got so far:

Trigger:
Collapse Events
Unit - A unit Begins casting an ability
Collapse Conditions
(Ability being cast) Equal to Charge (Neutral Hostile 3)
Collapse Actions
Animation - Play (Casting unit)'s Walk animation
Unit Group - Add (Casting unit) to Charging
Wait 4.00 seconds
Unit Group - Remove (Casting unit) from Charging
Animation - Reset (Casting unit)'s animation

Trigger:
Collapse Events
Time - Every 0.03 seconds of game time
Collapse Actions
Collapse Unit Group - Pick every unit in Charging and do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Terrain pathing at ((Position of (Picked unit)) offset by 15.00 towards (Facing of (Picked unit)) degrees) of type Walkability is off) Equal to False
Collapse Then - Actions
Unit - Move (Picked unit) instantly to ((Position of (Picked unit)) offset by 15.00 towards (Facing of (Picked unit)) degrees), facing (Facing of (Picked unit)) degrees
Collapse Else - Actions
Unit Group - Remove (Picked unit) from Charging
Animation - Reset (Picked unit)'s animation
comments plz
I Was tring to make a CANCELCHARGE TRIGGER:

Trigger:
Collapse Events
Unit - A unit Is issued an order targeting an object
Unit - A unit Is issued an order targeting a point
Unit - A unit Is issued an order with no target
Collapse Conditions
((Ordered unit) is in Charging) Equal to True
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Issued order) Equal to (Order(stomp)) (STOMP is the order string)
Collapse Then - Actions
Do nothing
Collapse Else - Actions
Animation - Reset (Picked unit)'s animation
Unit Group - Remove (Picked unit) from Charging


BUT I GOT A PROBLEM!!!!
the WE isn't recognizing the Charge ability as the STOMP order string... but i checked it on the ability editor... It's simply cancel the charge every time...
The charge is working pretty well without the cancel trigger.
But i want' the charge to be cancelable.
NEED HELP GUYS!!!

I'll work on the damage and knockback latter
__________________
"Damn baby all I need is a lil' bit, not a lot baby girl, just a lil' bit"

Last edited by olavo : 06-25-2008 at 03:15 AM.
olavo is offline   Reply With Quote
Old 06-26-2008, 07:25 AM   #7
Pyrogasm
Lackadaisically Absent.
 
Pyrogasm's Avatar


Respected User
 
Join Date: Sep 2006
Posts: 4,523

Submissions (9)

Pyrogasm is a splendid one to behold (638)Pyrogasm is a splendid one to behold (638)Pyrogasm is a splendid one to behold (638)Pyrogasm is a splendid one to behold (638)Pyrogasm is a splendid one to behold (638)Pyrogasm is a splendid one to behold (638)Pyrogasm is a splendid one to behold (638)

Hero Contest - Fourth place

Send a message via ICQ to Pyrogasm Send a message via AIM to Pyrogasm Send a message via MSN to Pyrogasm Send a message via Yahoo to Pyrogasm
Default

Don't use "Order(stomp)", use the generic preset order strings thing; you've probably just done something wrong. Either that or you changed the order string, and you can't do that because it doesn't work.

And in your first/third triggers, use "Triggering Unit" instead of "Casting Unit" and "Ordered Unit", respectively.
__________________
Quote:
Originally posted by Rising_Dusk
Your spells are mostly ignored because they are not very cool so we aren't very excited to review/approve them, but you are incredibly persistent and won't give us an excuse to graveyard it. That is generally what results in a resource being ignored for a long time.

The Spell Request Thread Done for, unless someone else wants to revive it...
It lasted a damn long time.

Please; Ask for Help Appropriately














Quote:
Originally posted by Kyrbi0
Huh. Almost makes me wish I had a girlfriend, to take advantage of today (wait, no, that's not what I meant... I mean, take advantage of the fact that it is international women's day... gah, never mind).
Quote:
Originally posted by Pyrogasm
Rome may not have been built in a day, but the Romans sure as hell didn't say "look at this great city we built guys!" when they had nothing more than a bit of stone and some cottages.
Pyrogasm is offline   Reply With Quote
Old 06-26-2008, 10:45 AM   #8
Squally425
User
 
Join Date: Aug 2003
Posts: 42

Squally425 has little to show at this moment (0)

Default

You might also like to read a tutorial on GUI leaks while you're at it.
Your actions leak points.
Squally425 is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 08:23 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2019, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services