View Full Version : Lean while running?
Cleaner
11-13-2002, 02:15 PM
Hey I tried to use that dmflags 262144 I read in the forums to get it to lean while running but it doesnt seem to work, what do I need to add in the server.cfg to enable this?
General_Death
11-13-2002, 03:54 PM
Scroll down and you will see a dmflag section....add 262144 after dmflag..save file...restart server.
My server.cfg:
// Server Name
// Name that will appear on the server browser
sv_hostname "Atlas Dedicated Spearhead Demo Server"
// msg of the day... doesn't seem to work...use Autokick
g_motd "Welcome To the Atlas Server"
// Game Type
// 1 Free for All
// 2 Team Based
// 3 Round Based
// 4 Objective
// 5 Tug Of War
set g_gametype 5
// Health Drop
// When enabled players will drop a health pack when killed
set g_healthdrop 1
// reconpass sets your RCON passoword to allow for remote admin
seta rconpassword "xxx"
// Realism
// Toggles realistic mode
set g_realismmode 0
// Still looking at this to determine if required (dunno if this works)
// sv_fps 10
// Fast Run Speed
// When checked, the speed at which players can run through levels is increased.
// Leaving it unchecked defaults to Medal of Honor Allied Assault's original run speed
set sv_dmspeedmult 1.000000
// Team Damage
// Toggles friendly fire
set g_teamdamage 1
// Heal Rate
// Determines how fast players heal when they use a health pickup
set g_healrate 15
// Max Players
set sv_maxclients 10
// Time Limit
// This sets the elapsed time at which the game ends, the winner being the player with the highest score at that time.
timelimit 0
// Frag Limit
// The score at which the player or team will win the current map.
fraglimit 0
// Map Rotation Time
// This sets the maximum amount of time in minutes players will spend in a particular map.
maprotationtime 0
// Team Spawn Delay
// This sets a delay in seconds between spawns. This is useful if you would like the
// player spawned in batches, rather than one at a time
set sv_team_spawn_interval 2
// Round Reset Time
// This sets how long each round will take, in minutes. This can be smaller than the map rotation time, but not larger.
roundlimit 0
// Inactive Spectate
// This sets the time in seconds after which an inactive player becomes a spectator. To save server bandwidth, 60 seconds is default.
set g_inactivespectate 60
// Inactive Kick
// This sets the time in seconds after which an inactive player is kicked out of the game. 900 (15 minutes) seconds is default.
set g_inactivekick 300
// Use Gamespy
// To use GameSpy gaming service for internet-based multiplayer games.
set sv_gamespy 1
// Pure
// Verifies that the files on the client are the same as those on the server.
set sv_pure 0
// Allow Vote
// Enables players to call a vote.
set g_allowvote 1
// Flood Protect
// Limits amount of text a player can type
set sv_floodprotect 3
// Force Team Spectate
set g_forceteamspectate 1
set dmflags 262144
set g_forceready 0
set g_forcespawn 0
// Invulnerable Time
// Amount of time a player is invulnerable for after spawning
set sv_invulnerabletime 0
// Team Kill Warning
// Amount of team kills before the player is warned
set g_teamkillwarn 1
// Team Kill Kick
// Amount of team kills before the player is kicked off the server.
set g_teamkillkick 5
// Team Switch Delay
// Frequency at which you can switch teams
set g_teamswitchdelay 15
// Gravity 512.00 is standard....dunno if this works
set g_gravity 512.00
// Allow Join Time
set g_allowjointime 10
// Private Clients
// Clients that require a password to join
set sv_privateclients 0
// Password
// Allows you to set a password for the server
set sv_privatepassword ""
// Keywords
// Keywords which allow browsers to filter servers.
set sv_keywords ""
// Net Port
set net_port 12203
// Minimum Ping
set sv_minping 0
// Maximum Ping
set sv_maxping 700
// Maximum Rate
set sv_maxrate 35000
// Minuimum Rate...dunno if this works
set sv_minrate 6000
// Map
// Starting map on the rotation.
map "obj/mp_druckkammern_tow"
// Map Rotation List
sv_maplist "obj/mp_druckkammern_tow"
is this the demo or final version. The final version has the following info:
[code:1]// 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[/code:1]
Well this dmflags is a little more then just adding the number after the "dmflags"
I found this info and still looking for more
[code:1]dmflags
Default: 16
Values: (Integer) 0 - 4095
Description: This value holds most of the settings for customizing a multi-player server. Add the values together of the flags that are to be enabled and use that number in dmflags. This will need to be set before the game is started. [/code:1]
This was found from a quake site.
Cleaner
11-13-2002, 04:59 PM
so for the full version that cvar list what interger do i need to change
From what I found out. You add each one up and use the total.
if you want to combine say
DF_no_falling (3)+ DF_instant_items (4) = (7)
So your dmflag would look like
[code:1]set dmflag 7[/code:1]
But their math is wrong for the lower numbers. you can get the same number with different flags. like
DF_WEAPONS_STAY (2)+ DF_NO_FALLING (3) = (5)
but
DF_SAME_LEVEL = (5). How does it know the difference between the 3?
If you look at this DMflags calculator I found, for quake. You will see no two numbers can equal each other.
http://www.krasnet.ru/~quake/q2_dmflags.html
I wonder if this is a typo on EA's part or I don't have a clue. :?
HankScorpio
11-13-2002, 06:57 PM
These are binary numbers which you are adding. For example, 1 << 18 represents a binary number with the 18th bit set to 1 or 1000000000000000000 which is 282144 in decimal. So for your example, to do DF_WEAPONS_STAY and DF_NO_FALLING it'd be a number with the 2nd and 3rd bits set or 1100 or 12. You count bits starting with zero.
You can use the scientific calculator mode of the windows calculator to do this. You can also do it by taking 2 to the power of the bit number. For example the above would be 2^2 + 2^3 or 4 + 8 or 12.
Cleaner
11-13-2002, 07:30 PM
I knew I should of went to MIT
I converted all the numbers in decimal.
// dmflags -- flags that can be set in the dmflags variable.
// DF_NO_HEALTH (1 << 0) =1
// DF_NO_POWERUPS (1 << 1) =2
// DF_WEAPONS_STAY (1 << 2) =4
// DF_NO_FALLING (1 << 3) =8
// DF_INSTANT_ITEMS (1 << 4) =16
// DF_SAME_LEVEL (1 << 5) = 32
// DF_NO_ARMOR (1 << 11) = 2048
// DF_INFINITE_AMMO (1 << 14) = 16384
// DF_NO_FOOTSTEPS (1 << 17) =131072
// DF_ALLOW_LEAN (1 << 18 ) = 262144
// DF_OLD_SNIPERRIFLE (1 << 19) = 524288
// DF_GERMAN_SHOTGUN (1 << 20) = 1048576
This make more since.
I wonder why ea did not do this in the first place ?
Cshelton
11-13-2002, 09:21 PM
Some of these DMFLAGS are age-old from Quake1. We just added to what's there, and there's room for more DMFLAGS so you might see more options here in the future. Some of these function, others do not. Just FYI the old sniperrifle flag sets the sniper rifles for both teams back to the springfield or kar respectively no matter which skin you choose.
Chris
blasney
11-13-2002, 10:36 PM
Just to make sure I got this right, to enable the german shotgun, old sniper rifles, and leaning the line is:
dmflags 1835008
right?
HankScorpio
11-14-2002, 01:31 AM
Yep, exactly.
Cleaner
11-14-2002, 04:32 AM
that is interesting so now that i got all the lean fixed,,the only other thing I do not like about spearhead is the "monkey jumping" as I call it,,where everyone moves so fast and when your up close trying to kill em they like move in a choppy manor too fast, what is the normall mohaa speed? It seems the normal default speed I have in my config is still pretty fast.
Thanks Chris and welcome to the board,
Also I have updated the front page's dmflag info and created a guide to go along with this.
blasney
11-14-2002, 07:05 AM
what is the normall mohaa speed? It seems the normal default speed I have in my config is still pretty fast.
"set sv_dmspeedmult 1.000000" is what I use, and everyone in our clan agrees that it is the default speed. Out of the box, it is set to 1.100000.
I'd like to set it to 1.9 just to see what happens ;)
HankScorpio
11-14-2002, 07:34 AM
I've set mine to 0.9 to make it more CKR-like.
SNYPE
11-14-2002, 10:10 AM
The sv_dmspeedmult is a speed multiplier . The 1.0 value is 1 times the "normal running speed" which is still the same as the MOHAA run speed. The 1.1 value is 1.1 times "normal running speed" or a speed boost .
Funny thing is in their default server cfg they set the sv_dmspeedmult to 1.1, making it look like the normal value.
There is a variable, sv_runspeed which sets the actual speed of "normal running speed" in the game. You dont need to change that unless you dont like the "normal running speed".
Nocturnal
11-28-2002, 03:32 AM
thanx guys its great to lean ounce agian http://www.gamers-forums.com/smilies/cwm/cwm3d/3devil3.gif now lets all sing lean on me la la la la.........
Nocturnal
11-28-2002, 03:38 AM
hey its easier this way create a new notepad type this in
//bind lean and walk
set dmflags 262144
now save as... bind lean and walk.cfg
save too... C:\Program Files\EA GAMES\MOHAA\mainta
and your done... http://www.gamers-forums.com/smilies/cwm/cwm3d/3devil3.gif
Rimmel
11-29-2002, 05:54 AM
why anyone would want to lean strafe is beyond me... very unrealistic :(
BGatterholz
11-29-2002, 09:58 AM
Yeah it will be nice to get rid of the lean while running. ;) I get tired of seeing it on my MOHAA 1.1 server. It just looks idiotic to me. Is there a "Rocket Boys get Zero Ammo" setting or command available in the configuration variables? I have my Spearhead server ready to go but shut it down when it got overrun by "Rocket Boys" Wednesday night. :(
Rimmel
11-29-2002, 10:10 AM
I have a pk3 that gives 2 shells for rockets :) and also stops snipers strafing!!! :)
email me on rimmel@rimmersoft.co.uk and I will make a pk3 to your specs .... or at least it will show you where to start :)
Cheers
Yeah it will be nice to get rid of the lean while running. ;) I get tired of seeing it on my MOHAA 1.1 server. It just looks idiotic to me. Is there a "Rocket Boys get Zero Ammo" setting or command available in the configuration variables? I have my Spearhead server ready to go but shut it down when it got overrun by "Rocket Boys" Wednesday night. :(
looks idiotic?
how idiotic is it to say that a GAME will be as real, as the real world on a pc screen ? in real world do you have to stop and stay still before you look around a courner? Do you have a iron bar from your ass to your head ? so you stay in a right 90 degree angle from the ground in the "real" world? If you would be shoot at, whould you have that bar on, or will you try to awoid to be hit by lean and zick zack? And plz dont answer this that all uses scripts becouse most old mohaa players dont...
lean strafe is ONE of the things that make mohaa that popular that it is
to bad that ea listen to all this and remove it in default settings
dont want to start a flamewar here but there is not any more than one side here and on most forums about these lean strafe things, there is many players that will stop play mohaa/spearhead in clans and leages becouse of this, and most of them dont give a damn about writing in these forums, most of them dont look here at all, becouse they play the game they love to play as long as it will be as it is.
But with all new mapbugs/glitches in speerhead and lean/strafe disabled as default i think this will be a loss for the comunity....
what will come of this? 20 new ladders on clanbase ?
a ladder for each serversetting and of course a ladder for each country..
and not to forget a benelux ladder...
there will be maybe 5 clans ein each ladder that way, thats just great :-(
cant help wonder why was mohaa the the most popular game next to counterstrike?
And why do EA changing a winning concept? to a concept
that make half the community looking for another game ?
sorry for some shitty english
/Lean on
[MaR]Wolf
Rimmel
11-29-2002, 04:02 PM
I have never heard such a load of cobblers in all my life!!!!!!!!...... lean strafe is for saddo's who cant play the game..... basically .....
If stopping lean + strafe loses MOHAA some players...then good riddance.. it those CS type cheat players we dont need.........!!!!!!!!
if you look close enough maybe you will find some pk3 to stop snipers snipe cant have those damn snipers.. And dont forget the strafe, cant have that in a game ..... forfward and backwards. Thats for some real gamers.
Rimmel
11-29-2002, 04:22 PM
already done it for Spearhead.......... theres a new setting so you can stop strafe sniping :)
already done it for Spearhead.......... theres a new setting so you can stop strafe sniping :)
why am i not supriced ......
BGatterholz
11-29-2002, 06:46 PM
:?: :?:
I guess the real question to be answered here is about something I remember reading in a MOHAA forum somewhere a while back. I used the lean while running for a while when I saw it in use. I'm not that great of a player, but I got killed a heck of a lot less when I used it. Then I read somewhere that it throws off the x-y-z coordinates for the player's damage zones when it is used. I don't know how true this is, but I stopped using it after I read that. Now I die a lot more these days, but oh well. Anyway, when I read that it made me feel like every time I saw it in use the odds weren't fair if the 3D calculations were thrown off. So I developed a strong dislike for the technique after that. I don't kick people for it or anything, but I always like when they leave after reading that about the technique.
I guess only one of the programmers that devoloped the game could settle the issue once and for all. I didn't intend any disrespect for anyone, but if it does create errors in the calculations of the 3D coordinates of the damage zones, then it is another bug that is being exploited and having the option of shutting it off is a welcome feature for some of us admins.
My server is open to the public and is just a place to meet my brother and friends that live far away for a friendly game, nothing serious. My main concern is to have a level playing field for all of my guests. I couldn't believe at first how many people Delator catches coming in with cheatskins, so I installed the Dogtag mod to force the skins to be the same. You get to the point that you suspect everyone on your server of using cheats after a while.
Once again, sorry if I offended anyone. Anyway, does anyone know for certain about the lean - coordinates issue? I would feel much better about it either way if we all knew for sure.
MTA_rippindude
08-29-2003, 01:08 AM
Could some one tell me the flag setting to disable the lean.. While running and if poss. no lean at all.. thanks in advance.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.