Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 65 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoD+UO General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: Unlimited sprint?
Rainbowsix
General Member
Since: Jun 19, 2008
Posts: 56
Last: May 23, 2017
[view latest posts]
Level 3
Category: CoD+UO General
Posted: Sunday, Sep. 12, 2010 11:26 pm
Hi im wondering if i can change the sprint so its unlimited and dosent need to load up again. I cant find the script to edit this, does anyone know were to find it?
Share |
eganwotv
Deactivated Account
Since: May 28, 2007
Posts: 961
Last: Oct 31, 2010
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD+UO General
Posted: Monday, Sep. 13, 2010 12:18 am
I don't believe there was sprint in UO, perhaps your thinking of a MP mod for UO.
Share |
Rainbowsix
General Member
Since: Jun 19, 2008
Posts: 56
Last: May 23, 2017
[view latest posts]
Level 3
Category: CoD+UO General
Posted: Monday, Sep. 13, 2010 12:37 am
Yes there is a sprint function in coduo. My question is how to remove the recovery time for it, i need it for my jumpserver.

edited on Sep. 12, 2010 08:38 pm by Rainbowsix
Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoD+UO General
Posted: Monday, Sep. 13, 2010 12:34 pm
Call this function on each player when they connect

Code:

infiniteSprint()
{
	while(isPlayer(self))
	{
		wait 1;
		if(self.sessionstate == "playing")
			self setFatigue(1);
	}
}
Share |
Rainbowsix
General Member
Since: Jun 19, 2008
Posts: 56
Last: May 23, 2017
[view latest posts]
Level 3
Category: CoD+UO General
Posted: Monday, Sep. 13, 2010 01:45 pm
.KiLL3R. writes...
Quote:
Call this function on each player when they connect
Thank you! it works. Any chance you know how to remove the falling damage to?
Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoD+UO General
Posted: Monday, Sep. 13, 2010 01:55 pm
You can either -

Put this at the top of the playerDamage() function
Code:

	if(sMeansOfDeath == "MOD_FALLING")
		return;


or put this at the game load script area
Code:

	setCvar("bg_fallDamageMaxHeight",999999);
	setCvar("bg_fallDamageMinHeight",999998);
Share |
Rainbowsix
General Member
Since: Jun 19, 2008
Posts: 56
Last: May 23, 2017
[view latest posts]
Level 3
Category: CoD+UO General
Posted: Monday, Sep. 13, 2010 02:35 pm
.KiLL3R. writes...
Quote:
You can either -

Put this at the top of the playerDamage() function
Code:

	if(sMeansOfDeath == "MOD_FALLING")
		return;


I cant find the playerDamage() function. What is it for?

Quote:
Code:

	setCvar("bg_fallDamageMaxHeight",999999);
	setCvar("bg_fallDamageMinHeight",999998);


What do you mean by load script area?
Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoD+UO General
Posted: Monday, Sep. 13, 2010 03:04 pm
Rainbowsix writes...
Quote:

What do you mean by load script area?


main() or Callback_StartGameType() functions.
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD+UO General
Posted: Monday, Sep. 13, 2010 03:06 pm
you could do this in your mp_jump_map.gsc?
because your .gsc u can set cvars so should work.

setCvar("bg_fallDamageMaxHeight",999999);
setCvar("bg_fallDamageMinHeight",999998);


but if u want whole game then i think he ment do it in _load.gsc press ctrl + f and search for "fallDamage" and it should find that bit


Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoD+UO General
Posted: Monday, Sep. 13, 2010 03:13 pm
Rainbowsix is running a jump server so he wants all maps to have no fall damage, not every map loads up the _load.gsc script and there are no fall damage settings in _load.gsc either.

Best place to put it would be in the jump gametype script.
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty : CoD+UO General

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»