How to die on floor? [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
AhsokaTano
Rebel Sergeant
Rebel Sergeant
Posts: 194
Joined: Mon Aug 29, 2011 10:11 am
Projects :: Kamino Training Map.
Games I'm Playing :: SWBF 2 Skyrim SWTOR
xbox live or psn: ZunaSW
Location: Spain ... I mean, Jedi Temple

How to die on floor? [Solved]

Post by AhsokaTano »

Ok, the title isn't specific...
I made a lava floor and i put it in my map:

Image
Image



I want my clones and droids to die when they touch the lava floor.

I know i need to change the lua files, but i dont know what i need to change there.

I hope you understand me.
If you can help me i will thank you.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: How to die on floor?

Post by AQT »

User avatar
yuke5
Field Commander
Field Commander
Posts: 945
Joined: Wed Jun 29, 2011 10:42 pm
Games I'm Playing :: SWBF2 TF2 RC KOTOR
xbox live or psn: My steam is yuke5.
Location: Vermont

Re: How to die on floor?

Post by yuke5 »

If you want to cause instant death, create a damage region. I tut can be found in the FAQ thred. If you simply want to cause damage, open up regions in zero editor, place a region, and select it. Once the region is selected, go to "Region Type" or something to that affect. Type in your desired value in the boxes, and place the region where you want units to take damage. I hope this helps! :thumbs:
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: How to die on floor?

Post by Fiodis »

yuke5 wrote:If you want to cause instant death, create a death region.
Fixed. Best not to get those two confused, as they work a bit differently.
User avatar
yuke5
Field Commander
Field Commander
Posts: 945
Joined: Wed Jun 29, 2011 10:42 pm
Games I'm Playing :: SWBF2 TF2 RC KOTOR
xbox live or psn: My steam is yuke5.
Location: Vermont

Re: How to die on floor?

Post by yuke5 »

whoops. I was typing too fast. Thanks for the catch!
User avatar
AhsokaTano
Rebel Sergeant
Rebel Sergeant
Posts: 194
Joined: Mon Aug 29, 2011 10:11 am
Projects :: Kamino Training Map.
Games I'm Playing :: SWBF 2 Skyrim SWTOR
xbox live or psn: ZunaSW
Location: Spain ... I mean, Jedi Temple

Re: How to die on floor?

Post by AhsokaTano »

Thanks for all!!!! It worked. Your answers always help me :D
Post Reply