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

Members Online

»
0 Active | 11 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
Previous Page Next Page
subscribe
Author Topic: I'm trying to make a mod...
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. 15, 2007 02:33 am
Scratchy writes...
Quote:
I'm sorry if your trying to get back on topic, but I find this sentence very offense to my intelligence. I am sad to see you cannot return the respect that I have given you.


sorry? I'm not 100% sure how that offended you... you don't have to waste your time telling me. I'm not trying to dis you in any way and I apologize if you consider it a threat.

Again I say, This subject is very off topic and needs to stop... COMPLETELY.

I'm sorry DaveR for having manipulated your topic. I meant the link only to help and not to cause such a large problem.

94Sniper
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. 15, 2007 09:03 am
NovemberDobby writes...
Quote:
_class.gsc
_globallogic.gsc
_teams.gsc

are good places to start learning how it works

anywhere it sets their team (player.pers["team"] or player.sessionteam etc) you need to make it switch to zombies if they have died once or more (player.deaths)

or, find the playerkilled callback and make it stick them on zombies every time

and have something which stops people reconnecting and spawning as a hunter

a lot of us have already done scripting for this, i'd say about 5 separate people

if you really are serious about making your own, you need to get your head down and find out how stock gametypes work
Wait a second. Do you mean that the scrips that make hunters go zombie when they die etc are made in several scripts? :/

np sniper
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. 15, 2007 09:18 am
Ok I had a look at all the scripts and I really don't know what to do... Please help me.
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. 15, 2007 04:15 pm
Someone???
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD4 MP Mapping
Posted: Saturday, Dec. 15, 2007 04:52 pm
I doubt that's needed. It can probably all be done in one single gametype script. NovemberDobby simply stated to look int those .gsc files to see how things work.

In your gametype .gsc file you'll have to check how often someone died (player.deaths), and then, when they die again, base the respawn side on that fact.

You will also have to make something for connecting players (look in for the onPlayerConnecting() function in the _teams.gsc file?) and then make it so they won't spawn into an existing game.


Making gametyes is ALOT of work and will require alot of knowledge about scripting. And patience.. alot of patience. And figuring things out for yourself.
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. 15, 2007 05:46 pm
The_Caretaker writes...
Quote:
In your gametype .gsc file you'll have to check how often someone died (player.deaths), and then, when they die again, base the respawn side on that fact.
I find the word 'death' only once in 'teamdeathmatch'. Not in the rest of the document at all.

I did found it in _globallogic:

Quote:
setXenonRanks( winner )
{
players = level.players;

for ( i = 0; i < players.size; i++ )
{
player = players;

if( !isdefined(player.score) || !isdefined(player.pers["team"]) )
continue;

}

for ( i = 0; i < players.size; i++ )
{
player = players;

if( !isdefined(player.score) || !isdefined(player.pers["team"]) )
continue;

setPlayerTeamRank( player, i, player.score - 5 * player.deaths );
player logString( "team: score " + player.pers["team"] + ":" + player.score );
}
sendranks();
}


So I just have to edit this in that way that as soon as the hunter dies he respawns as zombie?

edited on Dec. 15, 2007 12:48 pm by DaveR
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. 15, 2007 06:09 pm
he said you can use player.deaths, not that player.deaths is already in there...it's now slightly more than search and replace i'm afraid [rolleyes]
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. 15, 2007 07:15 pm
If that's true I'll be waiting for the tools so i can see how it's done in other zombie mods. Since CoD2 isn't the same I guess.
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. 15, 2007 07:41 pm
How will the tools let you look at other zombie mods?

Even if you get your hands on a serverside fast file/IWD (which I somehow doubt people give out), you'll still need a basic understanding of scripts to find out how it works.
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. 15, 2007 07:48 pm
I'll just check the difference between the stock files and the modded i think.

Unless someone else has a look at it, I don't think I'm able to finish this since I really don't know what everything does. I understand some bits but not everything. I'm able to edit scripts a bit but I'm still learning and I can't make my own. Making a custom gametyp isn't too hard for good scripters I guess but I have to start somewhere. So can someone else plz have a look at it? I know what to edit/add but I don't know how.
Share |
Restricted Access Topic is Locked
Page
Previous 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

»