View unanswered posts | View active topics It is currently Wed Jul 03, 2024 8:22 am



Reply to topic  [ 15 posts ] 
 A chain whip 
Author Message

Joined: Thu Jan 07, 2010 1:18 am
Posts: 19
Reply with quote
Post 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 4454 times ]


Sat Jul 24, 2010 8:13 pm
Profile

Joined: Tue Feb 16, 2010 6:07 am
Posts: 98
Reply with quote
Post 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.


Sun Jul 25, 2010 12:47 am
Profile
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post 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...


Sun Jul 25, 2010 5:46 am
Profile YIM WWW
User avatar

Joined: Tue Aug 11, 2009 2:42 am
Posts: 321
Location: On an iceberg typing away...
Reply with quote
Post Re: A chain whip
Use search?


Sun Jul 25, 2010 6:47 am
Profile
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post Re: A chain whip
This isn't too hard , you can make 14 sprites then put them together.


Sun Jul 25, 2010 11:38 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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.


Sun Jul 25, 2010 1:00 pm
Profile WWW

Joined: Tue Feb 16, 2010 6:07 am
Posts: 98
Reply with quote
Post 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.


Sun Jul 25, 2010 7:06 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post 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.


Sun Jul 25, 2010 7:10 pm
Profile
Loose Canon
User avatar

Joined: Sun Mar 29, 2009 11:07 pm
Posts: 2992
Location: --------------->
Reply with quote
Post 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.


Sun Jul 25, 2010 7:52 pm
Profile WWW
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post 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? :)


Sun Jul 25, 2010 8:34 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: A chain whip
Because the engine only lets you have two frames :3


Sun Jul 25, 2010 8:46 pm
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post 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.


Mon Jul 26, 2010 5:31 am
Profile WWW
User avatar

Joined: Wed Feb 24, 2010 11:00 pm
Posts: 255
Location: Unknow
Reply with quote
Post Re: A chain whip
How they can , almost every bullet comes from inside of your weapon so how they can?


Mon Jul 26, 2010 9:39 pm
Profile
User avatar

Joined: Wed Sep 09, 2009 3:16 am
Posts: 3032
Location: Somewhere in the universe
Reply with quote
Post 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.


Mon Jul 26, 2010 9:42 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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.


Tue Jul 27, 2010 8:13 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 15 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.035s | 15 Queries | GZIP : Off ]