• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

A Realistic Arrow

Status
Not open for further replies.
Level 7
Joined
Mar 24, 2008
Messages
184
Hi,
first of all i have to say i wasn't sure where to post it.
Now, back to the point, in a cinematic i have a unit sniping on some other units, since i wanted the camera to follow the arrows, i've made some dummy units with arrows model and set a very high speed for them (also changed max speed in game costants).

The problem is that i don't like how the arrow flies to the target (since there are some imperfections in the terrain i can't remove). at the moment i've set the movement type of the arrow to "levitate" and i can't set to "fly" since there are trees in the area and they'll make the arrow fly over the trees, not under.
I would like to know if there is some way to make it look better or if there is a better solution (even an efficient way to make the camera follow a normal arrow will do :wink: ), also i would like to emulate the 0.15 arc the arrow should make (the only solution i thought was to try with the druid of the claw trick, but haven't tried yet, what do you think?)
 
Level 17
Joined
Apr 13, 2008
Messages
1,608
You can just destroy the arrow when it comes near a tree and the flying height trick should help too.
I don't think I would use a unit as an arrow, unless it is a cinematic only skill. I would rather use a doodad, you can lock cameras to doodads as well, right?

By the way, if you get too confused you might want to use one of the existing archer systems:
http://www.hiveworkshop.com/resourc...der_field=time_update&order=desc&search=arrow
 
Level 7
Joined
Mar 24, 2008
Messages
184
yeah, it will always fly over trees, not under them, no matter the flying height, though i'm pretty sure there is some option to make flying units go under trees.

And yeah it's just for a cinematic and just for 2 arrows so i don't want to use too much complicated things (only if i really must :p)

I don't get it, what's the point in destroying the arrow when it's near a tree?

And don't worry about confusion :)
 
Level 7
Joined
Mar 24, 2008
Messages
184
if i use a land movement type, like floating (as i'm doing now), it works fine with trees, the problem then is a terrain imperfection i've tried to modify but for some reasons i can't.
So...
Flying = No good cause of trees
Levitate (not sure how it's called in english) = No good cause of terrain
Other Kinds of movement = just like levitate but worse...

A flying unit going under trees would be nice :p
 
Level 12
Joined
Mar 16, 2006
Messages
992
if i use a land movement type, like floating (as i'm doing now), it works fine with trees, the problem then is a terrain imperfection i've tried to modify but for some reasons i can't.
So...
Flying = No good cause of trees
Levitate (not sure how it's called in english) = No good cause of terrain
Other Kinds of movement = just like levitate but worse...

A flying unit going under trees would be nice :p

An easier way to do this would be just to limit the amount of trees in the cinematic area, so that it could just fly THROUGH them instead of OVER them.
 
Level 7
Joined
Mar 24, 2008
Messages
184
to be precise, there is just one tree, and it's the one where the cinematic starts (archer sniping while staying behind a tree), so it's the only one i can't remove...tried to make the arrow spawn a bit further but i just don't like it. I could simply keep things as they are now but if there's a way to make it look more "realistic" would be really nice to do.
Something i haven't tried yet is to turn collision off for the arrow (atm can't try, formated PC yesterday, still installing stuff)
 
Level 12
Joined
Mar 16, 2006
Messages
992
to be precise, there is just one tree, and it's the one where the cinematic starts (archer sniping while staying behind a tree), so it's the only one i can't remove...tried to make the arrow spawn a bit further but i just don't like it. I could simply keep things as they are now but if there's a way to make it look more "realistic" would be really nice to do.
Something i haven't tried yet is to turn collision off for the arrow (atm can't try, formated PC yesterday, still installing stuff)


Something else you could do, is making a copy of the tree doodad and setting the path to none.

That way things could walk right through it.
 
Level 15
Joined
Jan 16, 2008
Messages
1,244
Or you can play with the camera. It's a cinematic so you can do camera things with no worries. Set the camera directly behind the shooter and trigger it so that when he/she attacks, the camera surges forward. It could be tricky to set the speed but not too tricky. The terrain height should not be a big problem unless you have expressed falls or hills in the path.
 
Level 6
Joined
Dec 13, 2004
Messages
320
Object editor:
Movement - Height = 0.75
Movement - Type = Fly
that's what i use for my 'spirits' which need to be able to go through anything yet remain at ground level. also, i gave my spirits locust, not sure if it has an effect or not. since it's a cinematic this shouldn't create any problems.
 
Level 7
Joined
Mar 24, 2008
Messages
184
i solved by setting the (don't know the exact name in english editor) height at where flying units will fly over the object to 0 in the tree settings :thumbs_up:

Now i have another problem, can't make the arc the arrow is supposed to do since it won't rotate while rising in the sky, but well, i'm fine with a straight arrow atm :smile:
 
Status
Not open for further replies.
Top