View unanswered posts | View active topics It is currently Mon Dec 30, 2024 9:25 pm



Reply to topic  [ 20 posts ]  Go to page 1, 2  Next
 Attachables 
Author Message
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Attachables
Aside from redundancy, is it possible to attach attachables to an attachable?
For example, adding an AEmitter with some glows on a helmet?


Tue Feb 15, 2011 5:08 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: Attachables
Yes.
This way you can also make layered armour.


Tue Feb 15, 2011 5:45 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Attachables
Laaaaaayeeereeeeedddd... Hmmm...
Ok, thanks for the information.


Tue Feb 15, 2011 6:49 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: Attachables
Attachables allow for a huge variety of interesting things including weak spots, multi-layer armour and weight changes based on damage. Just remember that each attachable gets you one step closer to the MOID ceiling.


Tue Feb 15, 2011 8:28 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Attachables
MOID ceiling?


Tue Feb 15, 2011 9:11 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Attachables
Hey, I got a problem:
Code:
AddEffect = Attachable
   PresetName = SpecOpsHelm
   AddAEmitter = AEmitter
      CopyOf = Glow Emitter
      ParentOffset = Vector
         X = 1
         Y = 0
   Mass = 3
   Sharpness = 1
   HitsMOs = 0
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = NewWorldIndustries.rte/Actors/SpecialOperationsSoldier/HelmetB.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -8
      Y = -6
   AngularVel = 6

   EntryWound = AEmitter
      CopyOf = Dent Metal Light
   ExitWound = AEmitter
      CopyOf = Dent Metal Light
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Metal
      Resolution = 4
      Depth = 0
   DeepCheck = 0
   JointStrength = 180
   JointStiffness = 0.6
//   BreakWound = AEmitter
//      CopyOf = Wound Bone Break
   JointOffset = Vector
      X = 0
      Y = 0
   DrawAfterParent = 1
   GibImpulseLimit = 1500
   GibWoundLimit = 7


It says it's in line 87; the line with the AddAEmitter = AEmitter.
Help?


Wed Feb 16, 2011 1:35 am
Profile
User avatar

Joined: Tue Mar 16, 2010 7:38 pm
Posts: 447
Location: The Ninth Circle
Reply with quote
Post Re: Attachables
Pretty sure it should be AddEmitter, not AddAEmitter.


Wed Feb 16, 2011 3:37 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Attachables
That fixed it, thanks.


Wed Feb 16, 2011 3:42 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: Attachables
Asklar wrote:
MOID ceiling?
The MOID limit. If you exceed it, the game reacts by deleting MOs and generally acting loopy.


Wed Feb 16, 2011 5:54 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Attachables
D=

Can you explain that in non-pro language?


Wed Feb 16, 2011 6:50 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: Attachables
Every attachable counts as a moving object which needs an ID (generally anything that needs collisions). There are only 256 IDs the game can assign. Once the game has assigned all 256, it starts deleting the earlier ones to make room for new ones.


Wed Feb 16, 2011 6:59 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Attachables
Wait a minute. That means that if I bought about 100 dreadnought (which have like 3 attachables each) the olders ones I buy will become freaks?


Wed Feb 16, 2011 8:55 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: Attachables
Or just explode. Or crash the game. Or make dreadnought parts fly at ridiculous speed everywhere.


Wed Feb 16, 2011 8:59 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Attachables
Now that's something I'll put in my To-Do list.

I've got another question.
I've used an AEmitter which uses lua, and I attached it to a gun.
Would it be posible to attach it into a helmet for example?


Wed Feb 16, 2011 9:13 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: Attachables
If you attach it, its Lua will not function.
The MOID Limit causes much of the damage in crab bombs.
I think it won't allow you to attach a HDFirearm to anything.


Wed Feb 16, 2011 9:19 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 20 posts ]  Go to page 1, 2  Next

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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.030s | 13 Queries | GZIP : Off ]