| 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] |
|
|
|
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 |
|
|
|
| DaveR |
General Member Since: Dec 5, 2006 Posts: 380 Last: Sep 17, 2011 [view latest posts] |
|
|
|
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 |
 |
|
|
| DaveR |
General Member Since: Dec 5, 2006 Posts: 380 Last: Sep 17, 2011 [view latest posts] |
|
|
|
|
| DaveR |
General Member Since: Dec 5, 2006 Posts: 380 Last: Sep 17, 2011 [view latest posts] |
|
|
|
|
| The_Caretaker |
General Member Since: Jun 8, 2004 Posts: 11625 Last: Jul 7, 2009 [view latest posts] |
|
|
|
|
| DaveR |
General Member Since: Dec 5, 2006 Posts: 380 Last: Sep 17, 2011 [view latest posts] |
|
|
|
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 |
 |
|
|
| novemberdobby |
 |
General Member Since: Sep 17, 2006 Posts: 1965 Last: Oct 13, 2013 [view latest posts] |
|
|
 |
|
|
| DaveR |
General Member Since: Dec 5, 2006 Posts: 380 Last: Sep 17, 2011 [view latest posts] |
|
|
|
|
| novemberdobby |
 |
General Member Since: Sep 17, 2006 Posts: 1965 Last: Oct 13, 2013 [view latest posts] |
|
|
 |
|
|
| DaveR |
General Member Since: Dec 5, 2006 Posts: 380 Last: Sep 17, 2011 [view latest posts] |
|
|
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|