|
Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
WAC Solution For Map Breakers
A Solution For Map Breakers
(circa 2013) During some file archiving I came across this post from stompem.net This is an old wac solution for COOP and Multi-Player matches but can also be used in Single Player missions. There are probably better ways but this isn't complex to set up and worked OK. It will bombard players who are off mission or in any area or reason you like. You can wrap it with your own variables to trigger or modify. Begin By Creating Some Objects The Mission Editor (MEd) 1. Create a group of destroyable objects: Barrels, crates etc... Select and name them Group 3 or higher * Single or Coop player is always Group 1 Game Defaults: Group 1 - Blue team (Good) Blue Group 2 - Red Team (Evil) Red 2. Next make an Area Trigger: Use 2 area markers to create Area 1 3. Make 3 events: event(0) event(1) event(2) (as listed below) In The Events Editor: Event 0: Trigger Variables Triggers: Group 1 is within area 1 and Group 3 has not been destroyed Actions: Execute WAC Event 1: Trigger Text Reset after 10 seconds Delay event 1 seconds Triggers: Event 0 has been triggered Actions: Execute WAC Event 2: Trigger Reset Reset after 10 seconds Triggers: Group 1 is not within area 1 Actions: Reset Event 0 COPY THE SCRIPT BETWEEN THE GREEN LINES... THEN PASTE IN MISSION WAC. ----------------------------------------------------------------------------- //...[Start_ AREA TRIGGER] //...[Turn Variable ON/OFF] if event(0) then set(v50,1)//...........[ON] set(v51,1)//...........[ON] else set(v50,0)//..........[OFF] set(v51,0)//..........[OFF] endif //...[Mortars - Var50.1] if eq(v50,1) then ploop ammoarea AMMO_60MM_MORTAR(1) ammoarea AMMO_60MM_MORTAR(1) ammoarea AMMO_60MM_MORTAR(1) chain(1) ammoarea AMMO_60MM_MORTAR(1) ammoarea AMMO_60MM_MORTAR(1) ammoarea AMMO_60MM_MORTAR(1) end endif //...[Mortars - Var51.1] if eq(v51,1) then ploop chain(8) ammoarea AMMO_60MM_MORTAR(1) ammoarea AMMO_60MM_MORTAR(1) ammoarea AMMO_60MM_MORTAR(1) chain(1) ammoarea AMMO_60MM_MORTAR(1) ammoarea AMMO_60MM_MORTAR(1) ammoarea AMMO_60MM_MORTAR(1) end endif //...[Text On] if event(1) then ptext("<cfcFF0000>WARNING!<-co> BLUE TEAM OFF MISSION!") endif //...[Text Off] if eq(v50,0) and chain(2) then ptext("<-co>") endif if chain(3) then ptext("<-co>") endif if chain(3) then ptext("<-co>") endif //...[End_Variable] ----------------------------------------------------------------------------- NOTE When issuing verbal instructions with wave files during high activity don't forget the usage of waveready() when needed. |
#2
|
||
|
when did you learn these things?
|
#3
|
||
|
__________________
|
#4
|
||
|
If I'm talking to you I'm still in kindergarten.
|
#5
|
||
|
Good for you! Maybe you can learn some manners from the little children.
__________________
|
#6
|
||
|
Around 2012 - 2013 those of us running servers were having problems with players running exploits, team killing and map breaking.
Cheating and mucking about was rife on the servers and was ruining everyone else's fun. Since then I've worked out more sophisticated ways to prevent it but this is a good starting point for mappers who are still building their skills. It can easily be applied to Single Player scenarios. I revived it because there's more to learn from the routine than just dropping a few bombs in an area trigger. |
#7
|
|||
|
Quote:
If a certain few PPL here had never answered you where would you be now? If a certain few PPL never will answer you in future where would you be then? I gladly help out but why should anyone put up with tit for tat nonsense or help those who insist on such behaviour? Consider what I have just said and note that I couldn't care less if it means anything to you or not. If you couldn't care less I'm not interested either (no skin off my nose is it?) If you do care then settle down and get on with mapping or playing - whatever it is you do. It's up to you what you do next. |
#8
|
|||
|
Quote:
__________________
|
#9
|
|||
|
Quote:
As for your comment on my honesty - it's your opinion and again that's fine but I think you should consider your own honesty in all of this before you question another. Last edited by Guest001; 12-23-2017 at 03:56 PM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|