Interface Tool, Crosshair and Blood?

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Locked
deagle
Private Second Class
Posts: 60
Joined: Wed Mar 10, 2010 4:03 pm

Interface Tool, Crosshair and Blood?

Post 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
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Interface Tool, Crosshair and Blood?

Post 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.
deagle
Private Second Class
Posts: 60
Joined: Wed Mar 10, 2010 4:03 pm

Re: Interface Tool, Crosshair and Blood?

Post by deagle »

Hey thanks, the crosshair works now! :thumbs:

The blood should spray immediately when I hit a enemy.
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Interface Tool, Crosshair and Blood?

Post 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.
deagle
Private Second Class
Posts: 60
Joined: Wed Mar 10, 2010 4:03 pm

Re: Interface Tool, Crosshair and Blood?

Post 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?
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Interface Tool, Crosshair and Blood?

Post 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.
RogueKnight
Space Ranger
Posts: 2512
Joined: Sat Nov 22, 2008 1:50 pm
Projects :: Life. Work.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: Washington, US

Re: Interface Tool, Crosshair and Blood?

Post 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!
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Interface Tool, Crosshair and Blood?

Post by ANDEWEGET »

glad to help :)
deagle
Private Second Class
Posts: 60
Joined: Wed Mar 10, 2010 4:03 pm

Re: Interface Tool, Crosshair and Blood?

Post 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.
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Interface Tool, Crosshair and Blood?

Post 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!
deagle
Private Second Class
Posts: 60
Joined: Wed Mar 10, 2010 4:03 pm

Re: Interface Tool, Crosshair and Blood?

Post 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
User avatar
ANDEWEGET
Ancient Force
Ancient Force
Posts: 1266
Joined: Tue Apr 01, 2008 8:42 am
Location: Germany
Contact:

Re: Interface Tool, Crosshair and Blood?

Post by ANDEWEGET »

Search the FAQs for a side creation tutorial. The SWBF 2 ones works for SWBF 1, too.
deagle
Private Second Class
Posts: 60
Joined: Wed Mar 10, 2010 4:03 pm

Re: Interface Tool, Crosshair and Blood?

Post by deagle »

Yeahhh, it works!!
Big THANKS :thumbs:
Szunyi
Posts: 4
Joined: Sun Apr 11, 2010 5:14 am

Re: Interface Tool, Crosshair and Blood?

Post 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?:)
deagle
Private Second Class
Posts: 60
Joined: Wed Mar 10, 2010 4:03 pm

Re: Interface Tool, Crosshair and Blood?

Post 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
Szunyi
Posts: 4
Joined: Sun Apr 11, 2010 5:14 am

Re: Interface Tool, Crosshair and Blood?

Post by Szunyi »

thx a lot it works^^ the problem was i used wrong tools:)
noctisspector
Private
Posts: 33
Joined: Fri Feb 17, 2017 5:27 pm
Projects :: Galactic Saga Mod
Games I'm Playing :: Battlefront 2
xbox live or psn: noctisspector

Re: Interface Tool, Crosshair and Blood?

Post 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 :(
Locked