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

Members Online

»
1 Active | 94 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: MP map spectator
trogdor!
General Member
Since: Oct 26, 2008
Posts: 35
Last: Jun 8, 2009
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Saturday, Apr. 11, 2009 01:00 pm
i've done a MP map but when i chose scpectator it makes an error; is a script required for spectator ? and if it's required post it plz

edited on Apr. 11, 2009 09:01 am by trogdor!
Share |
Wally.*
General Member
Since: Dec 2, 2007
Posts: 49
Last: Jul 7, 2009
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Saturday, Apr. 11, 2009 02:06 pm
No, it's not a script, you've forgotten to put in a spawn for the spectator but I can't remember what it's called. you need a dm, tdm, tdm axis, tdm allies, refractor probe and global intermission Thats it a gobal intermission.
Early onset emmmm....I forget.
Share |
trogdor!
General Member
Since: Oct 26, 2008
Posts: 35
Last: Jun 8, 2009
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Saturday, Apr. 11, 2009 03:21 pm
thanks. i've forget the global intermission [crazy] and i'll post the name of the spectator spawn
Share |
trogdor!
General Member
Since: Oct 26, 2008
Posts: 35
Last: Jun 8, 2009
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Saturday, Apr. 11, 2009 04:46 pm
Hem it works but the spectator can't move, i think now a script is needed
Share |
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 1293
Last: Jul 9, 2016
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Saturday, Apr. 11, 2009 06:52 pm
As for the spectate type, it matters how you run the map. Run it through a mod or the tools?

I believe the default command is:
set scr_game_spectatetype 2

Values
0=Locked
1=Team Only
2=Free

If you run your map through the tools, just add in a new line under "use custom command line options"
space after last value, then type:
+set scr_game_spectatetype 2

And run the map through the tools.

If you run your map through a mod, try opening the console after you get in it, and type:

/set scr_game_spectatetype 2

Hit Enter

/map_restart

Then see if it worked or not, don't see why it wouldn't.
If you don't have a "global_intermission" it for sure won't work.

You only need to use the / (forward slash) when you're ingame. Also remember that, when you are in spectator, the map will rotate in some default value if you never choose a team, not sure what the value is, so you may be under a time limit. I don't remember what the Dvar is for that off hand.
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

»