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

Members Online

»
0 Active | 67 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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 2
Category: CoD2 SP Mapping
Call of Duty 2 single player mapping, scripting and everything single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Introscreen Does NOT want to work correctly...HELP!
s6robi
General Member
Since: Jun 12, 2006
Posts: 85
Last: Feb 18, 2021
[view latest posts]
Level 3
Category: CoD2 SP Mapping
Posted: Thursday, Feb. 18, 2021 02:21 pm
attachment: image(56.4Kb)
Hi everyone,

I am trying to do a simple introscreen from the tutorials but it is just not working like it should... the attached picture is what it is doing.

HERE IS MY .GSC FILE:

#include maps\_utility;
#include maps\_anim;
#using_animtree("generic_human");

main()
{
maps\_load::main();
//****************Initialize player*****************\\

level.player takeallweapons();
level.player giveWeapon ("thompson");
level.player giveWeapon ("enfield_scope");
level.player giveWeapon ("mk1britishfrag");
level.player switchToWeapon ("thompson");
level.player setViewmodel ("xmodel/viewmodel_hands_british_bare");

//*****************Initialize Intro screen***************\\
precacheshader("black");

precacheString(&"TEST_test_INTRO_1");
precacheString(&"TEST_test_INTRO_2");
precacheString(&"TEST_test_INTRO_3");
precacheString(&"TEST_test_INTRO_4");

maps\_introscreen::introscreen_delay(&"TEST_test_INTRO_1", &"TEST_test_INTRO_2", &"TEST_test_INTRO_3", &"TEST_test_INTRO_4");
}


HERE IS MY .STR FILE:

VERSION "1"
CONFIG "C:\trees\cod2\bin\StringEd_PC.cfg"
FILENOTES ""

REFERENCE test_INTRO_1
LANG_ENGLISH "SP Test Map"
REFERENCE test_INTRO_2
LANG_ENGLISH "In my computer..."
REFERENCE test_INTRO_3
LANG_ENGLISH "21:18"
REFERENCE test_INTRO_4
LANG_ENGLISH "By Andewii"

ENDMARKER



Any help would be greatly appreciated! Thanks!
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD2 SP Mapping
Posted: Thursday, Feb. 18, 2021 02:40 pm
it has been MANY moons since I did any COD scripting; but...

it appears that your naming conventions are not consistent.
you are calling to precahce string :
TEST_test_INTRO_1
your string appears to be named:
test_INTRO_1

unsure if there are further issues - but that is what I see first off
[angryalien]
Share |
s6robi
General Member
Since: Jun 12, 2006
Posts: 85
Last: Feb 18, 2021
[view latest posts]
Level 3
Category: CoD2 SP Mapping
Posted: Thursday, Feb. 18, 2021 03:17 pm
StrYdeR, Thank you for your reply! I actually fixed it.

So, like you, its been many moons since I've created SP maps but I fell in love with it again (and COD2 Graphics still aren't half bad...they've aged well haha).

But, what my issue was that I had my "localizedstrings", "sound", etc. folders all in my "Call of Duty 2" directory and not my "Call of Duty 2/main" directory... like I said.. its been a long while haha...however.. I'll leave you with this question...

I re-created a Hidden & Dangerous 2 mission (currently recreating the entire game) and about to post it to the DL section... If you're up for it, download it and let me know what you think!
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 SP 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

»