gametechmods

Robot Arena => General Support => Topic started by: 40757 on July 31, 2009, 09:20:10 PM

Title: Component Text File
Post by: 40757 on July 31, 2009, 09:20:10 PM
I've noticed how for every skinned component you make, you need a text document to go along with it. Where would I find that?
Title: Component Text File
Post by: Doomkiller on July 31, 2009, 09:26:19 PM
Depends, in dsl its usually in the components folder, just look for the txts.
In stock, however' u need to get into the components.cfz file, which may be hard ( As i havnt done it)
Title: Component Text File
Post by: 40757 on July 31, 2009, 09:40:01 PM
It's stock for anybody wondering.
Title: Component Text File
Post by: Sage on July 31, 2009, 10:04:57 PM
ahh, you need the unCFL. its on the download page under tools i believe. put the uncfl.exe in your main RA2 folder and drag the components.cfl onto it. then delete the components.cfl. all your component's text files are now in your components folder.
Title: Component Text File
Post by: 40757 on July 31, 2009, 10:42:57 PM
Thanks Sage, I'll try it out later.
Title: Component Text File
Post by: DuckRA2 on July 31, 2009, 11:57:55 PM
I use the cfz compiler thingy
Title: Component Text File
Post by: JoeBlo on August 01, 2009, 12:17:34 AM
yeah I use Lu-Tze's CFZ de-compiler all the time
Title: Component Text File
Post by: ACAMS on August 01, 2009, 12:19:10 AM
All he has to do is make a simple txt file......why make it hard on him????
Title: Component Text File
Post by: DuckRA2 on August 01, 2009, 12:22:57 AM
Oh yes, I remember ACAMS trying to explain how to get the text files..........
Title: Component Text File
Post by: ACAMS on August 01, 2009, 12:47:16 AM
You don't "get" them....you just make a simple .txt file.
 
LIKE THIS
 
Code: [Select]
name = Component name
preview = Component_preview.bmp (and make sure you have a pic in the folder)
dir = (folder where you put the .gmf and preview pic)
model = component name.gmf
type = extras (weapons....whatev)
base = Component (Weapons....whatev)
styles = Default
description = reskinned component
damagesounds = sounds\chorus_metal_tink.wav
attachsound = sounds\cmp_generic.wav
Mass =200
hitpoints = 9700
concussion = 8
fracture =6
piercing = 1.3
standard = 1
Hidden = 0

You can also add this....
 
styles = Component, componentgreen.txt, Green Component, Componentblue.txt, Blue Component, Componentred.txt, Red Component
And put the green, blue and red .txt in the styles folder
 
 
Then put it in the Components folder and make sure you have the .gmf and preview and such