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

Members Online

»
0 Active | 9 Guests
Online:

LATEST FORUM THREADS

»
Rainbow HELP....
CoD4 MP Mapping
water
CoD4 MP Mapping
help pls
CoD2 Scripting

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 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access
Page
Previous Page Next Page
subscribe
Author Topic: Glowing letters in the beginning of the mission.How to?
SPi
General Member
Since: Jul 4, 2012
Posts: 203
Last: May 14, 2013
[view latest posts]
Level 4
Category: CoD4 SP Mapping
Posted: Saturday, Jul. 7, 2012 09:54 am
Junno This is a mess [crazy]
i think ill need only the intro stuf.ok?
Share |
Johnno
General Member
Since: Mar 21, 2006
Posts: 139
Last: May 5, 2013
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Saturday, Jul. 7, 2012 10:06 am
#include maps\_utility;
#include maps\_vehicle;
#include maps\_helicopter_globals;
#include common_scripts\utility;
#include maps\_anim;
#include maps\_utility_code;
#include maps\_vehicle_aianim;


main()
{

//weapon clips
level.weaponClipModels = [];
level.weaponClipModels[0] = "weapon_m16_clip";
level.weaponClipModels[1] = "weapon_dragunov_clip";
level.weaponClipModels[2] = "weapon_ak47_clip";
level.weaponClipModels[3] = "weapon_g36_clip";
level.weaponClipModels[4] = "weapon_ak74u_clip";
level.weaponClipModels[5] = "weapon_mp5_clip";
level.weaponClipModels[6] = "weapon_saw_clip";
level.weaponClipModels[7] = "weapon_g3_clip";


maps\_load::main();


//GIVE PLAYER WEAPONS
level.player takeallweapons(); // this is so you dont get the mp5 in your loadout
level.player giveWeapon( "g36c" ); // put weapon class in the commas
level.player giveMaxAmmo( "g36c" ); // gives max ammo
level.player giveWeapon( "deserteagle" );
level.player switchtoWeapon( "g36c" ); //pull out this weapon when level starts
level.player giveWeapon( "fraggrenade" ); // obviously gives grenades
level.player giveWeapon( "flash_grenade" ); // use for flash/stun, smoke
level.player setOffhandSecondaryClass( "flash" );
level.player setViewmodel( "viewhands_sas_woodland" ); //hands model



precacheString(&"yourmapname_INTROSCREEN_LINE_1"); // Precache strings
precacheString(&"yourmapname_INTROSCREEN_LINE_2");
precacheString(&"yourmapname_INTROSCREEN_LINE_3");
precacheString(&"yourmapname_INTROSCREEN_LINE_4");
precacheString(&"yourmapname_INTROSCREEN_LINE_5");
precacheString(&"yourmapname_INTROSCREEN_LINE_6");

thread introscreen();


}
introscreen()
{


//thread maps\_introscreen::introscreen_generic_white_fade_in( 2 ); // White fade in

lines = []; // Create An Array Of Strings
lines[ lines.size ] = &"yourmapname_INTROSCREEN_LINE_1";
lines[ "date" ] = &"yourmapname_INTROSCREEN_LINE_2";
lines[ lines.size ] = &"yourmapname_INTROSCREEN_LINE_3";
lines[ lines.size ] = &"yourmapname_INTROSCREEN_LINE_4";
lines[ lines.size ] = &"yourmapname_INTROSCREEN_LINE_5";
lines[ lines.size ] = &"yourmapname_INTROSCREEN_LINE_6";

maps\_introscreen::introscreen_feed_lines( lines ); // Output Strings As Hud Elements
wait 1;
saveGame( "levelstart", &"AUTOSAVE_LEVELSTART", "whatever", true );

wait(10 );
level notify("introscreen_complete"); // Notify level the intro screen is done


}



edited on Jul. 7, 2012 10:08 am by Johnno

edited on Jul. 7, 2012 10:09 am by Johnno
Share |
3st0nian
General Member
Since: Jan 14, 2008
Posts: 181
Last: May 8, 2013
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Saturday, Jul. 7, 2012 10:10 am
It turns out that intro screen thingy can have maximum 4 strings as parameters. So try this:
Code:
thread maps\_introscreen::introscreen_delay(&"YOURMAPNAME_INTRO_1", &"YOURMAPNAME_INTRO_2", &"YOURMAPNAME_INTRO_3", &"YOURMAPNAME_INTRO_4", 0.2, 0.2, 0.2);

I am away from my modding PC, so I cant test anything.[sad]
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 203
Last: May 14, 2013
[view latest posts]
Level 4
Category: CoD4 SP Mapping
Posted: Monday, Jul. 9, 2012 03:22 am
estonian i dont want white letters in the center of the screen.I think that is waht ur talkig about. The green letters as i know can have from 1 to 5 lines in the right corner of the screen. [exclamation]. I think Johnno is in the right way. I am keep working on this one when i will have a result or an error ill drop a post bye.

edited on Jul. 9, 2012 03:22 am by SPi
Share |
Zaphax
General Member
Since: Jun 17, 2008
Posts: 250
Last: Jul 14, 2012
[view latest posts]
Level 4
Category: CoD4 SP Mapping
Posted: Monday, Jul. 9, 2012 04:47 am
The code Johnno has posted is correct [exclamation]
Would recommend having 4 lines not 6.

Great Job Johnno! [wink]
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 203
Last: May 14, 2013
[view latest posts]
Level 4
Category: CoD4 SP Mapping
Posted: Monday, Jul. 9, 2012 08:06 am
what about 5 lines? in the corrner glowing text always
Share |
Zaphax
General Member
Since: Jun 17, 2008
Posts: 250
Last: Jul 14, 2012
[view latest posts]
Level 4
Category: CoD4 SP Mapping
Posted: Tuesday, Jul. 10, 2012 06:13 am
Corner glowing text is always 4 lines in the stock maps.

1. Intro
2. Date
3. Place
4. Info

5. Additional Info (Custom maps)

I would not recommend having 5th line as it will be very close to the bottom of the screen, I don't know if resolution can affect this but if it can then it will probably be off-screen.
Share |
Josh-Xenu
General Member
Since: May 27, 2012
Posts: 54
Last: May 18, 2013
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Saturday, Aug. 4, 2012 08:03 am
If your gonna use the 5th line i think you should
put the introscreen at the top instead
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 203
Last: May 14, 2013
[view latest posts]
Level 4
Category: CoD4 SP Mapping
Posted: Wednesday, Aug. 29, 2012 02:06 am
YES!!! IT worked . one last thing. can i make the letters appear in a black screen and after a few fade among with the black screen?

anyway THANKS! Zparx!!!

edited on Aug. 29, 2012 02:06 am by SPi
Share |
Josh-Xenu
General Member
Since: May 27, 2012
Posts: 54
Last: May 18, 2013
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Thursday, Aug. 30, 2012 12:50 pm
Count the time in how long it takes for the letters to leave then: fill that in with the time of the Fade screen
fade_time = ( 3 );
time = ( 6 );
maps\_introscreen::introscreen_generic_fade_in( "black", time, fade_time );
if it takes 6 seconds before it leaves fill that in with time
fade time is the time it takes for the black screen to... fade away
Share |
Restricted Access Restricted Access
Page
Previous Page Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 SP Mapping

Latest Syndicated News

»
Why console gaming is dying
Quote:Consider this: Dedicated gaming sales — including living-room consoles...
Devs: Games are being dumb...
Click 'read more' to view the contents of this post.
Loadout
Gun Crafting to the Max. edited on Sep. 25, 2012 06:57 pm by Morp...
Introducing the Source Fil...
Surprised this wasn't made a long time ago. Sounds like a nice little feature.
Introducing the Source Fil...
The Source Filmmaker (SFM) is the movie-making tool built and used by us he...

Partners & Friends

»