Project X Forums
http://px.worms2d.info/forum/

Darts - need a lil help :)
http://px.worms2d.info/forum/viewtopic.php?f=15&t=604
Page 1 of 1

Author:  Curtis [ Tue Feb 05, 2013 7:28 pm ]
Post subject:  Darts - need a lil help :)

Hey ppl...

I'm working on a Darts Scheme for PX....

- The Dart Launcher is complete (with animations ) but if you watch the replay you will see that the darts "sink" too much into the landscape when they impact. I tried fooling with sum of the numbers in the script but I can't seem to get it to work right. (It uses same script Zed made for Javelin).
- Also would it be possible to sumhow get the darts to vanish after 10 seconds or turn end?....I tried setting the explosion DMG to 0 and the fuse to 10 but as the dart "Sticks to Landscape" it doesn't really work that way.

Author:  StepS [ Wed Feb 06, 2013 9:51 am ]
Post subject:  Re: Darts - need a lil help :)

once a dart is stick to landscape, its ded. you cannot delete it without hurting landscape - this is a flaw in PX - if you shoot arrows into indy ground and then explode them, there will be gaps in indy ground.

btw how about not using a scripted arrow but rather use a native CArrow?

Author:  PyroMan [ Wed Feb 06, 2013 11:54 am ]
Post subject:  Re: Darts - need a lil help :)

if u need delete arrows - just dont draw landscape on them. Delete and draw sprites only.

Author:  Curtis [ Wed Feb 06, 2013 4:12 pm ]
Post subject:  Re: Darts - need a lil help :)

Thanks for the Replies.......
Will using Carrow fix the depth issue with the dart tips?
- I'm not too sure how to make up a Carrow script StepS. :/ I'd prolly be doing it right now if I could.

Author:  StepS [ Wed Feb 06, 2013 6:15 pm ]
Post subject:  Re: Darts - need a lil help :)

a while ago i experimented with arrow launcher. like zook, but it shoots real CArrow's.
but in your case indeed it would be better using nonlandscape model. an arrow which is stuck in ground does not become ground. it still remains a sprite, and then you can remove it with ease

Author:  Curtis [ Thu Feb 07, 2013 3:24 pm ]
Post subject:  Re: Darts - need a lil help :)

I'll try my best...
- Can I just change parts of the Javelin/Dart Script to accomplish this or does it require a new script.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/