DFBarracks - Forums




Delta Force Barracks Forums - Powered by XMB 1.9.11
Delta Force Barracks Forums
Not logged in [Login ]
Go To Bottom

Printable Version  
Author: Subject: Wac File
cto imp
Grunt
*




Posts: 5
Registered: 10-16-2005
Member Is Offline


[*] posted on 10-16-2005 at 12:43 PM
Wac File


I'm fairly new to map making. Where can I find a download or link for a wac file? I'm mostly interested in the rain and snow. Please help....



View user's profile View All Posts By User
Eagle_Eye
Senior Admin
***********


Avatar


Posts: 8865
Registered: 9-7-2002
Location: Adelaide, South Australia
Member Is Offline

Mood: Grey,not Stupid

[*] posted on 10-16-2005 at 04:35 PM


You can create a wac from within the DFX med..it's on a pull down menu..

For an explanation, see the BHD download section, there's a tut there by chrislew200..

Also looks through the other map making sections..there are stickies explaining weather effects and other things..

EE









View user's profile Visit user's homepage View All Posts By User
cto imp
Grunt
*




Posts: 5
Registered: 10-16-2005
Member Is Offline


[*] posted on 10-18-2005 at 12:36 AM


Eagle Eye,
Thanks much!!! I appreciate it!!! One last request...Maybe sometime we could link up and get on TS or something and explain how to use this. I tried it about 50 million times and couldn't get it to work. I even typed it verbatim and change the area trigger #'s and still wouldn't work. Named the wac and mission file the same... Set area triggers to the same # in med and wac????????????? Don't know...Please help!!!!




View user's profile View All Posts By User
chrislew200
Field Marshall
*******




Posts: 3368
Registered: 3-30-2003
Member Is Offline

Mood: ~RSU~ Is Home

[*] posted on 10-18-2005 at 04:31 AM


Ok so where on the next step then please paste the content of your wac file in a reply post use copy and paste.

That way then i can rule out any wac errors.

chrislew200




No Longer Present
View user's profile View All Posts By User
cto imp
Grunt
*




Posts: 5
Registered: 10-16-2005
Member Is Offline


[*] posted on 10-18-2005 at 11:02 AM


if ssnarea(1) and then
flash

Don't laugh to hard....My 1st try...




View user's profile View All Posts By User
mr tarzan
Private
**


Avatar


Posts: 93
Registered: 6-24-2005
Location: Norway
Member Is Offline

Mood: Happy

[*] posted on 10-18-2005 at 01:43 PM


hmmmm. i'm still a noob at this, but you could try:

if area(1) and never() then
flash
endif

Using this command will make it flash the first time a player reaches area trigger 1. If you want it to flash everytime a player reaches that area, you'll have to remove the "and never()". Like this:

if area(1) then
flash
endif

Correct me if I'm wrong guys

mr tarzan :):D
View user's profile View All Posts By User This user has MSN Messenger
Eagle_Eye
Senior Admin
***********


Avatar


Posts: 8865
Registered: 9-7-2002
Location: Adelaide, South Australia
Member Is Offline

Mood: Grey,not Stupid

[*] posted on 10-18-2005 at 02:09 PM


Looks good to me..

cto imp, don't forget the "endif" at the end to complete the action..









View user's profile Visit user's homepage View All Posts By User
cto imp
Grunt
*




Posts: 5
Registered: 10-16-2005
Member Is Offline


[*] posted on 10-18-2005 at 11:58 PM


how many spaces should you have between the triggers? Do I still use end if when i chain them? Thanks to both of ya.



View user's profile View All Posts By User
mr tarzan
Private
**


Avatar


Posts: 93
Registered: 6-24-2005
Location: Norway
Member Is Offline

Mood: Happy

[*] posted on 10-19-2005 at 09:10 AM


Quote:
Originally posted by cto imp
how many spaces should you have between the triggers? Do I still use end if when i chain them? Thanks to both of ya.


I'm not quite sure if I know what you mean about the triggers and spaces. But If I do, you only use 1 hit on the spacebar between the words.
Regarding the endif: Write endif as one word. You will have to use the endif after the last event. I'm not really sure if you need to use endif after all events when they are chained. E_E?

Try to copy and paste the following commands into a wac file:

//Environment - Weather

if never() then
overcast(100)
tod(2300)
endif

if past(10) and never() then
farflash
endif

if chain(10) and never() then
flash
endif

if chain(10) and never() then
quake(10)
endif

A farflash will come 10 secs into the game. Then the flash will come 10 secs after that. 10 secs after that, there will be a little quake.

If you paste this into a wac file and play the game, you'll see how the past() and the chain() command works.

mr tarzan :D
View user's profile View All Posts By User This user has MSN Messenger
cto imp
Grunt
*




Posts: 5
Registered: 10-16-2005
Member Is Offline


[*] posted on 10-22-2005 at 07:50 AM


Thank you peeps!!!! To all who helped!!!



View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.11
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 15] [PHP: 56.9% - SQL: 43.1%]












Copyright © 2002 - 2008 All Rights Reserved - DFBarracks.com
Site Design by A.Bullet - ScreamingDemon.com