View unanswered posts | View active topics It is currently Tue Oct 08, 2024 10:51 pm



Reply to topic  [ 7 posts ] 
 Fixed ,actor gets killed by own bullet 
Author Message
User avatar

Joined: Fri Oct 16, 2009 7:45 pm
Posts: 72
Reply with quote
Post Fixed ,actor gets killed by own bullet
basicly the projectile i shoot crushes the actor that shoots it(projectile is being spawned inside the actor), ive been trying to fiddle with:
Code:
   EjectionOffset = Vector
      X = 20
      Y = -1


but so far no luck , might just be the wrong thing i'm editing , any help is greatly apriciated
ive added the mod just in case

Edit: thanks for the info , that made most things clear


Attachments:
BallLauncher.rte.rar [1.54 KiB]
Downloaded 176 times


Last edited by dutchsmoker on Wed Oct 28, 2009 11:23 am, edited 1 time in total.

Tue Oct 27, 2009 9:31 pm
Profile
Banned
User avatar

Joined: Thu May 14, 2009 9:22 pm
Posts: 826
Location: Lookin' forward to mocking people on Jan 1st 2013.
Reply with quote
Post Re: EjectionOffset Prob,actor gets killed by own bullet
Well, that either means the barreloffset is too far behind, or the recoil is more than the actor can handle.


Tue Oct 27, 2009 9:55 pm
Profile YIM
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: EjectionOffset Prob,actor gets killed by own bullet
It is the mass of the ball. The ball is 300 KG, too heavy for normal actors to handle the recoil of.
Also, the EjectionOffset is where the shell of a round comes out, MuzzleOffset is what you want to change for where the round comes out.


Tue Oct 27, 2009 9:58 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: EjectionOffset Prob,actor gets killed by own bullet
PS with FireIgnoresThis = 1 the rounds won't hit the gun or the parent actor anyways


Wed Oct 28, 2009 12:05 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: EjectionOffset Prob,actor gets killed by own bullet
But the recoil will crush them anyway.
You could add a Lua script to increase the weight of the bullet after it leaves the barrel though; look at Shook's Serious Cannon in his Hueg Pack'o'Mods.


Wed Oct 28, 2009 5:54 am
Profile WWW
User avatar

Joined: Sat Mar 28, 2009 2:33 pm
Posts: 718
Reply with quote
Post Re: Fixed ,actor gets killed by own bullet
or spawn a light aemitter that shoots the bullet (if your lua-phobic)


Thu Oct 29, 2009 8:41 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Fixed ,actor gets killed by own bullet
It is actually more difficult to do it with AEmitters than with Lua. Here's the Lua script:
Code:
function Create(self)
   self.Mass = (insert mass you want here)
end

With the AEmitter method, you would have to make two objects instead of one.
  • Requested MOSRotating with 3000KG mass
  • Fired AEmitter with ~1KG mass
Approximately 20-some extra lines of ini code, most of which is just setting up the basic properties of your AEmitter.


Thu Oct 29, 2009 8:50 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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.078s | 15 Queries | GZIP : Off ]