[Help] How to create/edit effects for BF2?

Making or wanting help making your own asset? Check in here
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Help] How to create/edit effects for BF2?

Post by Amok@ndy »

[R-DEV]Rhino wrote:cool, never seen it used in BF2 iirc, at least not in the way I'm thinking so that all the chimney smoke for example all blows in one direction, rather than making the effect blow in a direction then trying to make all the chimney smoke on a map be at the same rotation?
its used in FH2

mostly tmp.con

windmanager.globalWindSpeed 3
windmanager.globalWinddirection 1/0/1
Image
Mosquill
Retired PR Developer
Posts: 857
Joined: 2007-08-12 10:13

Re: [Help] How to create/edit effects for BF2?

Post by Mosquill »

splatters wrote:Next thing you'll tell me is it can affect projectiles and vehicles too right? :mrgreen:
Nope, doesn't affect projectiles or vehicles afaik, but I could be wrong.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Help] How to create/edit effects for BF2?

Post by Rudd »

so when you say it can affect overgrowth, in what way? like how the rotorwash does it?
Image
Mosquill
Retired PR Developer
Posts: 857
Joined: 2007-08-12 10:13

Re: [Help] How to create/edit effects for BF2?

Post by Mosquill »

[R-DEV]Rudd wrote:so when you say it can affect overgrowth, in what way? like how the rotorwash does it?
Pretty much, yeah.
Psyko
Posts: 4466
Joined: 2008-01-03 13:34

Re: [Help] How to create/edit effects for BF2?

Post by Psyko »

So how would one implement swirling smoke/dust/particles when a helicopter/aircraft flies through it?

-not vertically like a tornado, but swirling laterally like a barrel-roll.
Mora
Posts: 2933
Joined: 2007-08-21 12:37

Re: [Help] How to create/edit effects for BF2?

Post by Mora »

There is a force of explosions that can push away the smoke, like wind.
User avatar
Ason
PR:BF2 Developer
Posts: 1755
Joined: 2012-10-22 10:29

Re: [Help] How to create/edit effects for BF2?

Post by Ason »

Is there some easy way to edit the size of a static effect in the editor/files, or do I need to do that in 3ds? I would like to add static clouds (ambstat_mist) to a map but they are so small I'm pretty sure it will be too heavy on performance. Right now I need to bunch togheter more than 10 of them to create one small realistic cloud:/
Rabbit
Posts: 7818
Joined: 2006-12-17 15:14

Re: [Help] How to create/edit effects for BF2?

Post by Rabbit »

e_dAmb_DustCloud_forward_Big isnt big enough?
Image

AfSoccer "I just don't see the natural talent."
Image
User avatar
Ason
PR:BF2 Developer
Posts: 1755
Joined: 2012-10-22 10:29

Re: [Help] How to create/edit effects for BF2?

Post by Ason »

[R-DEV]Rabbit wrote:e_dAmb_DustCloud_forward_Big isnt big enough?
can you give me the path for that? :)
Rabbit
Posts: 7818
Joined: 2006-12-17 15:14

Re: [Help] How to create/edit effects for BF2?

Post by Rabbit »

Interesting, seems it is in our repo but not the mod. What about "ambstat_dusttrail_big.con"?
Image

AfSoccer "I just don't see the natural talent."
Image
User avatar
Ason
PR:BF2 Developer
Posts: 1755
Joined: 2012-10-22 10:29

Re: [Help] How to create/edit effects for BF2?

Post by Ason »

[R-DEV]Rabbit wrote:Interesting, seems it is in our repo but not the mod. What about "ambstat_dusttrail_big.con"?
Seems like it's also not in the mod:/
Rabbit
Posts: 7818
Joined: 2006-12-17 15:14

Re: [Help] How to create/edit effects for BF2?

Post by Rabbit »

Just went through my PR (1.2) folder for that. Go back into your content folder for PR and pull out the staticobjects ambient from both server and client again.
Image

AfSoccer "I just don't see the natural talent."
Image
User avatar
Ason
PR:BF2 Developer
Posts: 1755
Joined: 2012-10-22 10:29

Re: [Help] How to create/edit effects for BF2?

Post by Ason »

[R-DEV]Rabbit wrote:Just went through my PR (1.2) folder for that. Go back into your content folder for PR and pull out the staticobjects ambient from both server and client again.
Alright I found it in there, I extracted the staticobjects/ambienteffects/static folder from the objects_statics_server.zip and the staticobjects/ambienteffects/texture folder from the objects_statics_client.zip into objects/staticobjects/ambienteffects, I can put the effect on my map but it's not showing and I have 'toggle draw particles' on(I can see the other effects from before) :/
Do you know what I'm missing?
Rabbit
Posts: 7818
Joined: 2006-12-17 15:14

Re: [Help] How to create/edit effects for BF2?

Post by Rabbit »

Open the .tweak scroll down to the bottom find the texture then go to its path in pr_edit and make sure it is there.
Image

AfSoccer "I just don't see the natural talent."
Image
User avatar
Ason
PR:BF2 Developer
Posts: 1755
Joined: 2012-10-22 10:29

Re: [Help] How to create/edit effects for BF2?

Post by Ason »

[R-DEV]Rabbit wrote:Open the .tweak scroll down to the bottom find the texture then go to its path in pr_edit and make sure it is there.
Tweak:

Code: Select all

rem *** Generated with Bf2Editor.exe [created: 2006/5/15 12:52]
ObjectTemplate.activeSafe Bundle ambstat_dusttrail_Big
ObjectTemplate.modifiedByUser "Bruno"
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.createdInEditor 1
ObjectTemplate.hasMobilePhysics 0
rem -------------------------------------
ObjectTemplate.addTemplate e_dAmb_dusttrail_Big
rem -------------------------------------
Is "e_dAmb_dusttrail_Big" the texture?
Rabbit
Posts: 7818
Joined: 2006-12-17 15:14

Re: [Help] How to create/edit effects for BF2?

Post by Rabbit »

Code: Select all

ObjectTemplate.textureName objects\effects\textures\animated\Anim_Smoke2ground

Code: Select all

ObjectTemplate.textureName objects\effects\textures\animated\Anim_dirt_bit
Image

AfSoccer "I just don't see the natural talent."
Image
User avatar
Ason
PR:BF2 Developer
Posts: 1755
Joined: 2012-10-22 10:29

Re: [Help] How to create/edit effects for BF2?

Post by Ason »

Thanks but where did you find those lines? Was it not in the tweak file?
Rabbit
Posts: 7818
Joined: 2006-12-17 15:14

Re: [Help] How to create/edit effects for BF2?

Post by Rabbit »

I found it in e_dAmb_dusttrail_Big.tweak
Image

AfSoccer "I just don't see the natural talent."
Image
User avatar
Ason
PR:BF2 Developer
Posts: 1755
Joined: 2012-10-22 10:29

Re: [Help] How to create/edit effects for BF2?

Post by Ason »

Baaah I can't find it... Can you tell me which zip and the path for 'e_dAmb_dusttrail_Big.tweak'?
Rabbit
Posts: 7818
Joined: 2006-12-17 15:14

Re: [Help] How to create/edit effects for BF2?

Post by Rabbit »

objects_common\effects\ambient
Image

AfSoccer "I just don't see the natural talent."
Image
Post Reply

Return to “PR:BF2 Community Modding”