View unanswered posts | View active topics It is currently Mon Jan 13, 2025 8:22 pm



Reply to topic  [ 73 posts ]  Go to page Previous  1, 2, 3, 4, 5
 Hammer R2 - 2010-03-18 
Author Message
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: Hammer R2 - 2010-03-18
I bet you could make dropships with advanced stability with a bit of tweaking to that script.


Tue Mar 23, 2010 8:44 am
Profile WWW
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Hammer R2 - 2010-03-18
This is the stabilization part of the code:
Code:
      if self.RotAngle > 1.5 then
         self.AngularVel = self.AngularVel - 1
      elseif self.RotAngle < -1.5 then
         self.AngularVel = self.AngularVel + 1
      else
         self.AngularVel = self.AngularVel * 0.97
      end


Tue Mar 23, 2010 9:11 am
Profile
A HUMAN BRAIN, SAFELY INSULATED FROM THE TERRORS OF HYPERSPACE
User avatar

Joined: Sun Jan 28, 2007 8:54 pm
Posts: 1070
Location: Somewhere beyond the endless sea of hyperspace, fighting for your right to call a planet home.
Reply with quote
Post Re: Hammer R2 - 2010-03-18
I rather like the one engine flying thing, it's like a final attempt to crash into as many people as you can manage.


Tue Mar 23, 2010 1:04 pm
Profile

Joined: Mon Jan 18, 2010 7:03 pm
Posts: 47
Reply with quote
Post Re: Hammer R2 - 2010-03-18
Can you please tell, where is the mace emitter code? I want to try some tweaking with it, so that it produces more force and less dmg, but cannot find it. I was actually surprised findind the simplicity of repairing rockets - with your lua they actually deliver cargo themselves. A must have.
Also, a small bug, i am still unable to repeat at will - with some dmg to one engine the dropship starts flipping violently, you can see the code trying to fight it back(the ship flyes on side) but failing. Will try to get an img.
Mace still does not always self-destruct or settle. Dont really knw if you need this, but did not see any bugreports here :)


Tue Mar 23, 2010 9:36 pm
Profile

Joined: Sun Oct 11, 2009 7:47 pm
Posts: 132
Reply with quote
Post Re: Hammer R2 - 2010-03-18
Good job with the stability thing.

Image

I was flying around for a bit like that.


Tue Mar 23, 2010 10:53 pm
Profile WWW
User avatar

Joined: Tue Aug 11, 2009 2:42 am
Posts: 321
Location: On an iceberg typing away...
Reply with quote
Post Re: Hammer R2 - 2010-03-18
Oh cool. Could you make so that you can pick up weapons cuz you can already throw it.


Tue Mar 23, 2010 11:27 pm
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Hammer R2 - 2010-03-18
deskup wrote:
Can you please tell, where is the mace emitter code? I want to try some tweaking with it, so that it produces more force and less dmg, but cannot find it. I was actually surprised findind the simplicity of repairing rockets - with your lua they actually deliver cargo themselves. A must have.
Also, a small bug, i am still unable to repeat at will - with some dmg to one engine the dropship starts flipping violently, you can see the code trying to fight it back(the ship flyes on side) but failing. Will try to get an img.
Mace still does not always self-destruct or settle. Dont really knw if you need this, but did not see any bugreports here :)
Bug-reports are always welcome.

The emitter is called Cutter and can be found in Ships.ini. The mace is called Sharp Hammer.


Wed Mar 24, 2010 8:17 am
Profile

Joined: Mon Jan 18, 2010 7:03 pm
Posts: 47
Reply with quote
Post Re: Hammer R2 - 2010-03-18
You stive for bugs? Ok, here is the new stuff :)
Chain and ball ship doent always count killed in mission. Maybe even never, dunno. The one you buy does.
It is here
Image
No longer, look at 6.
Image

Another stuff, enemy dropships flip fro a nimble touch from yours. Will try to make pics of it. Whoops, it is just that they have no lua. Not a bug.

I think I am an idiot, so i am really sorry for that... But wrere is the mass and sharpness? :shock: If I understood it right it refers to heavy digger particles, but there are no such stuff in base/devices/diggers... Can you teach me where to find (and tweak) it, please?


Wed Mar 24, 2010 12:29 pm
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Hammer R2 - 2010-03-18
The cutter emitts a particle that can be found in Base.rte/Ammo.ini. You can create a modified copy of this particle in Hammer.rte/Ships.ini like this:

Code:
      EmittedParticle = MOPixel
         CopyOf = Particle Heavy Digger
         PresetName = Particle Heavy Digger New
         Mass = 0.08
         LifeTime = 15
         Sharpness = 18


Wed Mar 24, 2010 1:36 pm
Profile

Joined: Mon Jan 18, 2010 7:03 pm
Posts: 47
Reply with quote
Post Re: Hammer R2 - 2010-03-18
I really did something wrong...(got lifetime of 150 actually) Thank you so very much for your patience :)

Image


Wed Mar 24, 2010 2:27 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jul 03, 2009 11:05 am
Posts: 3878
Reply with quote
Post Re: Hammer R2 - 2010-03-18
Heh, that's hilarious! :grin:


Wed Mar 24, 2010 2:37 pm
Profile
A HUMAN BRAIN, SAFELY INSULATED FROM THE TERRORS OF HYPERSPACE
User avatar

Joined: Sun Jan 28, 2007 8:54 pm
Posts: 1070
Location: Somewhere beyond the endless sea of hyperspace, fighting for your right to call a planet home.
Reply with quote
Post Re: Hammer R2 - 2010-03-18
Oh, well uh, if you want a bug report, I managed to break a piece of the chain off and maintain full functionality of the ball and chain, I tried grabbing a picture but it didn't come out.

Basically one of the sections of chain broke off and the only thing left was a little rotating ball joint floating half way in the air between the other two sections of chain. Worked just fine though, seemed to even stretch out a little further.


Thu Mar 25, 2010 3:38 pm
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Hammer R2 - 2010-03-18
Good find! The whole chain is supposed to fall apart if a single link or joint break, but sometimes CC reports a Movable Object as valid long after it has settled or been gibbed. That is why I prefer test the object like this:
Code:
if MovableMan:IsParticle(MO) and MO.ClassName ~= "Entity" then
    -- Safe to access MO
Instead of like this:
Code:
if MovableMan:IsParticle(MO) then
    -- MO is safe to access but not guaranteed to exist
But in this case I simply forgot.


Thu Mar 25, 2010 3:53 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 73 posts ]  Go to page Previous  1, 2, 3, 4, 5

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.055s | 13 Queries | GZIP : Off ]