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

Members Online

»
0 Active | 82 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 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: Custom script
bazukist
General Member
Since: Jan 20, 2010
Posts: 32
Last: May 1, 2011
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Sunday, Mar. 21, 2010 09:23 am
I made my custom script for welcome messages using the RGN's scripting tuts. HOW Do I MAKE GAME USES THAT SCRIPT?
Share |
xholyx
General Member
Since: Oct 17, 2007
Posts: 116
Last: Sep 7, 2010
[view latest posts]
Level 4
Category: CoD4 Scripting
Posted: Sunday, Mar. 21, 2010 10:31 am
bazukist writes...
Quote:
I made my custom script for welcome messages using the RGN's scripting tuts. HOW Do I MAKE GAME USES THAT SCRIPT?


Open _globallogic.gsc , then search for the function startgame()
and paste
Code:

thread foldername/filename::function();

below in that function ( thats what i mostly do)

- foldername is where your file is stored ( mostly maps/mp/gametypes)
- filename is the name of your file that you saved it in ( a .gsc (!) )
- function is the name of the function that is called ( init() for example )

If someone has a better alternative, then feel free to correct me.
Share |
bazukist
General Member
Since: Jan 20, 2010
Posts: 32
Last: May 1, 2011
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Sunday, Mar. 21, 2010 10:54 am
found it and it works
tnx[jumping][thumbs_up]
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

»