Page 1 of 2

CreatingBloodhit?

Posted: Fri Jul 02, 2010 11:46 pm
by swado95
Im trying to make an effect so when my guy is shot blood appears on the screen. I know there is sortof an effect like that already but idk where it is or how to slow it down could someone help.

This is the hit effect already in swbf2.
Hidden/Spoiler:
Image

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 4:48 am
by DarthD.U.C.K.
the effect is hardcoded, you cant change or edit it

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 10:14 am
by swado95
U sure. And is there any way to code the same effect expect different looking? Also how do u know its hard coded.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 10:32 am
by sim-al2
If D.U.C.K. say it can't be changed, then without hacking the game it can't be changed.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 10:38 am
by swado95
You know modding swbf2 is basically hacking. Also i want to know how to create that same type of effect.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 11:56 am
by Commander_Fett
swado95 wrote:You know modding swbf2 is basically hacking. Also i want to know how to create that same type of effect.
I disagree with that, but moving on. As duck said, it's hard coded, which means that you'd need the actual game's code to edit it, which was not released with the modtools.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 12:03 pm
by swado95
Ya i understand that. But can i create the same type of effect just different texture and add that on too.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 1:34 pm
by Caleb1117
Possibly with the use of a onhiteffect line in the parent weapon ODF.

Create a new effect that uses the dirt TGA or something. Reskin the dirt effect to be red, and use the proper line, should cause red particles to appear off a person when hit.

You can do that, but it may not have the result you want. It will apply to all entities, meaning the effect will be spawned when hitting NPCs and droids, ect.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 1:38 pm
by swado95
No that not what im trying to get. I want it so when u are hit blood covers ur screen and ONLY you can see it. Like the hit effect already.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 1:39 pm
by Teancum
Can't be done. Plain and simple. As D.U.C.K. already said the red flash is hard coded, and anything else would be an effect that everybody sees. If you want to "hack" the game (modding is not hacking, hacking would be editing without having tools available) then you'll have to dig inside the exe file, and there's nobody here that knows how to help with that.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 2:05 pm
by swado95
I would think that creating ur own hud then using a script would be able to replicate that.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 2:11 pm
by myers73
1. This isnt call of duty....if you want to make a BF2 mod to resemble a superior game..well just play the better game.
2. Modding, like Zerted does, is closer to what hacking is than editing the .exe file, yall are getting Cracking confused with Hacking. Hackers are ethical people that are computer scientist, and they dedicate their lives to solving problems and figuring out new ways to accomplish a task that is more efficient.
3. If you want to pursue changing the red flash, contact «Ê¥Ê$ ØÑL¥», but you will probably only piss him off by asking him for help/to do it for you instead of trying to do it yourself. At any rate, the most you could accomplish is removing the flash all together, unless pendemic and LA packed in other effects that they didnt use.
4. If you made a cheap workaround to force 1st person view, and then spawn an effect in front of your face when hit, effects do move with the entity/hard point they are spawned from, look at the flamethrower effect, each flame, once its spawned, stays in the same place, more keep spawning though to give the allusion of the flames staying on you.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 2:14 pm
by swado95
Ok ill ask «Ê¥Ê$ ØÑL¥» if dosnt mind trying to figure it out but how would i reach him?

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 2:18 pm
by myers73
He wont figure it out for you, if your are lucky he might show you the principals behind reading a compiled .exe file, but more than likely you will just ruin your game by forgetting to backup. He has xfire. Honestly it is not worth the trouble, go play cod. If you are still hellbent on wasting your time like this and not ever producing any material then add me to xfire and ill get you and him in a chat together.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 2:22 pm
by swado95
well if have to change the game i wont deal with it NOW. But if i can start getting my maps to role out(right now i working on old comp so munger is being slow) i might turn an eye on it once again.

P.S AND no what im trying to do is most farthest thing from cod expect it uses real guns and what not.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 2:28 pm
by myers73
ok.

P.S. I have seen you make this mistake at least twice, so I will correct you. You are using expect in place of except. For your own continuing education look them up in a dictionary.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 2:38 pm
by swado95
OH woops lol

expect

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 3:21 pm
by Teancum
I find it funny how lots of veteran modders tell you it's impossible, yet you seem to think it isn't. No offense, but this site's been around for six years; it's been tried and failed several times. If it can't be done, asking won't magically make it possible.

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 3:29 pm
by swado95
OK im not saying it can be done bye just regular map making modding. NONONONO im say there is a way but its by unconventional standards which would require setting up a who mod for the game unless u only want that one thing change which would be dum alone. BECAUSE u just told me u can do it by hacking.

ps GAh stop changing words

Re: CreatingBloodhit?

Posted: Sat Jul 03, 2010 3:35 pm
by Maveritchell
swado95 wrote:OK im not saying it can be done bye just regular map making modding. NONONONO im say there is a way but its by unconventional standards which would require setting up a who mod for the game unless u only want that one thing change which would be dum alone.
As a rule of thumb, consider that when you ask a question like you've asked (whether something is possible) the experienced modders are not telling you whether something is possible for the average joe ("regular map making modding") - they are telling you based on any attempt you could possibly make.

If for whatever reason you don't believe that they are completely correct or if you think you have some whiz-bang solution that no one else has thought of, the onus is on you to prove it. By and large, though, you are asking questions because you want answers from people who know more, right? You will not always get the answer you want.