Page 1 of 1

Interface Tool, Crosshair and Blood?

Posted: Thu Mar 11, 2010 7:43 am
by deagle
Hello,

I've downloaded the Star Wars Battlefront Interface-Tool by Battlebelk. All in all, it works great! But now I've to questions:

The first is, how to edit the crosshair. I know, that there are the reticule_*.tga files. But if I edit the reticule_sniper file, for example with a point in the middle, there is nothing like that ingame. Only the old, normal crosshair.

My 2nd question is, how to add blood. I've seen the bloodspray.fx file in the Effects folder, but I've no idea, what I have to write in the file, that the blood turned on.

Can anybody help me?
Thanks,
Mark

Re: Interface Tool, Crosshair and Blood?

Posted: Thu Mar 11, 2010 7:53 am
by ANDEWEGET
For reticules: You have to work with the Alpha channel. (photoshop: go to channels and add a new channel named alpha) white is visible, black is transparent. Just fill the image with white and define the shape with the alpha channel.

Blood: Depends on when you want the bloodeffect to appear.

Re: Interface Tool, Crosshair and Blood?

Posted: Thu Mar 11, 2010 8:50 am
by deagle
Hey thanks, the crosshair works now! :thumbs:

The blood should spray immediately when I hit a enemy.

Re: Interface Tool, Crosshair and Blood?

Posted: Thu Mar 11, 2010 12:58 pm
by ANDEWEGET
Change the line with <insertsomethingwithsofthere> after the equalsign to your effectname(bloodspray). I dunno if you need the .fx tag or not in the odf. You will have to edit every weapon ord .odf which will cause bloodsprays, munge the asociated sides and replace em in the game.

Re: Interface Tool, Crosshair and Blood?

Posted: Thu Mar 11, 2010 4:00 pm
by deagle
Is there any Mod to download, who all these things are done? I'm not a pro in those things, so I didn't understand you. Which line do you mean, in which file?

Re: Interface Tool, Crosshair and Blood?

Posted: Thu Mar 11, 2010 4:30 pm
by ANDEWEGET
Pity im not on my computer and cant show you a example odf.
Lets take the rep pistol for the example. You copy and paste all the rep files from the assets into your projects side folder, then make the necessary changes to get your side munged(adding a, in this case, Rep folder in your build/side folder. There should be a tut on setting up a new side somewhere.).
Go into rep/odf and open up the rep_weap_inf_pistol_ord.odf. There will be some lines which look somewhat similar. Cant remember the names. I can remember that one of them has 'soft' before the equalsign. Change the part after the equalsign, which should be something with 'ord' to your effects name.

Soft means bodies/units.
The other lines are selfexplanatory, like terrain etc.

If you still dont understand, tomorrow i can show you a example odf.

Re: Interface Tool, Crosshair and Blood?

Posted: Fri Mar 12, 2010 12:40 am
by RogueKnight
ANDEWEGET wrote:(photoshop: go to channels and add a new channel named alpha) white is visible, black is transparent. Just fill the image with white and define the shape with the alpha channel.
I actually didn't know how to do that in PS, thanks!

Re: Interface Tool, Crosshair and Blood?

Posted: Fri Mar 12, 2010 8:37 am
by ANDEWEGET
glad to help :)

Re: Interface Tool, Crosshair and Blood?

Posted: Fri Mar 12, 2010 9:48 am
by deagle
Thanks for your answer, but I didn't understand anything, sorry...

It would be fine, if you can give me an example odf file.

Re: Interface Tool, Crosshair and Blood?

Posted: Sat Mar 13, 2010 7:05 am
by ANDEWEGET
These are the lines i your Ordnance odf that define the effect on impact with specific surfaces:


ImpactEffectSoft = "com_sfx_ord_exp" //hit a unit
ImpactEffectRigid = "com_sfx_ord_exp" //dunno
ImpactEffectStatic = "com_sfx_ord_exp" //objects?
ImpactEffectTerrain = "com_sfx_ord_exp" //hit terrain
ImpactEffectWater = "com_sfx_watersplash_ord" //water
ImpactEffectShield = "com_sfx_ord_exp" //shield
ExpireEffect = "com_sfx_ord_exp" //if you dont hit and the shot expires in the air(i believe)

In your case you would have to edit the Soft line to this.
ImpactEffectSoft = "bloodspray"

Should work, try it out!

Re: Interface Tool, Crosshair and Blood?

Posted: Sat Mar 13, 2010 9:24 am
by deagle
Now, I understand everything what you sayed and I'm sure that it works, but I still don't know, where I've to created folders, that the rep files being created.

Thanks,
mark

Re: Interface Tool, Crosshair and Blood?

Posted: Sat Mar 13, 2010 10:53 am
by ANDEWEGET
Search the FAQs for a side creation tutorial. The SWBF 2 ones works for SWBF 1, too.

Re: Interface Tool, Crosshair and Blood?

Posted: Thu Apr 01, 2010 8:08 am
by deagle
Yeahhh, it works!!
Big THANKS :thumbs:

Re: Interface Tool, Crosshair and Blood?

Posted: Mon Apr 12, 2010 11:37 am
by Szunyi
Hello first of all sry for my bad english but i hope you will understand me:)
i tried to edit my crosshair,but i have some problem whit it.(im a noobie :D )
maybe im wrong but i tried to make it with the following steps:
-get the reticule_sniper file fromthe common.lvl with the Bviewer
-edit with paint.net
-take it back to the common.lvl with Bcompiler.
my problem is that:the paint.net said:"there was an unspecified error while opening the file"
and i think i maked the whole thing with wrong tools , i read everything i found in the net about my problem but i still dont know what i made wrong.
so can somebody make a step-by-step guide(included the tools name) for me?:)

Re: Interface Tool, Crosshair and Blood?

Posted: Mon Apr 12, 2010 3:05 pm
by deagle
So, sorry for my bad english too ;)

First, check that the files aren't write protected(?) (in german "Schreibgeschützt") .
Maybe it's possible, that paint can't save channels or .tga files in general. Try another program that can do that, maybe photoshop, or freeware paint shop pro. Now you've to edit the alpha channel, andewegt sayed this before :wink:

hope that helps

Re: Interface Tool, Crosshair and Blood?

Posted: Wed Apr 14, 2010 1:59 pm
by Szunyi
thx a lot it works^^ the problem was i used wrong tools:)

Re: Interface Tool, Crosshair and Blood?

Posted: Sat Apr 14, 2018 7:03 pm
by noctisspector
ANDEWEGET wrote:For reticules: You have to work with the Alpha channel. (photoshop: go to channels and add a new channel named alpha) white is visible, black is transparent. Just fill the image with white and define the shape with the alpha channel.

Blood: Depends on when you want the bloodeffect to appear.
Is there a way to do this without channel editing. I have Photoshop elements, so i cant do that :(