Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH General Discussion
Reload this Page DMFLAGS plz help...
MoH General Discussion General Discussion about Medal of Honor: Allied Assault, expansions and Pacific Assault

Reply
 
Thread Tools Display Modes
DMFLAGS plz help...
Old
  (#1)
klop is Offline
Senior Member
 
Posts: 414
Join Date: Jan 2002
Location: Quebec, Canada
   
Default DMFLAGS plz help... - 12-06-2002, 05:52 PM

I found this in the ffa.cfg file included in the 2.11 patch...

// dmflags -- flags that can be set in the dmflags variable.
// DF_NO_HEALTH (1 << 0)
// DF_NO_POWERUPS (1 << 1)
// DF_WEAPONS_STAY (1 << 2)
// DF_NO_FALLING (1 << 3)
// DF_INSTANT_ITEMS (1 << 4)
// DF_SAME_LEVEL (1 << 5)
// DF_NO_ARMOR (1 << 11)
// DF_INFINITE_AMMO (1 << 14)
// DF_NO_FOOTSTEPS (1 << 17)
// DF_ALLOW_LEAN (1 << 18)
// DF_OLD_SNIPERRIFLE (1 << 19)
// DF_GERMAN_SHOTGUN (1 << 20)
set dmflags 0


What does (1 << X) means ?!?
  
Reply With Quote
Old
  (#2)
con Brio is Offline
Senior Member
 
Posts: 2,077
Join Date: Jan 2002
Location: Winnipeg, MB, CANADA
 Send a message via ICQ to con Brio Send a message via MSN to con Brio  
Default 12-06-2002, 11:07 PM

fire1:
  
Reply With Quote
Old
  (#3)
rudedog is Offline
Site Owner
 
rudedog's Avatar
 
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
 Send a message via ICQ to rudedog Send a message via AIM to rudedog  
Default 12-07-2002, 06:45 AM

That is the number in binary. To figure out how to use dmflags, head on over to http://www.mohadmin.com.

Look under the guides section. I have listed all the correct numbers and how to use them.

I have also included this in my rcon guide. It can be found under guides as well.


Not so Rude
- Rudedog
Follow me via Twitter @THErealRUDEDOG
  
Reply With Quote
Old
  (#4)
klop is Offline
Senior Member
 
Posts: 414
Join Date: Jan 2002
Location: Quebec, Canada
   
Default 12-07-2002, 11:29 AM

Yeah I saw that but I wanted to know what these numbers means...
  
Reply With Quote
Old
  (#5)
klop is Offline
Senior Member
 
Posts: 414
Join Date: Jan 2002
Location: Quebec, Canada
   
Default 12-07-2002, 11:34 AM

I want to know what (1 << 20) means...
Why they didnt write the flags like this?

// DF_NO_HEALTH 1
// DF_NO_POWERUPS 2
// DF_WEAPONS_STAY 4
// DF_NO_FALLING 8
// DF_INSTANT_ITEMS 16
// DF_SAME_LEVEL 32
// DF_NO_ARMOR 2048
// DF_INFINITE_AMMO 16384
// DF_NO_FOOTSTEPS 131072
// DF_ALLOW_LEAN 262144
// DF_OLD_SNIPERRIFLE 524288
// DF_GERMAN_SHOTGUN 1048576
  
Reply With Quote
Old
  (#6)
rudedog is Offline
Site Owner
 
rudedog's Avatar
 
Posts: 5,843
Join Date: Jan 2002
Location: Florida, USA
 Send a message via ICQ to rudedog Send a message via AIM to rudedog  
Default 12-07-2002, 12:05 PM

for each flag you wish to set, just add the numbers up and only use one
dmflag x

where x is the sum of all the flags you wish to set


Not so Rude
- Rudedog
Follow me via Twitter @THErealRUDEDOG
  
Reply With Quote
Old
  (#7)
klop is Offline
Senior Member
 
Posts: 414
Join Date: Jan 2002
Location: Quebec, Canada
   
Default 12-07-2002, 01:49 PM

Okay thanks

Is there any info about what does each flag do?
I know some are self explatory...
  
Reply With Quote
Reply



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



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.