My question, request

Ask questions, discuss ideas, get answers
Post Reply
Denny
Posts: 6
Joined: Fri Apr 25, 2014 9:34 pm

My question, request

Post by Denny »

So i would be grateful is someone could make a mod like this or something.

On the Apostoles of midway server somewhere in 2012 there was christmas mod, where including some other stuff you had modded pistols. Modded in that way that for example if i shot on the ground near my enemy, he would fly off in air 10 meters and die lol. Would someone of you guys know how to do that on berlin tdm? Making pistols only enabled weapon with this bullet effect.

I also have 1 question related to bots on multiplayer server, but this pistol thingy i would really like to implement on my server :D
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: My question, request

Post by Vilespring »

That should be pretty easy, but I have no idea how server side modding is done, but plenty of other people here do!
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: My question, request

Post by freddy »

Try something like

Code: Select all

ObjectTemplate.Active coltProjectile
ObjectTemplate.material 214
ObjectTemplate.material2 200
ObjectTemplate.radius 10
ObjectTemplate.ForceOnExplosion 500

Code: Select all

ObjectTemplate.Active GermanSoldier
ObjectTemplate.explosionForceMod 500
ObjectTemplate.explosionForceMax 500
Denny
Posts: 6
Joined: Fri Apr 25, 2014 9:34 pm

Re: My question, request

Post by Denny »

Thank you freddy, although i dont know what to do with this code(total noob with this), i will ask my friend who created server if he knows where to put this code :mrgreen:
Diamondback
Posts: 589
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: My question, request

Post by Diamondback »

You can put it in the Init.con file of your map (which you can find in the maps root folder when extracted) or the ObjectSpawnTemplates.con file, located in each game more's respective folder. These CON files can be opened with Wordpad/Textpad.
See my Strasbourg map project here.
Post Reply