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

Members Online

»
0 Active | 59 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 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Set/Get player's max speed
elahmn
General Member
Since: Jan 8, 2009
Posts: 15
Last: Aug 29, 2013
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Thursday, Jan. 13, 2011 11:27 pm
Hi!

I just want set the player's max speed in COD2 mp!

For ex: the more damage the player takes the slower it becomes!
Thx in advance!

Elahmn
Share |
liltc64
General Member
Since: Feb 12, 2007
Posts: 906
Last: Oct 22, 2012
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Thursday, Jan. 13, 2011 11:49 pm
to make the player go faster you could enable cheats and do /g_speed 800. but im guessing u dont want that do you? only way to change a players speed is threw the weapons file. so he must be holding a specific weapon. in the weapons file you can change the players speed. and for the slowing down... you could always use shellshock that should work.
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Friday, Jan. 14, 2011 09:07 am
I once created a bunnyhop mod, which boosts the player a bit.

Besides, i created a accelerometer and a speedometer.

If you are interested, i can post it here
Share |
clanhelio
General Member
Since: Aug 30, 2008
Posts: 223
Last: Mar 24, 2011
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Friday, Jan. 14, 2011 10:48 am
liltc64 writes...
Quote:
to make the player go faster you could enable cheats and do /g_speed 800. but im guessing u dont want that do you? only way to change a players speed is threw the weapons file. so he must be holding a specific weapon. in the weapons file you can change the players speed. and for the slowing down... you could always use shellshock that should work.

Only way as far as I know would be setting the speed for the weapon, meaning you need speed variants for every single weapon. Probably not worth the hassle. Probably is.
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Friday, Jan. 14, 2011 11:05 am
clanhelio writes...
Quote:
liltc64 writes...
Quote:
to make the player go faster you could enable cheats and do /g_speed 800. but im guessing u dont want that do you? only way to change a players speed is threw the weapons file. so he must be holding a specific weapon. in the weapons file you can change the players speed. and for the slowing down... you could always use shellshock that should work.

Only way as far as I know would be setting the speed for the weapon, meaning you need speed variants for every single weapon. Probably not worth the hassle. Probably is.


Well, thats about what i thought when i first tried it. Then, i found something like "boosting players" (i think brax was the first to implement this in some map). Using this, i was able to port bunnyhopping back into cod2 :D
Share |
elahmn
General Member
Since: Jan 8, 2009
Posts: 15
Last: Aug 29, 2013
[view latest posts]
Level 1
Category: CoD2 Scripting
Posted: Friday, Jan. 14, 2011 04:30 pm
Thx! For the post I will try these solutions, when I have time for it!


IzNoGod: The player boosting was solved with damage recoil?
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Friday, Jan. 14, 2011 09:00 pm
Yup, you can still try the mod.

Its at codjumper.com, some old newspost called "DeFRaG mod". iirc, the bunnyhopping is in a separate file. and, iirc again, you can enable it with scr_bunnyhop 1 or smthing like that
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

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

»