PoW – Vehicles – Autoeject – Nades – Servermsg – Autokill

Ask questions, discuss ideas, get answers
Post Reply
Scoop M
Posts: 73
Joined: Wed Oct 31, 2012 2:49 am

PoW – Vehicles – Autoeject – Nades – Servermsg – Autokill

Post by Scoop M »

All SSM

Vanilla BF1942


# 1 - I’d like to make the PoWales at Iwo less powerful damagewise. Doubling the reload times from 6 to 12 secs for front and rear guns would be ideal. Possible ? Are there other ways to decrease its deadliness ? (Primarily against infantry).


# 2 a - Is it possible to make empty vehicles immune to all damage, and make them normally vulnerable as soon as a player occupies them ?

# 2 b - And ... the same, but for one team only ? Example : Allied empty vehicles can be damaged by axis but not by allies ?


# 3 - Fletcher at Omaha. Possible to make it autorelease / autoeject a landing craft as soon as a player occupies it ?


# 4 - Limit nades to 2 or 1 per kit on a specific map. Possible ? If yes, how ? I once heard that 2 is ok, but 1 will lead to server crashes ?


# 5 - Without BFSM, using the commandline : admin.servermessage, you can send a general yellow text message. Is it possible to include a player name in it by adding a player id to it somehow ?


# 6 - Commandline, kill / destroy vehicle ? Using the game.killplayer [id] console command, you can kill a specific player. Is it possible per default or with mods to kill a vehicle or all vehicles of a category ?

Thx.
Old Man River
Posts: 77
Joined: Mon Jul 30, 2012 5:12 am

Re: PoW – Vehicles – Autoeject – Nades – Servermsg – Autokil

Post by Old Man River »

we played around with in game commands the problem was the command also told everyone who the admins were with message so we gave it away and stuck with BFRM. Here is a list of commands we got from somewhere back then that I had saved

Code: Select all

BFRM has an easier way to interface with the server for all of those commands; it is their in game command system. This system uses the file "playermenu.con" for the command structure and it is easily customizable and much easier to use than the console command system. There are three simple steps:

1. Set up your admin "user" in BFRM. Include their keyhash in the User record and Save. Available in-game commands should correspond with the Admin tabs you set them up with.

2. Review the commands in your playermenu.con file. Again, you can customize this for your needs. It might be helpful at first to print out a copy of it to have handy for when you want to use the commands.

3. Go into game and practice issuing commands. You have to preface the in-game command with ! as in !warn. The command for each particular action is the word or partial word at the end of the command description/action, and it is contained in brackets. So, for:

Warn player>"Please listen to the admins"[warn]

your in-game command to warn player # 32 name of Michell would be one of the following:

!warn .32
!warn michell
!warn mich

and would result in the following:

[BFSM] Michell Please listen to the admins

This can be shown either in yellow text in the lower left hand corner or in gray text in the player chat area, depending upon your preference and option selection in BFSM. Using a partial name as in the third example might not work if there is another player(s) in game with that same partial name. For instance, if you had Michell, MichaelTheGreat or Sammich in game, use of "mich" as a partial name match would fail.

Anyhoo look over the playermenu.con file and play around with it, let us know if you have any questions. 



playermenu.con follows

// Battlefield Server Manager 2.0
// PlayerMenu.con
// Copy this file to your server's "Settings" folder

// Warnings
// To the general server
Warn server>"Please do not chat spam"|global,[gwspam]
Warn server>"Please do not play disruptively"|global,[gwdis]
Warn server>"Please do not team kill"|global,[gwtk]
Warn server>"Please do not attack your own team"|global,[gwayot]
Warn server>"Please do not shoot friendly vehicles"|global,[gwsfv]
Warn server>"Please do not drive vehicles to planes"|global,[gwdvtp]
Warn server>"Please do not use map exploits"|global,[gwexploits]
Warn server>"Please do not team stack"|global,[gwtmstack]
Warn server>"Please keep your username appropriate"|global,[gwname]
Warn server>"Please keep your language clean"|global,[gwlang]
Warn server>"Please listen to the administrators"|global,[gwlisten]
Warn server>"The server will be rebooting shortly. Sorry!"|global,[gwreboot]
Warn server>"The server will be passworded shortly. Sorry!"|global,[gwpw]

// To specific people
Warn player>"please don't chat spam"[wspam]
Warn player>"please don't play disruptively"[wdis]
Warn player>"please don't team kill"[wtk]
Warn player>"please don't attack your own team"[wayot]
Warn player>"please don't shoot friendly vehicles"[wsfv]
Warn player>"please don't drive vehicles to planes"[wdvtp]
Warn player>"please change your name to something more appropriate"[wname]
Warn player>"please tone down your language"[wlang]
Warn player>"please don't team stack"[wtmstack]
Warn player>"please listen to the admins"[wlisten]
Warn player>"please cease using map exploits"[wexploits]
Warn player>"the server will be rebooting shortly"[wreboot]
Warn player>"the server will be passworded shortly"[wpw]

// Kicks
Kick player|kick,[kick]

// Kick with message
Kick for>"chat spamming"|kick,[kspam]
Kick for>"disrupting gameplay"|kick,[kdis]
Kick for>"team killing"|kick,[ktk]
Kick for>"attempted team killing"|kick,[katk]
Kick for>"shooting friendly vehicles"|kick,[ksfv]
Kick for>"driving vehicles to planes"|kick,[kdvtp]
Kick for>"having an inappropriate name"|kick,[kname]
Kick for>"using inappropriate language"|kick,[klang]
Kick for>"team stacking"|kick,[ktmstack]
Kick for>"ignoring admin requests"|kick,[klisten]
Kick for>"using map exploits"|kick,[kexploits]

// Bans
Ban player for 10 minutes|ban,600,[b10min]
Ban player for 1 day|ban,86400,[b1day]
Ban player for 3 days|ban,259200,[b3days]
Ban player for 1 week|ban,604800,[b1week]
Ban player for 1 month|ban,2592000,[b1month]
Ban player permanently|ban,[ban]

// Ban with message

// Chat spamming
Ban for>"chat spamming">for 1 day|ban,86400,[bspam1day]
Ban for>"chat spamming">for 3 days|ban,259200,[bspam3days]
Ban for>"chat spamming">for 1 week|ban,604800,[bspam1week]
Ban for>"chat spamming">for 1 month|ban,2592000,[bspam1month]
Ban for>"chat spamming">permanently|ban,[bspam]

// Disruptive gameplay
Ban for>"disrupting gameplay">for 1 day|ban,86400,[bdis1day]
Ban for>"disrupting gameplay">for 3 days|ban,259200,[bdis3days]
Ban for>"disrupting gameplay">for 1 week|ban,604800,[bdis1week]
Ban for>"disrupting gameplay">for 1 month|ban,2592000,[bdis1month]
Ban for>"disrupting gameplay">permanently|ban,[bdis]

// Team killing
Ban for>"team killing">for 1 day|ban,86400,[btk1day]
Ban for>"team killing">for 3 days|ban,259200,[btk3days]
Ban for>"team killing">for 1 week|ban,604800,[btk1week]
Ban for>"team killing">for 1 month|ban,2592000,[btk1month]
Ban for>"team killing">permanently|ban,[btk]

// Attempted team killing
Ban for>"attempted team killing">for 1 day|ban,86400,[batk1day]
Ban for>"attempted team killing">for 3 days|ban,259200,[batk3days]
Ban for>"attempted team killing">for 1 week|ban,604800,[batk1week]
Ban for>"attempted team killing">for 1 month|ban,2592000,[batk1month]
Ban for>"attempted team killing">permanently|ban,[batk]

// Shooting friendly vehicles
Ban for>"shooting friendly vehicles">for 1 day|ban,86400,[bsfv1day]
Ban for>"shooting friendly vehicles">for 3 days|ban,259200,[bsfv3days]
Ban for>"shooting friendly vehicles">for 1 week|ban,604800,[bsfv1week]
Ban for>"shooting friendly vehicles">for 1 month|ban,2592000,[bsfv1month]
Ban for>"shooting friendly vehicles">permanently|ban,[bsfv]

// Driving vehicles to planes
Ban for>"driving vehicles to planes">for 1 day|ban,86400,[bdvtp1day]
Ban for>"driving vehicles to planes">for 3 days|ban,259200,[bdvtp3days]
Ban for>"driving vehicles to planes">for 1 week|ban,604800,[bdvtp1week]
Ban for>"driving vehicles to planes">for 1 month|ban,2592000,[bdvtp1month]
Ban for>"driving vehicles to planes">permanently|ban,[bdvtp]

// Inappropriate name
Ban for>"having an inappropriate name">for 1 day|ban,86400,[bname1day]
Ban for>"having an inappropriate name">for 3 days|ban,259200,[bname3days]
Ban for>"having an inappropriate name">for 1 week|ban,604800,[bname1week]
Ban for>"having an inappropriate name">for 1 month|ban,2592000,[bname1month]
Ban for>"having an inappropriate name">permanently|ban,[bname]

// Inappropriate language
Ban for>"using inappropriate language">for 1 day|ban,86400,[blang1day]
Ban for>"using inappropriate language">for 3 days|ban,259200,[blang3days]
Ban for>"using inappropriate language">for 1 week|ban,604800,[blang1week]
Ban for>"using inappropriate language">for 1 month|ban,2592000,[blang1month]
Ban for>"using inappropriate language">permanently|ban,[blang]

// Team stacking
Ban for>"team stacking">for 1 day|ban,86400,[btmstack1day]
Ban for>"team stacking">for 3 days|ban,259200,[btmstack3days]
Ban for>"team stacking">for 1 week|ban,604800,[btmstack1week]
Ban for>"team stacking">for 1 month|ban,2592000,[btmstack1month]
Ban for>"team stacking">permanently|ban,[btmstack]

// Ignoring admin requests
Ban for>"ignoring admin requests">for 1 day|ban,86400,[bignore1day]
Ban for>"ignoring admin requests">for 3 days|ban,259200,[bignore3days]
Ban for>"ignoring admin requests">for 1 week|ban,604800,[bignore1week]
Ban for>"ignoring admin requests">for 1 month|ban,2592000,[bignore1month]
Ban for>"ignoring admin requests">permanently|ban,[bignore]

// Map exploits
Ban for>"using map exploits">for 1 day|ban,86400,[bexploits1day]
Ban for>"using map exploits">for 3 days|ban,259200,[bexploits3days]
Ban for>"using map exploits">for 1 week|ban,604800,[bexploits1week]
Ban for>"using map exploits">for 1 month|ban,2592000,[bexploits1month]
Ban for>"using map exploits">permanently|ban,[bexploits]

Console Commands>"admin.toggleGamePause"|cmd,[pause]
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: PoW – Vehicles – Autoeject – Nades – Servermsg – Autokil

Post by freddy »

Scoop M wrote:All SSM

Vanilla BF1942


# 1 - I’d like to make the PoWales at Iwo less powerful damagewise. Doubling the reload times from 6 to 12 secs for front and rear guns would be ideal. Possible ? Are there other ways to decrease its deadliness ? (Primarily against infantry).


# 2 a - Is it possible to make empty vehicles immune to all damage, and make them normally vulnerable as soon as a player occupies them ?

# 2 b - And ... the same, but for one team only ? Example : Allied empty vehicles can be damaged by axis but not by allies ?


# 3 - Fletcher at Omaha. Possible to make it autorelease / autoeject a landing craft as soon as a player occupies it ?


# 4 - Limit nades to 2 or 1 per kit on a specific map. Possible ? If yes, how ? I once heard that 2 is ok, but 1 will lead to server crashes ?


# 5 - Without BFSM, using the commandline : admin.servermessage, you can send a general yellow text message. Is it possible to include a player name in it by adding a player id to it somehow ?


# 6 - Commandline, kill / destroy vehicle ? Using the game.killplayer [id] console command, you can kill a specific player. Is it possible per default or with mods to kill a vehicle or all vehicles of a category ?

Thx.
1. you can change the projectiles or use the distToStartLoseDamage code (it only affects direct damage, not splash) or just remove some of the "addFireArmsPosition". you can change reloadtime ssm and it works, but the clients cant see the changes so half the time they will shoot blanks.

2.a.b not in any way that i know of.

3. there is a code that makes the engine be on full throttle "all the time" once you triggered it, i cant remember if it was enough to just enter the vehicle or if you had to tap the throttle once.

4. should be possible, if you set the nades to 2 first, then add a second FireArmsPosition somewhere out of the map it will spawn the second nade where it cant be seen and empty the mag in one go.

5. dont know the command for that but it should be there somewhere as the bfsm program can trigger it.

6. dont know but i doubt it would be easy, every object created in the server gets a #nr when its being created, but its dynamic and often very high numbers, iwé tried to kill the f***ing siren in BoB but so far no success. its much easier to create stuff.
Scoop M
Posts: 73
Joined: Wed Oct 31, 2012 2:49 am

Re: PoW – Vehicles – Autoeject – Nades – Servermsg – Autokil

Post by Scoop M »

Thx freddy, without you, and other bfmods-goodfellas, my server would be a pile of unorganized annoyance. Your help is invaluable, and results in highly improved gameplay experience and entertainment for thousands of new players. :) I cannot thank you enough.

# 1 - That client "invisibility" is ok with me. What code, inserted where is needed to change the round of fire for the PoWales, at Iwo only (mapside), from 6 to 12 seconds ?

I tried changing values in objects.con/vehicles/sea/princeow/weapons

and also inserting activing' in os.con ... didn't help. solution ?
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: PoW – Vehicles – Autoeject – Nades – Servermsg – Autokil

Post by freddy »

Looking at the POW weapons it seems to have real low reloadtimeand and roundOfFire, usually its just a matter of change the reload time so i guess you could try this in ObjectSpawnTemplates.con

Code: Select all

ObjectTemplate.Active PrinceOW_CannonPipes4
ObjectTemplate.reloadtime 0.30

ObjectTemplate.Active PrinceOW_CannonPipes2
ObjectTemplate.reloadtime 0.30
put the server file temporary in your games mapfolder and host a local game so you can see how/if it works
Scoop M
Posts: 73
Joined: Wed Oct 31, 2012 2:49 am

Re: PoW – Vehicles – Autoeject – Nades – Servermsg – Autokil

Post by Scoop M »

1 # - I got it to work !

The proper code was :

Code: Select all

ObjectTemplate.Active PrinceOW_CannonPipes4
ObjectTemplate.reloadtime 0.07
ObjectTemplate.roundOfFire 0.07

ObjectTemplate.Active PrinceOW_CannonPipes2
ObjectTemplate.reloadtime 0.07
ObjectTemplate.roundOfFire 0.07
Since :

1 means one second
0.15 means 6.66 seconds
0.07 means 14.29 seconds

Tried with reloadtime lines only first, then added roundOfFire when it didn't work.

Thx for leading me the right way bud. And yes, I always test code on a test server where I enter as a client :)
Scoop M
Posts: 73
Joined: Wed Oct 31, 2012 2:49 am

Re: PoW – Vehicles – Autoeject – Nades – Servermsg – Autokil

Post by Scoop M »

I've already asked the following in this post :

"Is it possible to make empty vehicles immune to all damage, and make them normally vulnerable as soon as a player occupies them ?"

SSM

(just like friendly fire off, but also including empty vehicles)

and gotten an answer from freddy, saying it can't be done.

Can anybody please confirm this ? I ask again because it would be a quantum leap if it could be made possible.
Post Reply