Home   Help Search Login Register  

Author Topic: 2 quick questions  (Read 1248 times)

0 Members and 1 Guest are viewing this topic.

Tobruk

  • Guest
2 quick questions
« on: 15 Jul 2003, 03:12:36 »
1. How do I get the lights to go out in a town at night? I did not put in any streetlights myself, they are part of the basic town--Saint Louis, Malden map and so I can't turn them off in the init code.

2. I have the player travel to a squad and I would like him to join the group. I have given the player a join way point, but that didn't work.

Any ideas?  ::)

Actually I lied, I have one more question.

Does anyone know if there is a decent search light addon? Ideally one that would work automatically.
« Last Edit: 15 Jul 2003, 03:17:15 by Tobruk »

Kaliyuga

  • Guest
Re:2 quick questions
« Reply #1 on: 15 Jul 2003, 04:47:30 »
1) Use the object ID # to setdammage the streetlamps in said town..

perhaps you could have a camcreated explosion at the same time to mask the noise that setdammage would cause to occur...  say that another squad just took out the power grid or something

2) Try synching that trigger with a join and lead waypoint for the squad that he's joining up with ;)

3) nope ... sorry  ;D

Offline cornholio

  • Members
  • *
  • Ever eat a llama?
Re:2 quick questions
« Reply #2 on: 15 Jul 2003, 04:52:16 »
1. There is a street light tutorial in the editors depot and it comes with an example mission

2. Not sure about that.  

3. There used to be a search-light script here (I think)
but I couldn't find it. I do have it at home (I'm at work now)
I'll post it here tomorrow.

corno
Check out  "Eye of the Pig"
Mission download: http://www.freewebs.com/dikked/

Tobruk

  • Guest
Re:2 quick questions
« Reply #3 on: 15 Jul 2003, 08:46:17 »
Okay solved questions 1 & 2  :D, any ideas on search addons?

MPKING

  • Guest
Re:2 quick questions
« Reply #4 on: 15 Jul 2003, 09:25:19 »
Don't destroy the light, just type this in init.sqs or a trigger - object ID switchLight "Off".
Simple as that. ;)
« Last Edit: 15 Jul 2003, 12:53:35 by MPKING »

Tobruk

  • Guest
Re:2 quick questions
« Reply #5 on: 15 Jul 2003, 22:09:20 »
What I ended up doing is setting a trigger that encompassed the town and then used (object ID #) switchlight "off". This got the town very dark. Now I need a random searchlight for ambience.

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:2 quick questions
« Reply #6 on: 15 Jul 2003, 22:56:16 »
Quote
Now I need a random searchlight for ambience

If all you are after is ambience, then how about some flares randomly fired? This would light the place up and you could adjust the frequency for more or less illumination time.

Another idea could be to use an MG with ammo set to zero (if you just want the light) and have it pan back and forth via dotarget some GLs, object IDs or markers. At last that useless light on the MG may be put to good use! ;)

                                         Wadmann
Check out my Camouflage Collection! New items added 31 July 2005.

Offline cornholio

  • Members
  • *
  • Ever eat a llama?
Re:2 quick questions
« Reply #7 on: 16 Jul 2003, 02:31:54 »
Darn it Tobruk...

I forgot :P. The searchlight is coming. Just hold on. I was so busy thinking about the "endmission = true" thing that I completly
forgot about the searchlight :'(

Dude, I swear on the holy bible that I'll either post it or send it to you in EXACTLY FIVE HOURS ;D

Sorry :-[

corno.

ps, I havn't used it in some time so I can't be sure if it works with v190+
Check out  "Eye of the Pig"
Mission download: http://www.freewebs.com/dikked/

Tobruk

  • Guest
Re:2 quick questions
« Reply #8 on: 16 Jul 2003, 03:29:50 »
Hey no worries Cornholio, I just figured if one existed others might know about it. I did a search on this site but came up empty.

Thanks for the suggestion Wadman, but I am using a ww2 mod so I don't it would apply in this case. I may use trip flares, but what I would love is to see anti aircraft search light scanning the skys in the back ground.
« Last Edit: 16 Jul 2003, 03:31:51 by Tobruk »

Offline cornholio

  • Members
  • *
  • Ever eat a llama?
Re:2 quick questions
« Reply #9 on: 16 Jul 2003, 08:39:49 »
Hmmm, I missed the part about the searchlights being anti-aircraft.

But the attached searchlight script from SUI is  :toocool:

Maybe you can make it work for aircraft

(I think the light is a bit weak for what you need though)
Check out  "Eye of the Pig"
Mission download: http://www.freewebs.com/dikked/

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:2 quick questions
« Reply #10 on: 16 Jul 2003, 18:23:57 »
hold it :P

@ 2

dont use WPs never - specialy not 4 player ;) - vetern players cant c WPs  :-X :noo:

just make triger around da squad nd group it 2 da player nd put

[playerUnitname] join leadername

in da condition

:cheers:

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta