Jump to content


Photo

Decal placement after death


  • Please log in to reply
6 replies to this topic

#1 cookie

cookie
  • Members
  • 13 posts

Posted 31 May 2009 - 07:53 AM

Okay guys, I need a bit of help!

So, I've used similar coding to the blood used in Rise of Rome, when the blood sprays, and a decal is placed
on the ground after death yeah?

and this is what happens...

Attached File  BFME_2_death.bmp   1.05MB   83 downloads

Okay, so this is my code in
fxlist.ini
CODE
FXList FX_InfantryDeath
ParticleSystem
Name = InfantryDeath
End
DynamicDecal
DecalName = SCCInfantryDeath
Size = 5
Color = R:180 G:20 B:20

OpacityStart = 0
OpacityFadeTimeOne = 1000
OpacityPeak = 255
OpacityPeakTime = 750
OpacityFadeTimeTwo = 5000
OpacityEnd = 100

StartingDelay = 0
Lifetime = 9999999
End
End


and this is my directory for the decal:

C:\WAR Mod\art\compiledtextures\sc\sccinfantrydeath.dds

Im pretty sure the rest of the coding is alright
It could also be a problem with the decal itself... i'm not really too sure how an alpha channel works let alone in
GIMP... could someone please clarify or lead me to a quality GIMP tutorial for such a matter?
thanks guys :p

#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 31 May 2009 - 08:43 AM

Did you create an asset.dat? look on the3rdage.net for the assetbuilder and a tutorial on how to use it :p
Ridder Geel

#3 cookie

cookie
  • Members
  • 13 posts

Posted 31 May 2009 - 09:11 AM

Did you create an asset.dat? look on the3rdage.net for the assetbuilder and a tutorial on how to use it :p


yeah i created an asset.dat
im not sure if im doing the right thing with the decal though... what should it look like?
and which bits should be alpha'd and stuff?
I'm really unknowledgable about alphas arghhh

#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 31 May 2009 - 09:57 AM

well... you should have part of the TGA be "see through" when you open it with your image editing program, if its not then thats the problem :p
Ridder Geel

#5 cookie

cookie
  • Members
  • 13 posts

Posted 31 May 2009 - 01:52 PM

well... you should have part of the TGA be "see through" when you open it with your image editing program, if its not then thats the problem :D


ahhh really? hangon, so then what do I draw? If i wanted to draw a pool of blood, how would i draw it then, if everythings just see through from
the alpha channel?
this is frikn confusing hahahha :p

#6 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 31 May 2009 - 02:07 PM

I suggest you find some alpha channel tutorial, such as how it works :D I cant really explain it in a way you would understand :p
Ridder Geel

#7 cookie

cookie
  • Members
  • 13 posts

Posted 01 June 2009 - 06:32 AM

lol kk ill try find one
thanks




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users