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

Bow/Arrow Weps
http://px.worms2d.info/forum/viewtopic.php?f=13&t=445
Page 1 of 2

Author:  Curtis [ Thu Jul 05, 2012 7:01 am ]
Post subject:  Bow/Arrow Weps

Merged into other LIB - can now be found here :
viewtopic.php?f=13&t=469

Author:  Twicken [ Sat Jul 07, 2012 7:21 am ]
Post subject:  Re: Bow / Arrow Weps Lib

kudos, this is looking good :) BTW your raining moles is awesome :)

Author:  Twicken [ Wed Jul 11, 2012 2:30 pm ]
Post subject:  Re: Bow / Arrow Weps Lib ( Final )

one thing i noticed is that its easy to trap yourself under infinity longbow arows if you dont have any more explosives. maybe add fire punch?

Author:  Curtis [ Thu Jul 12, 2012 4:32 am ]
Post subject:  Re: Bow / Arrow Weps Lib ( Final )

Twicken I added another bolt so if you get trapped you can also attack ( assuming you ahve sum left xP )

Author:  Twicken [ Fri Jul 27, 2012 2:05 pm ]
Post subject:  Re: Bow / Arrow Weps Lib ( Added Windy Arrow )

oo updates :) ill have to check out the new bows

Author:  StepS [ Sun Jul 29, 2012 11:17 pm ]
Post subject:  Re: Bow / Arrow Weps Lib ( FIXED )

Curtis wrote:
REMINDER: the scheme included uses Rubberworm and the gravity is set at 0.1 ("/gravity1").
If you wish to use the scheme on different maps other than the ones included then
set the grav to normal ("/gravity12) and that way the arrows will all fall to gravity
with the exception of normal arrows (Longbow arrows). The reason the grav is set
so low is because in PX Map Editor one gigantic forcefield covers the entire map with
Y=25 which is why the longbow arrows fall to gravity and also why rubberworm grav was
needed to compensate. If you want the longbow arrows to fly farther then simply lower the Y
value in PX Map Editor.

hm? first, what happened to the GravityFactor, and second, forcefield? :shock: what for

Author:  Curtis [ Mon Jul 30, 2012 3:09 pm ]
Post subject:  Re: Bow / Arrow Weps Lib ( FIXED )

hm? first, what happened to the GravityFactor, and second, forcefield? what for


Steps - The only way i could make the longbow arrows fall to gravity was to create a forcefield with map editor that is basically the whole siz of the map.........but if rubberworm grav is normal and the forcefield exists then worm's dont jump very high so rubberworm is set at very low grav, it just kinda evens it out......Gravity Factor - hmm I'm not sure what you mean......I'm not very skilled with the scripting yet but If there is a way to change longbow gravity within the LIB i would love to hear it....although when grav is affected by rubberworm and Px MapED you get these really cool slow motion death animations.....

Author:  StepS [ Mon Jul 30, 2012 3:19 pm ]
Post subject:  Re: Bow / Arrow Weps Lib ( FIXED )

Curtis wrote:
Gravity Factor - hmm I'm not sure what you mean

Image

Image

Curtis wrote:
oh btw Steps this whole scheme was built from your "Crazy Jumps" scheme lol.....

ölolol such an old stuff :oops: :D

Author:  Curtis [ Tue Jul 31, 2012 9:20 am ]
Post subject:  Re: Bow / Arrow Weps Lib ( FIXED )

You can''t change the gravity for normal longbow arrows with the scheme eidtor......thats why i usd the forcefields StepS.....

Author:  StepS [ Tue Jul 31, 2012 10:41 pm ]
Post subject:  Re: Bow / Arrow Weps Lib ( FIXED )

Curtis wrote:
You can''t change the gravity for normal longbow arrows with the scheme eidtor......thats why i usd the forcefields StepS.....

normal longbow arrows don't fall until end anyway ;)
in any case you can override void CArrow::Message to give them any behavior (changing speeds at will, GravityFactor, etc, etc). Thankfully arrows are a CGObject when flying (unlike dragonballs or flames, for example), so pretty much about usual objects works for them.

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