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

Members Online

»
0 Active | 4 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: I'm trying to make a mod...
DaveR
General Member
Since: Dec 5, 2006
Posts: 380
Last: Sep 17, 2011
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 8, 2007 01:19 pm
I'm still working on the zombie mod for CoD4. I've dived a bit into the files and I think i know a bit how the mods for CoD4 work.

So I just want to make scrips for CoD4 which allow me to play zombie. So I found out that 3 things need to happen to start with.

1. There has to be a black fog in the map that limits the sight of the player.

2. All players need to start in one team (hunters) except from one (he will start in the other team; zombies). When the player from the other team (zombies) kills someone in the first team (hunters), he will go zombie as well.

3. I need a script to disable ammo on the zombie team. Also guns that hunters dropped need to be empty.

Could someone plz help me with these scripts? That would be really awesome!

thx.
Share |
novemberdobby
General Member
Since: Sep 17, 2006
Posts: 1965
Last: Oct 13, 2013
[view latest posts]
Level 8
Forum Moderator
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 8, 2007 02:10 pm
A lot of people are making zombie mods at the moment.

you could just make the zombies drop the weapon unless it's one in a list:

Code:
if(players[i] getcurrentweapon() != "ak47_" || players[i] getcurrentweapon() != "somethingelse_mp") players[i] dropitem(players[i] getcurrentweapon());


and set the max health of the zombies higher than the hunters in the globallogic gsc:

Code:

	if(self.pers["team"] == "allies") self.maxhealth = 100;
	if(self.pers["team"] == "axis") self.maxhealth = 400;
Share |
DaveR
General Member
Since: Dec 5, 2006
Posts: 380
Last: Sep 17, 2011
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 8, 2007 02:32 pm
I just wanted the health to be the same as a hunter's health. This is more realistic imo.

And that drop weapon script is really awesome. Do I just put that into a .GSC and put that into /mods?
Share |
94sniper
General Member
Since: Jun 15, 2007
Posts: 907
Last: Jun 22, 2009
[view latest posts]
Level 7
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 8, 2007 03:05 pm
actually you'd make a new folder in ur mods folder and put the script/IWD in there.
Share |
DaveR
General Member
Since: Dec 5, 2006
Posts: 380
Last: Sep 17, 2011
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 8, 2007 03:19 pm
You mean i copy that script into a 'randomname'.gsc which i put in Mods/'random mapname'.

Then open up CoD4 and run a new server?

If u mean that it isn't working... :( Please help.

Share |
94sniper
General Member
Since: Jun 15, 2007
Posts: 907
Last: Jun 22, 2009
[view latest posts]
Level 7
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 8, 2007 03:48 pm
1. open the mods folder
2. create a new folder named 'mymod'
3. place your script inside this new folder
4. open up CoD4
5. click on mods and select your mod.
6. start a new server

this is just my theory but it should work. I'm gonna try it right now.
Share |
novemberdobby
General Member
Since: Sep 17, 2006
Posts: 1965
Last: Oct 13, 2013
[view latest posts]
Level 8
Forum Moderator
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 8, 2007 04:07 pm
If that doesn't work: http://www.modsonline.com/Forums-top-68089.html?msgrd=2500 tells you somewhere
Share |
DaveR
General Member
Since: Dec 5, 2006
Posts: 380
Last: Sep 17, 2011
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 8, 2007 04:23 pm
If I open up Mods in CoD4 and select 'mymod' and then do 'Launch' I get the 'Direct X inrecoverable error' or something.

Someone any suggestions?

edited on Dec. 8, 2007 11:23 am by DaveR
Share |
Raaaaa
General Member
Since: Aug 8, 2006
Posts: 178
Last: Nov 21, 2008
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 8, 2007 04:29 pm
If thats the same error as mine disable xfire ingame for cod4 (done in the options and untick the box for cod4)
I asked the same question in the nightassult mod thread so you can check that
Share |
DaveR
General Member
Since: Dec 5, 2006
Posts: 380
Last: Sep 17, 2011
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 8, 2007 05:49 pm
thx m8 that works. Now i got the mod running, i can't select perks anymore. But it still doesn't drop a weapon... Anybody knows what's going wrong?
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

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

»