C&C Labs Forums
»
C&C Maps and Modding
»
Generals: Modding
»
Can anybody explain to me ParticleSystem coding?
CaptainJoined: 4/25/2010(UTC) Posts: 84
Thanks: 2 times
|
I've been trying to figure this out for a while now but to no big success. In a particlesystem object there usually is this section of code : Alpha1 = 0.00 0.00 0 Alpha2 = 1.00 1.00 5 Alpha3 = 0.00 0.00 60 Alpha4 = 0.00 0.00 0 Alpha5 = 0.00 0.00 0 Alpha6 = 0.00 0.00 0 Alpha7 = 0.00 0.00 0 Alpha8 = 0.00 0.00 0 Color1 = R:255 G:255 B:255 0 Color2 = R:0 G:0 B:0 0 Color3 = R:0 G:0 B:0 0 Color4 = R:0 G:0 B:0 0 Color5 = R:0 G:0 B:0 0 Color6 = R:0 G:0 B:0 0 Color7 = R:0 G:0 B:0 0 Color8 = R:0 G:0 B:0 0
Now, can someone explain to me what Alpha is for and how the numeric system works? And what is the number after RGB?
Say, if I want to make a flashbang grenade non-transparent (no opacity) what exactly should I do?
|
|
|
|
MajorJoined: 12/18/2011(UTC) Posts: 313 Location: Planet Cutezome
Thanks: 7 times Was thanked: 75 time(s) in 58 post(s)
|
I'll let you in on things I know. (*) Citation Needed Code:
ParticleName = EXexplo03.tga ;The texture it uses
Lifetime = 5.00 5.00 ;Existing Time in Seconds(*)
Size = 2.00 5.00 ;Min size, Max Size
StartSizeRate = 0.00 0.00 ;Starting Size
SizeRate = 1.00 2.00 ;Rate of growth
Alpha1 = 0.00 0.00 0 ;Minimum Transparency(*),Maximum Transparency(*), In what time does it happen?
Alpha2 = 0.00 0.00 0
Alpha3 = 0.00 0.00 0
Alpha4 = 0.00 0.00 0
Alpha5 = 0.00 0.00 0
Alpha6 = 0.00 0.00 0
Alpha7 = 0.00 0.00 0
Alpha8 = 0.00 0.00 0
Color1 = R:0 G:128 B:0 0 ;Red, Green, Blue, In what time does it happen?
Color2 = R:0 G:0 B:0 5
Color3 = R:0 G:0 B:0 0
Color4 = R:0 G:0 B:0 0
Color5 = R:0 G:0 B:0 0
Color6 = R:0 G:0 B:0 0
Color7 = R:0 G:0 B:0 0
Color8 = R:0 G:0 B:0 0
Transparency: 0 - opaque, 1 - fully transparent Edited by user Friday, August 15, 2014 2:15:34 AM(UTC)
| Reason: Not specified |
Death Label: Reduced back to 3 main factions(and a couple of extras). Each faction can choose a(or all of them) tech-tree via General's Powers. Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers Red Skulls: Armor Division, Mecha Armada, Drone Swarm Earth's Saviors: Air Raid, Homeworld Security, Stealth
|
 2 users thanked precision_bomber for this useful post.
|
|
|
CaptainJoined: 4/25/2010(UTC) Posts: 84
Thanks: 2 times
|
Oh alright. Thanks for your help!
|
|
|
|
Users browsing this topic |
Guest
|
C&C Labs Forums
»
C&C Maps and Modding
»
Generals: Modding
»
Can anybody explain to me ParticleSystem coding?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.