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
Previous 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: Sunday, Dec. 16, 2007 03:02 pm
someone?
Share |
DaveR
General Member
Since: Dec 5, 2006
Posts: 380
Last: Sep 17, 2011
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Sunday, Dec. 16, 2007 03:15 pm
Found this in Paulus' CoD2 zombiemod

Quote:
else
{
if (self.pers["team"] == "allies")
{
//allied killed by axis..allied becomes zombie


self thread movePlayer("axis",3, attackerNum, 0, psOffsetTime, true);
noRespawn = true;
doKillcam=false;



//LAST MAN STANDING
if(getcvar("scr_zom_lastManStanding") == "1")
{
//attacker.score++;
if (!(thread checkRestart(self)))
{
self thread blackScreen("killed");
}

}
else
{
self thread blackScreen("killed");

attacker.killcount++;

if (attacker.killcount > GetCvarInt("scr_zom_returnkills")-1)
{
attacker thread blackScreen("return");
attacker thread movePlayer("allies",3);
wait 0.01;
thread checkRestart();

noRespawn = true;
}
}



}
else
{
//axis killed by allied
if (GetCvarInt("scr_zom_alliesPointsForKilling") > 0)
{
attacker.score = attacker.score + GetCvarInt("scr_zom_alliesPointsForKilling");
attacker checkScoreLimit();
}

}

//attacker.score++;
//teamscore = getTeamScore(attacker.pers["team"]);
//teamscore++;
//setTeamScore(attacker.pers["team"], teamscore);

}
}

lpattacknum = attacker getEntityNumber();
lpattackguid = attacker getGuid();
lpattackname = attacker.name;
lpattackerteam = attacker.pers["team"];
}
else // If you weren't killed by a player, you were in the wrong place at the wrong time
{
doKillcam = false;

self.score--;

lpattacknum = -1;
lpattackname = "";
lpattackguid = "";
lpattackerteam = "world";

if (self.pers["team"] == "allies")
{
//If you are allied, become a Zombie
self thread movePlayer("axis",GetCvarInt("scr_zom_tktimeout"));
noRespawn = true;


//LAST MAN STANDING
if(!(getcvar("scr_zom_lastManStanding") == "1" && thread checkRestart(self)))
self thread blackScreen("alliedSuicide");
}
else
{
//you are a zombie, reset killcount
self.killcount=0;
self thread movePlayer("axis",GetCvarInt("scr_zom_tktimeout"));
noRespawn = true;
if(!(getcvar("scr_zom_lastManStanding") == "1" && thread checkRestart(self)))
self thread blackScreen("axisSuicide");
}


}


Could someone do something with this?
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: Sunday, Dec. 16, 2007 03:26 pm
Frankly, yes. YOU could.

Learn how the script works instead of posting very single thing you find here [ohwell]
Share |
DaveR
General Member
Since: Dec 5, 2006
Posts: 380
Last: Sep 17, 2011
[view latest posts]
Level 5
Category: CoD4 MP Mapping
Posted: Sunday, Dec. 16, 2007 03:43 pm
No I cannot, I can barely read what it does. How can I learn Greek when no one can give me a set off or I don't know anything about it... geez

I can read scripts and understand a bit what everything does but no way I can covert this to a CoD4 script.

edited on Dec. 16, 2007 10:44 am by DaveR
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: Sunday, Dec. 16, 2007 04:00 pm
Quote:
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: Sunday, Dec. 16, 2007 04:06 pm
Once again: I've tried, but I can barely understand it.
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: Sunday, Dec. 16, 2007 04:16 pm
Ok.. start small... don't try to add everything all at once

Take a stock gametype and try adding something which recognizes the side someone is on when killed... use a lineprint to tell you which side you're on... once you've got that, move on to making it switch sides if you are killed more than once.. etc.. etc.
Share |
94sniper
General Member
Since: Jun 15, 2007
Posts: 907
Last: Jun 22, 2009
[view latest posts]
Level 7
Category: CoD4 MP Mapping
Posted: Sunday, Dec. 16, 2007 04:41 pm
it's gonna be hard to do this if you can't read scripts. A lot of this you just have to break down. What I do when I see big scripts is I just copy paste a portion of it into a new notpad document and go through it till I get what it does. You might want to try that also.

Another thing, there are a lot of tutorials on this site for scripting and if you want to be as good as some people you see ( [casanova] [sad]) you should prolly have a look at those tutorials. For example, a few weeks ago someone wanted to know how to ride in a car as the player. There is a tutorial on how to ride into battle in a tank. He took some of the information from that tutorial and used it for his own pruposes.

Not everything is as complicated as it seems. Just break it down and you'll be all right.

94Sniper
Share |
Restricted Access Topic is Locked
Page
Previous 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

»