In game terrain modify
Moderator: Moderators
-
LEO
- First Lance Corporal

- Posts: 130
- Joined: Tue Nov 20, 2012 5:06 pm
- Projects :: Map_for_swbf2
- xbox live or psn: No gamertag set
In game terrain modify
Is there a way to modify the terrain while gameplay? I cant explain it good because my english vocabular is bad but heres and example.
The player walks in snow and he leaves spoors in it? I hope you understood my question
The player walks in snow and he leaves spoors in it? I hope you understood my question
-
Loopy53
- 1st Lieutenant

- Posts: 456
- Joined: Thu Nov 01, 2012 2:27 am
- Projects :: Earth Apocalypse
- xbox live or psn: Dont have one
- Location: On earth, I guess.
Re: In game terrain modify
Not likely. It may be possible with some serious scripting and efffect workarounding. You could have a trail effect of "spoors" (?, i think you mean footprints) attached behind him but as the foot moved up so would the effect...
Short answer: *MAY* be possible.
Most reasonable answer: No, sorry.
Short answer: *MAY* be possible.
Most reasonable answer: No, sorry.
- Nedarb7
- Lieutenant General

- Posts: 676
- Joined: Sat Sep 22, 2012 3:41 pm
Re: In game terrain modify
You could try making an effect something like the AT-AT dust that leaves a decal under your player's foot.
-
Loopy53
- 1st Lieutenant

- Posts: 456
- Joined: Thu Nov 01, 2012 2:27 am
- Projects :: Earth Apocalypse
- xbox live or psn: Dont have one
- Location: On earth, I guess.
Re: In game terrain modify
Really? I did not know that!
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: In game terrain modify
It would be done similar to how Mav made his bullets leave marks on the walls, only your feet are doing it.
-
LEO
- First Lance Corporal

- Posts: 130
- Joined: Tue Nov 20, 2012 5:06 pm
- Projects :: Map_for_swbf2
- xbox live or psn: No gamertag set
Re: In game terrain modify
is there a way to make fx geometry modifying something??
- Nedarb7
- Lieutenant General

- Posts: 676
- Joined: Sat Sep 22, 2012 3:41 pm
Re: In game terrain modify
If you go to: C:\BF2_ModTools\assets\worlds\HOT\effects
There is an effect called: hot1_decals.fx
Copy it and the textures it uses then edit it with notepad to look like this:
I think that will work for footprints.
There is an effect called: hot1_decals.fx
Copy it and the textures it uses then edit it with notepad to look like this:
Hidden/Spoiler:
-
LEO
- First Lance Corporal

- Posts: 130
- Joined: Tue Nov 20, 2012 5:06 pm
- Projects :: Map_for_swbf2
- xbox live or psn: No gamertag set
Re: In game terrain modify
Didnt worked so far
if someone get this to work please post
I think its not possible because if i launch hoth there are no footprints (ATAT has too no footprints)
if someone get this to work please post
I think its not possible because if i launch hoth there are no footprints (ATAT has too no footprints)
- Nedarb7
- Lieutenant General

- Posts: 676
- Joined: Sat Sep 22, 2012 3:41 pm
Re: In game terrain modify
That is because the AT-AT ODF is not using them.LEO wrote:Didnt worked so far
if someone get this to work please post
I think its not possible because if i launch hoth there are no footprints (ATAT has too no footprints)
-EDIT-
These lines determine the stomp effect:
Code: Select all
StompEffect = "bigwalkerstomp"
StompDecal = "decal_atat_footprint"
StompDecalSize = "2.5"- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: In game terrain modify
Walkerstomps are textures, not geometry, and will disappear over time.
- Glitch25
- Sergeant Major

- Posts: 222
- Joined: Mon May 07, 2012 1:01 pm
- Projects :: [ISM] [BFU]
- Location: Baktoid Combat Automata
- Contact:
Re: In game terrain modify
Maybe this will help, here's Information about decals from Sereja:
Sereja wrote:This effect, named "decal", and I never saw it, on any mod or stock maps, or even never found tutorial about this. So, it is posible, my personal discovery . Probably, creators, made it for SWBF1, but keep it, only for SWBF2...
So, here the small tutorial about this:
Making Decal.
1. First, go to SWBF2 assets, and find decal file, named hot1_decals.fx, in next directory:
C:\BF2_ModTools\assets\worlds\HOT\effects
Rename it to your ModID, like 027_decals.fx, and put it, in your Worlds Effects folder.
2. In same directory, you may found lot's of tga footprint and explosion samples, so copy them to your effects, or create your own. Do not forget to edit alpha channel.
3. Open your world ModID.REQ file, and add the name of your decal file, exactly in next lines:4. Edit your decal file, and put in there all needed names of your footprint and explosion scourch tga. Here the sample of it:Hidden/Spoiler:5. Now, you should edit odf, and the lines are different, for different tipe of units.Hidden/Spoiler:
Soldiers:
probably, it is imposible to add different footprints, for different tipe of soldiers, so, humans, droids and wookie use the same boots .
Walkers:
You can add the name, and edit footprint size, by this lines:
Code: [Select]
StompDecal = "decal_atte_footprint"
StompDecalSize = "1.1"
Explosion:
You can add the name of decal, by this line:
Code: [Select]
Decal = "decal_explosion"
But the size, of explosion decal, connected, with explosion damage:
Code: [Select]
Damage = "40.0"
DamageRadius = "30.0"
That's it!
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: In game terrain modify
Create footstep effect, shove inside ingame.lvl, add:
to unit ODF. I don't recommend using it though because it'll greatly increase the global particle count so effects will start to disappear sooner.
Code: Select all
FootSlideEffect = "effectname"-
LEO
- First Lance Corporal

- Posts: 130
- Joined: Tue Nov 20, 2012 5:06 pm
- Projects :: Map_for_swbf2
- xbox live or psn: No gamertag set
Re: In game terrain modify
Can someone who got the effect appearing in game make a complete tutorial please??
