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

Members Online

»
0 Active | 86 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 Restricted Access subscribe
Author Topic: Hello
florian235938
General Member
Since: Aug 24, 2017
Posts: 4
Last: Sep 23, 2017
[view latest posts]
Level 0
Category: CoD2 SP Mapping
Posted: Monday, Sep. 18, 2017 09:06 pm
hello how can you use multiple gsc files in your own sp map

without replacing a GSC file in the game call of duty 2

my map help please

for example, create multiple missions

could only create one mission task gsc

after that there is only replace GSC

because a GSC files is in folders

edited on Sep. 18, 2017 02:07 pm by florian235938

Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD2 SP Mapping
Posted: Tuesday, Sep. 19, 2017 07:44 am
I didn't entirely understand the issue here.
What does each gsc file do? Map script? or what?
You want to use multiple gsc files in your map right?
Or you have multiple maps with one gsc file each?
And what is replaced from what? when this happens?

In the first case you can call a gsc main function from your map's main gsc like this:

Code:
thread maps\nameofyourextragscfile::main();


Given that there's a main function in the nameofyourextragscfile.gsc
that starts up the whole script.

Other than that I am not sure of what the problem is here.
Good luck.
Share |
florian235938
General Member
Since: Aug 24, 2017
Posts: 4
Last: Sep 23, 2017
[view latest posts]
Level 0
Category: CoD2 SP Mapping
Posted: Tuesday, Sep. 19, 2017 04:16 pm
I want to use multiple gsc script files in the folder
show me pictures showed me would be glad I thank you with you
You are a good person helpfully then also

how can you run multiple gsc file in the sp map

what do you do with it maps\nameofyourextragscfile::main();

script compile error by more gsc dateien
So I want to make several mission goals
second GSC he does not find the mission






edited on Sep. 19, 2017 01:13 pm by florian235938
Share |
SPi
General Member
Since: Jul 4, 2012
Posts: 531
Last: Nov 9, 2019
[view latest posts]
Level 6
Category: CoD2 SP Mapping
Posted: Tuesday, Sep. 19, 2017 06:02 pm
I can hardly understand your syntax. Please use proper english when asking help for such complex matters.

You need to learn the basics of Call of Duty scripting you can either do everything in one gsc file or split it up. It's all the same.

You put
"maps\yourmap1::main();"
in yourmap.gsc file that you edit with text editor.

I however can't help any further.
Good luck.
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11672
Last: Apr 20, 2024
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD2 SP Mapping
Posted: Wednesday, Sep. 20, 2017 04:47 pm
It has been quite some time since I have done anything with scripting for the CoD series but...

Your "mission" gsc files can be combined into 1 larger .gsc file that is then executed in order

"objective 1"
--> do stuff
"objective 2"
--> do stuff

etc.

Bear in mind that all gsc files are loaded when the map loads and if multiple gsc files contain conflicting information the LAST file loaded will take precedence

Have a look at the scripting tutorials for adding multiple objectives Here

I hope this helps [angryalien]
Share |
Restricted Access Restricted Access 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

»