Notices

Go Back   FileFront Forums > The Games! > Call of Duty Series > Call of Duty > CoD Modding, Mapping and Editing

Remember Me?

CoD Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
Old September 21st, 2005   #1
I'm too cool to Post
 
Join Date: August 18th, 2005
Status: Available
8 posts, 0 likes.
Rep Power: 0
=TLI=Drunk is a n00b
Default Spawn protection mod

Im looking for a spawn protection mod for our server.


We have one on our AWE server but need one on our un-moded server but we dont want big downloads on it.


Can anyone help
=TLI=Drunk is offline   Reply With Quote
Old October 22nd, 2005   #2
COD Über Support
 
Join Date: November 19th, 2004
Location: London, UK
Status: Available
3,436 posts, 0 likes.
Rep Power: 27
Tally has nothing to be ashamed ofTally has nothing to be ashamed of
Default Re: Spawn protection mod

I would just use AWE and turn all the other features off. It doesnt have to be downloaded to the player, as it is a server-side mod.
Tally is offline   Reply With Quote
Old November 4th, 2005   #3
Vicious Tacticious
 
Join Date: January 3rd, 2004
Location: Utah, US
Status: Hosting your gaming website free
35 posts, 0 likes.
Rep Power: 0
Tacticious is a n00b
Default Re: Spawn protection mod

Quote:
Originally Posted by tally
I would just use AWE and turn all the other features off. It doesnt have to be downloaded to the player, as it is a server-side mod.
Using the mod itself with all features turned off will still make the player download it if downloading is enabled on the client's side.

I have a simple (VERY simple) means of doing it. Take a look:

Code:
spawnProtection()
{
self endon("killed");
self endon("spanwed");
self endon("disconnect");
//... any other triggers necessary
self.spawnprotect=true;

duration=getCvarFloat("sv_spawn_protection_time");
wait duration;
self.spawnprotect=undefined;
}
Save that as _spawn.gsc (in the SAME directory as _teams.gsc, which is
pakuo04.pk3).

now, edit _teams.gsc.. Here are the instructions when the file is open (just use wordpad):
Search for "Callback_PlayerDamage", or just find it yourself :P
Right inside that function (or directly below the {) at the very top, put in the following code
Code:
if (isdefined(self.spawnprotect)) return;
Now, add the following code to the BOTTOM of your spawnPlayer() function (within _teams.gsc):
Code:
self thread maps\MP\gametypes\_spawn::spawnProtection();
Now, get yourself a config file. You'll probably want to use config.cfg. Add set sv_spawn_protection_time "x" to it, x being the time (in seconds) you would like your spawners to be protected.

You're now ready! Good luck. Also please note, this requires absolutely no downloading.

Death has many names. This is one of them.
Tacticious is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spawn Mod JacobD88 S.T.A.L.K.E.R. CS Modding, Mapping and Editing 5 December 18th, 2008 05:53 AM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind