Jump to content

Search the Community

Showing results for tags 'rotation'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Gamers Lounge
    • Announcements
    • General Discussion
  • Area 51 - Development Zone
    • silEnT Mod - Enemy Territory
    • LESM - Lua Enhanced Server Mod
    • Omnibot - Development, Discussion & Support
    • Enemy Territory Modding
  • Guides, Reviews & Support
    • A Collection of Essential Guides
    • Mod and Software Downloads
    • Game Server Hosting, Support and Reviews
    • Web Hosting, Development & Reviews
  • Help & Discussion Center
    • OS Customization, Discussion and Support
    • PC, Console & Mobile Gaming
    • Programming (C#, C++, JAVA, VB, .NET etc.)
  • Advertising Forums
    • Clans / Guilds and Gaming Communities
    • Game Server and Voice Server Offers

Categories

  • Enemy Territory
    • Software
    • Mods
    • LUA
    • Maps
    • Map Scripts
    • Soundack
  • Call of Duty 4
    • Mods

Categories

  • News
    • PC Gaming
    • Console Gaming
    • World
    • Entertainment
    • Science
    • Technology
    • Software

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Objective Rotation: set d1 "set g_gametype 2 ; map sw_oasis_b3 ; set nextmap vstr d2" set d2 "set g_gametype 2 ; map mlb_daybreak ; set nextmap vstr d3" set d3 "set g_gametype 2 ; map supplydepot2 ; set nextmap vstr d4" set d4 "set g_gametype 2 ; map mlb_temple; set nextmap vstr d5" set d5 "set g_gametype 2 ; map baserace; set nextmap vstr d6" set d6 "set g_gametype 2 ; map et_mor2_night_final; set nextmap vstr d7" set d7 "set g_gametype 2 ; map venice_ne4; set nextmap vstr d8" set d8 "set g_gametype 2 ; map fueldump; set nextmap vstr d9" set d9 "set g_gametype 2 ; map UJE_00 ; set nextmap vstr d10" set d10 "set g_gametype 2 ; map goldrush ; set nextmap vstr d1" vstr d1 Stopwatch Rotation: // WATCHDOG set com_watchdog_cmd "vstr m1r1 ; say watchdog found no map running - restarted mapcycle" // MAP set m1r1 "g_gametype 3; map oasis; set nextmap vstr m1r2" set m1r2 "map_restart 0; set nextmap vstr m2r1" set m2r1 "g_gametype 3; map goldrush; set nextmap vstr m2r2" set m2r2 "map_restart 0; set nextmap vstr m3r1" set m3r1 "g_gametype 3; map radar; set nextmap vstr m3r2" set m3r2 "map_restart 0; set nextmap vstr m4r1" set m4r1 "g_gametype 3; map railgun; set nextmap vstr m4r2" set m4r2 "map_restart 0; set nextmap vstr m5r1" set m5r1 "g_gametype 3; map supplydepot; set nextmap vstr m5r2" set m5r2 "map_restart 0; set nextmap vstr m6r1" set m6r1 "g_gametype 3; map caen; set nextmap vstr m6r2" set m6r2 "map_restart 0; set nextmap vstr m1r1" vstr m1r1 m1r1 and so on are known as a string library, kind of like a name given to a string of commands - tell the game to run the 'name' and it runs the string of commands associated with it. What basically happens here is the engine stores these lines kind of like "m1r1 command means: set g_gametype to 3, load map oasis and set 'nextmap' to run 'm1r2'". The very last line of the rotation is "vstr m1r1", which tells the engine to actually execute the line m1r1, which will startup the map rotation. Hence: g_gametype is set to 3, Oasis is loaded, and once the round of Oasis is finished, it runs "nextmap" which has been set to run m1r2, whereupon the map is restarted the the map cycle continues. Campaign rotation: For a campaign rotation, it is fairly similar up to this point. Here is an example of a roation that runs both of the official campaigns, one after the other: // CAMPAIGN ROTATION - official campaigns // WATCHDOG set com_watchdog_cmd "vstr d_initial ; say watchdog found no map running - restarted mapcycle" // MAP set d1 "campaign cmpgn_northafrica ; set nextcampaign vstr d2" set d2 "campaign cmpgn_centraleurope ; set nextcampaign vstr d1" set d_initial "set g_gametype 4 ; map oasis ; set nextcampaign vstr d2" vstr d_initial // END CAMPAIGN ROTATION Notice the similarity with the stopwatch rotation - really its almost exactly the same. The important things to notice is that: g_gametype is 4, and the campaign mode version of nextmap is "nextcampaign". Secondly, also notice the first campaign being loaded is northafrica, which starts with Oasis, and in the d_initial line the map there (which is first loaded) is also Oasis.
×
×
  • Create New...