View unanswered posts | View active topics It is currently Wed Jan 08, 2025 5:41 am



Reply to topic  [ 11 posts ] 
 Attachables 
Author Message
User avatar

Joined: Thu Dec 11, 2008 11:53 pm
Posts: 73
Location: In the pickle jar in your fridge
Reply with quote
Post Attachables
ok so i've got an Attachable... how do i attach it to my Weapon? I'm Guessing some kind of line like

Code:
 AddEffect = Attachable
        CopyOf = ...


in the coding under the HDFirearm


Wed Jan 28, 2009 5:17 am
Profile
User avatar

Joined: Thu Dec 11, 2008 11:53 pm
Posts: 73
Location: In the pickle jar in your fridge
Reply with quote
Post Re: Attachables
whoops... can someone move this to Mod Making please?

EDIT: thank you


Wed Jan 28, 2009 5:18 am
Profile
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: Attachables
This is a line from one of my codes:
Code:
   AddAttachable = Attachable
      CopyOf = Tek Mech Heavy Chest Plate
      ParentOffset = Vector
         X = 3
         Y = -2


Be sure to define the attachable first... But that's obvious.


Wed Jan 28, 2009 6:06 am
Profile
User avatar

Joined: Thu Dec 11, 2008 11:53 pm
Posts: 73
Location: In the pickle jar in your fridge
Reply with quote
Post Re: Attachables
PERFECT, thank you...


Wed Jan 28, 2009 6:22 am
Profile
User avatar

Joined: Sun Jun 10, 2007 2:05 am
Posts: 426
Reply with quote
Post Re: Attachables
Hm, I have a question and I don't really think it needs it's own thread... can you attach emitters to explosives, to make an air-detonation rocket?


Wed Jan 28, 2009 7:31 pm
Profile
User avatar

Joined: Mon Aug 18, 2008 5:29 pm
Posts: 607
Location: Ukraine,Odessa in the ASC bunker-base
Reply with quote
Post Re: Attachables
Well there is an attached emitter on my photon grenade in Tau mod .


Wed Jan 28, 2009 8:49 pm
Profile
User avatar

Joined: Thu Dec 11, 2008 11:53 pm
Posts: 73
Location: In the pickle jar in your fridge
Reply with quote
Post Re: Attachables
Solace wrote:
Hm, I have a question and I don't really think it needs it's own thread... can you attach emitters to explosives, to make an air-detonation rocket?

based on my 2 day knowledge on this, i'm pretty sure you can


Wed Jan 28, 2009 11:51 pm
Profile
User avatar

Joined: Thu Dec 11, 2008 11:53 pm
Posts: 73
Location: In the pickle jar in your fridge
Reply with quote
Post Re: Attachables
Another question... can an Attachable be an AEmitter?

i've tried

Code:
AddAttachable = AEmitter
         CopyOf = ...


But it doesn't seem to work


Thu Jan 29, 2009 12:16 am
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Attachables
You have to use AddEmitter instead of AddAttachable for emitters.


Thu Jan 29, 2009 12:59 am
Profile
User avatar

Joined: Thu Dec 11, 2008 11:53 pm
Posts: 73
Location: In the pickle jar in your fridge
Reply with quote
Post Re: Attachables
Duh102 wrote:
You have to use AddEmitter instead of AddAttachable for emitters.


Nope Doesn't work... well maybe someone can take a gander at it for me and see if they can fix it.

Attachment:
Rifle.ini.zip


it's the laser Pointer Target Emitter/Particle that seems to be the problem...

Attachment:
Chinese_AK-47.png


Last edited by Coops150 on Fri Feb 27, 2009 7:21 am, edited 1 time in total.



Thu Jan 29, 2009 4:29 am
Profile
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: Attachables
Coops150 wrote:
Another question... can an Attachable be an AEmitter?

i've tried

Code:
AddAttachable = AEmitter
         CopyOf = ...


But it doesn't seem to work



Here's a snip of my code from my flamethrower... You can attach emitters to pretty much anything.

Code:
   AddEmitter = AEmitter
      CopyOf = Flame Spark
      ParentOffset = Vector
         X = 12
         Y = 2


Thu Jan 29, 2009 4:47 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.051s | 13 Queries | GZIP : Off ]