Anyone know how to change the time limit of assault maps?

Working on new maps for Multiwinia? Discuss!

Moderators: bert_the_turtle, jelco

spacebug
level1
level1
Posts: 40
Joined: Tue Dec 21, 2004 1:00 am
Location: New Zealand
Contact:

Anyone know how to change the time limit of assault maps?

Postby spacebug » Mon Jul 19, 2010 4:32 am

I've tried making a custom version of the maps:

Extract level from main.dat, rename with [mapname]_custom.txt and placed it in multiwinia\data\levels

Inside the custom map file, I've changed

Code: Select all

MultiwiniaOptions_StartDefinition
   GameTypes   Assault
   PopulationCap   2000
   DefenderPopulationCap   350
   NumPlayers   2
   LevelOptions   trunkportreinforcements 100   
   InvalidCrates   Squad   Airstrike   Nuke   Meteor   
   Difficulty   basic
   AttackingTeams   1
   OfficialLevel
   PlayTime 59
MultiwiniaOptions_EndDefinition


PlayTime to 59 instead of 15. It lists it as 59 in the map info on the map selection pane, but when I start the map it starts as 15 minutes.

Also I tried editing multiwinia.txt and putting a new copy in my data folder with:

Code: Select all

GAMETYPE Assault
    TimeLimit           0        60     15          1
    Handicap            0       90      90          10
    CrateDropRate       0       300     40          10
END


I added the TimeLimit line...which allows me to change the number of minutes in Advanced Options before launching the game, but the map still launches as a 15 minute map.

Anyone know if there's a way to change this?
spacebug
level1
level1
Posts: 40
Joined: Tue Dec 21, 2004 1:00 am
Location: New Zealand
Contact:

Postby spacebug » Wed Jul 21, 2010 12:34 am

Never mind, I figured it out after fiddling with one of Goldfish's custom maps which had a different time limit.

For anyone else who wants to do this, you need to change the PulseBomb line in the buildings section:

PulseBomb 60 1371.50 1323.74 0 1.00 0.00 0 900.00 62 61 63

The number in bold is the timer delay in seconds.

Return to “Mods and Maps”

Who is online

Users browsing this forum: No registered users and 2 guests