Last active: Never
Not logged in [Login - Register]
Portal Portal   Search the forums Search   Frequently Asked Questions FAQ   View member list Member List   Staff Staff List   View Topic Activity Topic Activity   Forum Stats Stats   Board Rules Board Rules   Downloads Downloads
Go To Bottom

Printable Version | Subscribe | Add to Favorites  
Author: Subject: Lights on/off
Super Moderator



Posts: 186
Registered: 21-11-06
Location: Ohio USA
Member Is Offline

Mood: Board

[*] posted on 7-3-11 at 12:08
Lights on/off

What I'm trying to do is get lights from the pole lights to turn off when I blow up a generator. and I can't seem to get it to work. Does any one know if that option even works in BHD.

I attached a sample map that I been working on.

Attachment: (10.46kb)
This file has been downloaded 196 times

View user's profile View All Posts By User U2U Member



Posts: 1272
Registered: 2-4-06
Location: Adelaide South Australia
Member Is Offline

Mood: Very happy

smug.gif posted on 7-3-11 at 16:44
Contents of post removed

Ha.. should have read the header.



View user's profile Visit user's homepage View All Posts By User U2U Member


Posts: 922
Registered: 12-5-08
Member Is Offline

Mood: New Computer!

[*] posted on 7-3-11 at 17:30

Sorry, Ice, hide and unhide are .wac actions for JO and up, they don't work in DFBHD, as far as I know.

I do the lights out trick by inserting the lighted poles. Make sure they're all snapped to terrain and at least one of them is snapped to the grid. When they're all in place, select them all and put them in a group. Then you deselect the one you snapped to the grid, select it again, then copy and paste the group. The copy of the pole that's snapped to the grid will be the one locked on the cursor right now. Snap that to the same grid as the orignal and all the new poles will be aligned correctly. Since the new poles are already selected, open the item attributes and change them all to the broken unlighted poles and assign them to a new group! Please note that the MED center point on the broken light poles is different than the lighted ones, so snap them to terrain before you deselect them.

Now set up the events so that when the genny is dead, the group of lighted poles is vaporized, leaving the unlighted ones behind.

Note: if an unlit pole is in the exact same X, Y and Z (snapped to terrain) coordinates as a lit pole, the bulb will suffer a black flickery effect. If you select the unlit pole, hold the CTRL and SHIFT keys, and press the up arrow once, the unlit pole will be raised 1/256th of a meter up, the items will no longer align perfectly, and the bulb will stop flickering.

Edit: I made a mistake with the HMMWV. If you get on it before the genny is destroyed, it still took off. I added an "if Group is dead" trigger so that it stays put until the genny is blown up.

By the way, I added a .bin file that would act as a decent starting .bin for new mission .bin files, if you use the NovaSheep BINEditor like I do.

And just for fun, I wrote a small .wac file for the fog and lighting.

Edit: When I was in the military, HMMWVs were just starting to be introduced to the motor pools, in order of unit priority, and the unit I was in was low priority, so we never had any HMMWVs. We had CUCVs, an acronym with a U in it (and a "funny" pun if you're a 3rd grader [or are slightly mentally challenged] and know german), which is why I think I was spelling HMMWV wrong the whole time.

Spelling is important to me, so I've updated the .bin file.

Edit: And made the HMMWV indestructible.

Attachment: (13.7kb)
This file has been downloaded 200 times

View user's profile Visit user's homepage View All Posts By User U2U Member

  Go To Top

Powered by XMB
Developed By The XMB Group © 2001-2008