Data Realms Fan Forums
http://45.55.195.193/

A chain whip
http://45.55.195.193/viewtopic.php?f=75&t=19326
Page 1 of 1

Author:  Callidus [ Sat Jul 24, 2010 8:13 pm ]
Post subject:  A chain whip

Would it be possible to create a handheld chain whip similar to the chain in the Hammerfall mod
(http://forums.datarealms.com/viewtopic.php?f=61&t=18109&hilit=hammerfall)
using the same physics to preform some sort of attack that makes a whipping motion like so:
Attachment:
Whipping motion.bmp
Whipping motion.bmp [ 620.8 KiB | Viewed 4476 times ]

Author:  spungypirate [ Sun Jul 25, 2010 12:47 am ]
Post subject:  Re: A chain whip

Hmm, I dunno, that sounds like fun.
I would think that for it to work the way you described it, each section of the whip would have to be individual and still be connected to the other links to make it whip right. Given CC's wonky physics and engine, I doubt it would work right.
The only thing I can think of that is similar is the Hammership mod someone made, I am not sure who. But it was a drop ship with a giant "chain" coming down from it that let you swing it into folks. Even something that large behaved strangely.
Also, I don't think its possible for weapons to operate that way, as far as I can tell, they need an "attack" to happen when you click fire, and it has to fire something, it can't just make the whip crack.
You would have better luck having it shoot a particle or something to simulate the whips effect while making the weapon model waggle about. Atleast, thats what I would think of how to do it.

Author:  carriontrooper [ Sun Jul 25, 2010 5:46 am ]
Post subject:  Re: A chain whip

This could theoretically be made using chain physics of the Hammerfall and the swinging motion of the Axe Cop's Axe. But I don't know how to implement them properly...

Author:  hax [ Sun Jul 25, 2010 6:47 am ]
Post subject:  Re: A chain whip

Use search?

Author:  CCnewplayer [ Sun Jul 25, 2010 11:38 am ]
Post subject:  Re: A chain whip

This isn't too hard , you can make 14 sprites then put them together.

Author:  411570N3 [ Sun Jul 25, 2010 1:00 pm ]
Post subject:  Re: A chain whip

That is a vastly oversimplified state of affairs. You also have to write the extensive and incredibly optimised code in order to make it work in any reasonable sense.

Author:  spungypirate [ Sun Jul 25, 2010 7:06 pm ]
Post subject:  Re: A chain whip

Which is what I meant. If anyone has seen that large pillar mod someone made a while ago, I forget what it was called, it had a large pyramid structure made up of individual smaller blocks to make a large, physicy building that could be destroyed. However, due to engine limitations, it didn't work that well and basically showed that things like that won't work very well in CC.

Your absolutely right CCnewplayer, to make the weapon would be easy, to make it function like the OP wants, would be damn near impossible.

Author:  Lizardheim [ Sun Jul 25, 2010 7:10 pm ]
Post subject:  Re: A chain whip

One could always just have it sprite based instead, and that the whip is held together with the handle when not used, then doing a whipping motion.
One wouldn't need a that complicated Lua script for that.

Author:  TorrentHKU [ Sun Jul 25, 2010 7:52 pm ]
Post subject:  Re: A chain whip

Like hax said, The ISME Bindweed is already made and is all sorts of whip-y physics-y goodness. Just try not to kill yourself.

Author:  CCnewplayer [ Sun Jul 25, 2010 8:34 pm ]
Post subject:  Re: A chain whip

Yes , we don't need lua , when you shoot the bullets can't hurt their weapon( gun that fired them ) and CC changes weapons' frames when you shoot so , you can shoot without damaging your weapon and CC will automatically change the frames , so why lua when you have an engine? :)

Author:  Lizardheim [ Sun Jul 25, 2010 8:46 pm ]
Post subject:  Re: A chain whip

Because the engine only lets you have two frames :3

Author:  CrazyMLC [ Mon Jul 26, 2010 5:31 am ]
Post subject:  Re: A chain whip

Bullets can damage their gun.
HeldDevices would be ideal since they don't shoot anything, but
The engine doesn't automatically pick frames for you. It only does that for the arms and legs.

So basically everything you said is wrong.


Try modding yourself before you go misleading people, CCnewplayer, it's starting to get on my nerves.



Anyway, like hax and Hyperkultra posted, the ISME Bindweed might satisfy you until someone makes a chain whip.

Author:  CCnewplayer [ Mon Jul 26, 2010 9:39 pm ]
Post subject:  Re: A chain whip

How they can , almost every bullet comes from inside of your weapon so how they can?

Author:  dragonxp [ Mon Jul 26, 2010 9:42 pm ]
Post subject:  Re: A chain whip

Move the muzzle offset of a vanilla gun back 5 pixels and change this: FireIgnoresThis = 1 to FireIgnoresThis = 0
now try shooting the gun.

Author:  411570N3 [ Tue Jul 27, 2010 8:13 am ]
Post subject:  Re: A chain whip

CCnewplayer wrote:
How they can , almost every bullet comes from inside of your weapon so how they can?
Please stop commenting in threads unless you are able to offer correct, relevant information.

Anyway, implementing the hammer dropship's code to a weapon is quite difficult, as we don't currently have easy access to held items via Lua. However, once we do, you might be able to produce something similar to what you want using the chain code with some additional code to make it somewhat stiff.

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