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

Members Online

»
0 Active | 6 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 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: killstreak HELP
Serverap
General Member
Since: Jan 6, 2011
Posts: 33
Last: Jun 12, 2011
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Monday, Jan. 31, 2011 04:00 pm
attachment: image(300.6Kb)
Hello! I have a DANDY in CoD4! Please, help me to establish such original as killstreak! For example, when you kill 5 times and an inscription, you - ^1GODLIKE!!!!, Please, I will be very grateful if who it gives me this original or on writes it here![machine_gun]
As please look at the Screenshot
Share |
Pokeloca
General Member
Since: Jul 31, 2009
Posts: 129
Last: Aug 19, 2012
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 Scripting
Posted: Monday, Jan. 31, 2011 08:09 pm
Look in the _hardpoints.gsc file. It will most likely be in your raw/maps/mp folder. See how it is structured. Note how the message pops up, and how you can modify it to your liking. The things you mod will most likely be in this section:

Code:
level.hardpointHints["radar_mp"] = &"MP_EARNED_RADAR";
	level.hardpointHints["airstrike_mp"] = &"MP_EARNED_AIRSTRIKE";
	level.hardpointHints["helicopter_mp"] = &"MP_EARNED_HELICOPTER";

	level.hardpointHints["radar_mp_not_available"] = &"MP_RADAR_NOT_AVAILABLE";
	level.hardpointHints["airstrike_mp_not_available"] = &"MP_AIRSTRIKE_NOT_AVAILABLE";
	level.hardpointHints["helicopter_mp_not_available"] = &"MP_HELICOPTER_NOT_AVAILABLE";


I can't make a complete tutorial for you, try it yourself. I'm new to this, but I am shedding off someone elses knowledge.

Pokeloca
Share |
Serverap
General Member
Since: Jan 6, 2011
Posts: 33
Last: Jun 12, 2011
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Tuesday, Feb. 1, 2011 10:22 am
Yes there are you no me not so have understood! Here look here itself COD!
#include zom\_levelvars;
#include zom\_util;

streaks()
{
self notify("streak_function");
self endon("disconnect");
self endon("joined_spectators");
self endon("streak_function");


while(1)
{
wait 0.05;



if ( level.zom_kill_messages == 1 )
{


if(self.kills == 1)
self bigPulseText("",1.5,(1,0,0),(1,1,1));


if(isDefined(self.cur_kill_streak))
{
streak = self.cur_kill_streak;
switch(streak)
{
case 2:
self bigPulseText("^1Ownage!",1.5,(1,0,0),(1,1,1));
self playLocalSound("ownage");
wait 0.00;
case 3:
self bigPulseText("^1Hattrick!",1.5,(1,0,0),(1,1,1));
self playLocalSound("hattrick");
break;
case 10:
self bigPulseText("Rampage!",1.5,(1,0,0),(1,1,1));
self playLocalSound("rampage");
break;
case 15:
self bigPulseText("Ultrakill!",1.5,(1,0,0),(1,1,1));
self playLocalSound("ultrakill");
break;
case 20:
self bigPulseText("Godlike!",1.5,(1,0,0),(1,1,1));
self playLocalSound("godlike");
break;
case 30:
self bigPulseText("Holy poo-poo! ",1.5,(1,0,0),(1,1,1));
self playLocalSound("holyshit");
break;
}
}

}
}
}

Well there is Bags there as the Matrix that that isn't finished! Here
case 30:
self bigPulseText ("Holy poo-poo!", 1.5, (1,0,0), (1,1,1));
self playLocalSound ("holyshit");
break;
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 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

»