Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › Help › Scripting Help › Giving British nades and knifes to allied players
7 posts, 4 people · 806 views Thread Rating: ★★★★★
closedGiving British nades and knifes to allied players
Started by Tank on 02-13-2009, 11:27 AM
Tank
started this thread
Posts: 581
Threads: 59
Joined: Jan 2007
02-13-2009, 11:27 AM #1

I want to give Allied players British nades and British knifes.rnrnFirst of all, is this even possible?rnrnIf so, how would I do it? It's a plugin written for a Allied-Axis 24/7 ava server, so I wont have to worry about changing it over for british-axis maps.

dodsynthetic
posted here
Posts: 277
Threads: 15
Joined: Mar 2007
02-13-2009, 07:05 PM #2

I would surmise that like the scoped fg42/enfield, an offset or offsets will need to be altered to change it's type and appearance. I'll see if I can figure it out.

Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
02-13-2009, 08:53 PM #3

not possible. a hand_grenade is also a mills_bomb... depend of allies country...

Tank
started this thread
Posts: 581
Threads: 59
Joined: Jan 2007
02-14-2009, 02:58 PM #4

Well I know Allied team and British team are seen as the same team. But there isn't a work around? If it can't be done, no worries, just wanted to give that something extra to my plugin.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
02-14-2009, 07:07 PM #5
not possible. a hand_grenade is also a mills_bomb... depend of allies country...
nnnits still likely that it might be hidden somewhere in an offset, which normally would be set to whatever value depending on the allied team

Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
02-14-2009, 07:31 PM #6

haha yea i was totaly wrong actully lol just do a rnrn

register_forward(FM_SetModel,"forward_model")
rnrnEDIT rnrndont forget the view model :)

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
02-15-2009, 02:03 PM #7

well you could 'fake' it easily.. and replace the model that the player and other players see and change the death msg and log messagesnnbut it would be alot better to figure out a way to actually have the player have the actual weapon instead

Archive › Old Forum Threads › Help › Scripting Help › Giving British nades and knifes to allied players
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC