Author |
Message |
doomboy1000
Joined: Wed Jun 25, 2008 7:10 am Posts: 6
|
Assist a noob with making a material, and a Bunker Module
So, I'll get right to it. I've just started into the world of CC modding, and I'm completely stumped as to how one goes about making new materials. I see the Materials.ini and the palette.bmp, but I don't know how to work with them. I'd also like to know how to use this new material in a bunker module. Protip: in the end, I want to make a virtually indestructible material (could be concrete or metal) and make a bunker "Tomb" entirely out of this material. I hope you guys can help! I'M SO LOST
|
Sat Jun 27, 2009 8:26 am |
|
|
shadow
Joined: Mon Jan 12, 2009 10:16 pm Posts: 310 Location: England
|
Re: Assist a noob with making a material, and a Bunker Module
The entirely indestructible material thing has been attempted many times. It's impossible.
|
Sat Jun 27, 2009 8:31 am |
|
|
doomboy1000
Joined: Wed Jun 25, 2008 7:10 am Posts: 6
|
Re: Assist a noob with making a material, and a Bunker Module
I see there's a variable called "StructuralIntegrity." Can't I just make that like a bunch of 9s or something?
|
Sat Jun 27, 2009 8:33 am |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Assist a noob with making a material, and a Bunker Module
It is possible.
Just not without ridiculously strong materials and some intuitive coding.
shadow is just saying that the ypsilon has destroyed every "invincible" bunker module.
I think you have to make a material palette including your color and set the RGB values to be the same, or it just sets the material to the closest colored material.
|
Sat Jun 27, 2009 8:34 am |
|
|
doomboy1000
Joined: Wed Jun 25, 2008 7:10 am Posts: 6
|
Re: Assist a noob with making a material, and a Bunker Module
CrazyMLC wrote: I think you have to make a material palette including your color and set the RGB values to be the same, or it just sets the material to the closest colored material. I'm totally new to this. Can you run me through on how to even do that?
|
Sat Jun 27, 2009 8:36 am |
|
|
CrazyMLC
Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
|
Re: Assist a noob with making a material, and a Bunker Module
You make a material. Give that material a color with RGB values. Go into MSPaint or something, make a palette file (palette.bmp) and put in the color you used by making a custom color and putting the RGB values. When you make the material BMP for your module, put the same color where you want it. It should work.
Of course I could know nothing about what I'm talking about. Don't be surprised if it doesn't work.
|
Sat Jun 27, 2009 8:40 am |
|
|
doomboy1000
Joined: Wed Jun 25, 2008 7:10 am Posts: 6
|
Re: Assist a noob with making a material, and a Bunker Module
I added this to the Materials.ini Code: AddMaterial = Material Index = 32 PresetName = Super Chrome Bounce = 0.2 Friction = 0.9 StructuralIntegrity = 18000 DensityKGPerVolumeL = 8.5 GibImpulseLimitPerVolumeL = 15 GibWoundLimitPerVolumeL = 0.1 Priority = 10 SettleMaterial = 182 Color = Color R = 227 G = 125 B = 42 And made a duplicate "Tomb A" (using the mat of the attached image). However, the inside of the tomb still contains dirt from where I place it, and it has no strength at all. A grenade will make the entire thing fall apart. Halp meh!
Attachments:
File comment: How do I shot web?
IMTombAMat.bmp [27.05 KiB]
Not downloaded yet
|
Sat Jun 27, 2009 10:10 pm |
|
|
StealthArcher
Joined: Fri Apr 10, 2009 10:22 pm Posts: 18
|
Re: Assist a noob with making a material, and a Bunker Module
Woundlimit=.1
There's your problem.
|
Sat Jun 27, 2009 10:40 pm |
|
|
carriontrooper
Joined: Mon Apr 13, 2009 12:27 pm Posts: 813 Location: Yogyakarta, Indonesia. A slice o' paradise.
|
Re: Assist a noob with making a material, and a Bunker Module
doomboy1000 wrote: I added this to the Materials.ini And made a duplicate "Tomb A" (using the mat of the attached image). However, the inside of the tomb still contains dirt from where I place it, and it has no strength at all. A grenade will make the entire thing fall apart. Halp meh! dirt still in bunker? You forgot to color the 'inside' of the MAT background purple didn't you? Look at the MAT for the tomb, the 'inside' of the bunker's colored purple. Also, try to change the SettleMaterial thingy into this: IsScrap = 1.
|
Sun Jun 28, 2009 5:06 am |
|
|
|