Go Back   Novahq.net Forum > Games > Delta Force

Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-09-2012, 03:05 PM
MERMITE is offline MERMITE
Registered User

Join Date: May 2006
Posts: 1

PL00P ya G00P's

'ere we go again....wac, wac! (JOE./DFX2 only)

This information was passed to me, from an Abo deep in the Aussie outback, who got it of a passing satellite ("headless horseman") i'm gonna get shot 4that..lol

Understand these are vital wac commands, if like me, map WITHOUT using events, they suc anyway, but you can still use 'em even with events

GLOOP
The gloop is a procedure that will cause a looping sequence within the
code. The syntax of a gloop will start with the keyword gloop followed
immediately by the group name and conclude with the keyword end. It is
used in conjunction with the keyword item to represent each of the members
of the group.
The group name can be any name that does not contain spaces and must not be the same as a keyword.
When a gloop is reached any conditions and statements within the gloop
will cycle through for each of the members in the group until all have been
checked and/or acted upon, before the sequential continuation of the wac
code. In other words, the wac codes linear progression through the code is
broken as though a subroutine that must check each member of the group before returning back to the remainder of the wac codes linear sequence.

Maximum group name can be up to 22 characters

Syntax:

gloop groupname
if conditions containing item then
actions containing item
endif
end
Or
if conditions then
gloop groupname
actions containing item
end
endif
Example:
if never then
gloop mygroup
ssnmax(item,300)
end
endif
This code will set the members of the group named mygroup to have vision
range of 300 meters.
What the loop does is holds the internal number of each of the members of the group in turn, in the keyword item for each of the members of the group
until all members have been acted on, before the continuation of the
remaining wac code.


continue:
Reply With Quote
  #2  
Old 07-09-2012, 03:25 PM
MERMITE is offline MERMITE
Registered User

Join Date: May 2006
Posts: 1

continue

seems to be a word limit on here or those words are a lot more powerful than I thought
Reply With Quote
  #3  
Old 07-09-2012, 10:17 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Does this mean I can command that all members of a group have to be present in area10 before wac execute?(instead of the default any Group1 member in area10 triggers)
Reply With Quote
  #4  
Old 07-10-2012, 02:50 AM
ArmaRing is offline ArmaRing
Registered User

Join Date: May 2012
Posts: 35

hi

hay MERMITE have you tryed out the new mod for Joint ops if not see us at

http://www.dfusa.net

sine up and download the mod you can do what ever you want with a wac it is running off of the 1.7.5.7 .exe
Reply With Quote
  #5  
Old 07-10-2012, 02:09 PM
MERMITE is offline MERMITE
Registered User

Join Date: May 2006
Posts: 1

Quote:
Originally Posted by ArmaRing View Post
hay MERMITE have you tryed out the new mod for Joint ops if not see us at

http://www.dfusa.net

sine up and download the mod you can do what ever you want with a wac it is running off of the 1.7.5.7 .exe
Hijacking posts and Spamming is an illegal, activity here as well as other internet sites
As this thread is concerned with DFX2 please post your concerns under it's correct heading
thank you

"M"
Reply With Quote
  #6  
Old 07-10-2012, 02:13 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

The excitement of creation overcomes our friend "M" forgive him.
Reply With Quote
  #7  
Old 07-10-2012, 02:15 PM
MERMITE is offline MERMITE
Registered User

Join Date: May 2006
Posts: 1

Allow me to re-iterate:

GLOOP -> Named Group Loop
Don't use group commands,group commands don't work, don't use space in your group name.
GLOOP can't work with *.bms files. bms files don't know any group name. (btw. bms don't know names at all)
with GLOOP you are be able to do much more then with group commands.

- GLOOP group actions(item) END

CODE
GLOOP group
if condition
actions(item)
end condition
END

or a 'secret' vid:

here:http://www.nlh.dfreload.com/div/coding/coding.htm

Last edited by MERMITE; 07-10-2012 at 02:37 PM.
Reply With Quote
  #8  
Old 07-10-2012, 02:24 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Can you give me a working example? I am having trouble grasping the syntax.
Reply With Quote
  #9  
Old 07-26-2012, 10:19 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

@ArmaRing

Have you tried making the setup as so;


Set the installer to create shortcut parameters which point to the default game folder with these switches-


"C:\Program Files\Novalogic\Delta Force Xtreme 2\dfx2.exe" /mydfusamod dfusa


This points to the newly installed folder mydfusamod and reads the pff file dfusa.

Use any free compiler for the installer and use ravens pff tools to create and pack the pff.

you may need 2 (pff files) if you enable editing of the mods ie

med.pff.

you can change menu screens and and game sounds if you wish.



This is a less risky install for users (also your exe for your mod is too big and causes lagging on external drives)

Doing it this way it uses the DFX(2) exe to run which is (legal)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:05 PM.




Powered by vBulletin®