| Author | Message | 
        
			| Callidus 
					Joined: Thu Jan 07, 2010 1:18 am
 Posts: 19
   |   A chain whipWould 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 [ 620.8 KiB | Viewed 5505 times ]
 
 | 
		
			| Sat Jul 24, 2010 8:13 pm | 
					
					   | 
	
	
		|  | 
	
			| spungypirate 
					Joined: Tue Feb 16, 2010 6:07 am
 Posts: 98
   |   Re: A chain whipHmm, 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 | 
					
					   | 
	
	
		|  | 
	
			| carriontrooper 
					Joined: Mon Apr 13, 2009 12:27 pm
 Posts: 813
 Location: Yogyakarta, Indonesia. A slice o' paradise.
   |   Re: A chain whipThis 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 | 
					
					       | 
	
	
		|  | 
	
			| hax 
					Joined: Tue Aug 11, 2009 2:42 am
 Posts: 321
 Location: On an iceberg typing away...
   |   Re: A chain whip
 
 | 
		
			| Sun Jul 25, 2010 6:47 am | 
					
					   | 
	
	
		|  | 
	
			| CCnewplayer 
					Joined: Wed Feb 24, 2010 11:00 pm
 Posts: 255
 Location: Unknow
   |   Re: A chain whipThis isn't too hard , you can make 14 sprites then put them together. 
 
 | 
		
			| Sun Jul 25, 2010 11:38 am | 
					
					   | 
	
	
		|  | 
	
			| 411570N3 
					Joined: Wed Jan 07, 2009 10:26 am
 Posts: 4074
 Location: That quaint little British colony down south
   |   Re: A chain whipThat 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 | 
					
					     | 
	
	
		|  | 
	
			| spungypirate 
					Joined: Tue Feb 16, 2010 6:07 am
 Posts: 98
   |   Re: A chain whipWhich 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 | 
					
					   | 
	
	
		|  | 
	
			| Lizardheim DRL Developer 
					Joined: Fri May 15, 2009 10:29 am
 Posts: 4107
 Location: Russia
   |   Re: A chain whipOne 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 | 
					
					   | 
	
	
		|  | 
	
			| TorrentHKU Loose Canon 
					Joined: Sun Mar 29, 2009 11:07 pm
 Posts: 2992
 Location: --------------->
   |   Re: A chain whipLike 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 | 
					
					     | 
	
	
		|  | 
	
			| CCnewplayer 
					Joined: Wed Feb 24, 2010 11:00 pm
 Posts: 255
 Location: Unknow
   |   Re: A chain whipYes , 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 | 
					
					   | 
	
	
		|  | 
	
			| Lizardheim DRL Developer 
					Joined: Fri May 15, 2009 10:29 am
 Posts: 4107
 Location: Russia
   |   Re: A chain whipBecause the engine only lets you have two frames :3 
 
 | 
		
			| Sun Jul 25, 2010 8:46 pm | 
					
					   | 
	
	
		|  | 
	
			| CrazyMLC 
					Joined: Fri Dec 22, 2006 4:20 am
 Posts: 4772
 Location: Good news everyone!
   |   Re: A chain whipBullets 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 | 
					
					     | 
	
	
		|  | 
	
			| CCnewplayer 
					Joined: Wed Feb 24, 2010 11:00 pm
 Posts: 255
 Location: Unknow
   |   Re: A chain whipHow they can , almost every bullet comes from inside of your weapon so how they can? 
 
 | 
		
			| Mon Jul 26, 2010 9:39 pm | 
					
					   | 
	
	
		|  | 
	
			| dragonxp 
					Joined: Wed Sep 09, 2009 3:16 am
 Posts: 3032
 Location: Somewhere in the universe
   |   Re: A chain whipMove the muzzle offset of a vanilla gun back 5 pixels and change this: FireIgnoresThis = 1 to FireIgnoresThis = 0now try shooting the gun.
 
 
 | 
		
			| Mon Jul 26, 2010 9:42 pm | 
					
					   | 
	
	
		|  | 
	
			| 411570N3 
					Joined: Wed Jan 07, 2009 10:26 am
 Posts: 4074
 Location: That quaint little British colony down south
   |   Re: A chain whipCCnewplayer 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 | 
					
					     | 
	
	
		|  | 
	
	
		|  |