.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old November 10th, 2007, 12:39 AM

VedalkenBear VedalkenBear is offline
Second Lieutenant
 
Join Date: May 2006
Posts: 465
Thanks: 10
Thanked 16 Times in 14 Posts
VedalkenBear is on a distinguished road
Default No Independent .map file Request

Hey guys.

I've been searching the various forums for days, but I can't find the actual 'text block' to copy/paste into .map files to turn off independents. If someone could get that to me I would be most appreciative.
Reply With Quote
  #2  
Old November 10th, 2007, 12:49 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: No Independent .map file Request

I don't have a script to do this for every map, maybe lch could help you there, but I do have one that goes up quite high.

#setland 1
#poptype 100
#setland 2
#poptype 100
#setland 3
#poptype 100
#setland 4
#poptype 100
#setland 5
#poptype 100
#setland 6
#poptype 100
#setland 7
#poptype 100
#setland 8
#poptype 100
#setland 9
#poptype 100
#setland 10
#poptype 100
#setland 11
#poptype 100
#setland 12
#poptype 100
#setland 13
#poptype 100
#setland 14
#poptype 100
#setland 15
#poptype 100
#setland 16
#poptype 100
#setland 17
#poptype 100
#setland 18
#poptype 100
#setland 19
#poptype 100
#setland 20
#poptype 100
#setland 21
#poptype 100
#setland 22
#poptype 100
#setland 23
#poptype 100
#setland 24
#poptype 100
#setland 25
#poptype 100
#setland 26
#poptype 100
#setland 27
#poptype 100
#setland 28
#poptype 100
#setland 29
#poptype 100
#setland 30
#poptype 100
#setland 31
#poptype 100
#setland 32
#poptype 100
#setland 33
#poptype 100
#setland 34
#poptype 100
#setland 35
#poptype 100
#setland 36
#poptype 100
#setland 37
#poptype 100
#setland 38
#poptype 100
#setland 39
#poptype 100
#setland 40
#poptype 100
#setland 41
#poptype 100
#setland 42
#poptype 100
#setland 43
#poptype 100
#setland 44
#poptype 100
#setland 45
#poptype 100
#setland 46
#poptype 100
#setland 47
#poptype 100
#setland 48
#poptype 100
#setland 49
#poptype 100
#setland 50
#poptype 100
#setland 51
#poptype 100
#setland 52
#poptype 100
#setland 53
#poptype 100
#setland 54
#poptype 100
#setland 55
#poptype 100
#setland 56
#poptype 100
#setland 57
#poptype 100
#setland 58
#poptype 100
#setland 59
#poptype 100
#setland 60
#poptype 100
#setland 61
#poptype 100
#setland 62
#poptype 100
#setland 63
#poptype 100
#setland 64
#poptype 100
#setland 65
#poptype 100
#setland 66
#poptype 100
#setland 67
#poptype 100
#setland 68
#poptype 100
#setland 69
#poptype 100
#setland 70
#poptype 100
#setland 71
#poptype 100
#setland 72
#poptype 100
#setland 73
#poptype 100
#setland 74
#poptype 100
#setland 75
#poptype 100
#setland 76
#poptype 100
#setland 77
#poptype 100
#setland 78
#poptype 100
#setland 79
#poptype 100
#setland 80
#poptype 100
#setland 81
#poptype 100
#setland 82
#poptype 100
#setland 83
#poptype 100
#setland 84
#poptype 100
#setland 85
#poptype 100
#setland 86
#poptype 100
#setland 87
#poptype 100
#setland 88
#poptype 100
#setland 89
#poptype 100
#setland 90
#poptype 100
#setland 91
#poptype 100
#setland 92
#poptype 100
#setland 93
#poptype 100
#setland 94
#poptype 100
#setland 95
#poptype 100
#setland 96
#poptype 100
#setland 97
#poptype 100
#setland 98
#poptype 100
#setland 99
#poptype 100
#setland 100
#poptype 100
#setland 101
#poptype 100
#setland 102
#poptype 100
#setland 103
#poptype 100
#setland 104
#poptype 100
#setland 105
#poptype 100
#setland 106
#poptype 100
#setland 107
#poptype 100
#setland 108
#poptype 100
#setland 109
#poptype 100
#setland 110
#poptype 100
#setland 111
#poptype 100
#setland 112
#poptype 100
#setland 113
#poptype 100
#setland 114
#poptype 100
#setland 115
#poptype 100
#setland 116
#poptype 100
#setland 117
#poptype 100
#setland 118
#poptype 100
#setland 119
#poptype 100
#setland 120
#poptype 100
#setland 121
#poptype 100
#setland 122
#poptype 100
#setland 123
#poptype 100
#setland 124
#poptype 100
#setland 125
#poptype 100
#setland 126
#poptype 100
#setland 127
#poptype 100
#setland 128
#poptype 100
#setland 129
#poptype 100
#setland 130
#poptype 100
#setland 131
#poptype 100
#setland 132
#poptype 100
#setland 133
#poptype 100
#setland 134
#poptype 100
#setland 135
#poptype 100
#setland 136
#poptype 100
#setland 137
#poptype 100
#setland 138
#poptype 100
#setland 139
#poptype 100
#setland 140
#poptype 100
#setland 141
#poptype 100
#setland 142
#poptype 100
#setland 143
#poptype 100
#setland 144
#poptype 100
#setland 145
#poptype 100
#setland 146
#poptype 100
#setland 147
#poptype 100
#setland 148
#poptype 100
#setland 149
#poptype 100
#setland 150
#poptype 100
#setland 151
#poptype 100
#setland 152
#poptype 100
#setland 153
#poptype 100
#setland 154
#poptype 100
#setland 155
#poptype 100
#setland 156
#poptype 100
#setland 157
#poptype 100
#setland 158
#poptype 100
#setland 159
#poptype 100
#setland 160
#poptype 100
#setland 161
#poptype 100
#setland 162
#poptype 100
#setland 163
#poptype 100
#setland 164
#poptype 100
#setland 165
#poptype 100
#setland 166
#poptype 100
#setland 167
#poptype 100
#setland 168
#poptype 100
#setland 169
#poptype 100
#setland 170
#poptype 100
#setland 171
#poptype 100
#setland 172
#poptype 100
#setland 173
#poptype 100
#setland 174
#poptype 100
#setland 175
#poptype 100
#setland 176
#poptype 100
#setland 177
#poptype 100
#setland 178
#poptype 100
#setland 179
#poptype 100
#setland 180
#poptype 100
#setland 181
#poptype 100
#setland 182
#poptype 100
#setland 183
#poptype 100
#setland 184
#poptype 100
#setland 185
#poptype 100
#setland 186
#poptype 100
#setland 187
#poptype 100
#setland 188
#poptype 100
#setland 189
#poptype 100
#setland 190
#poptype 100
#setland 191
#poptype 100
#setland 192
#poptype 100
#setland 193
#poptype 100
#setland 194
#poptype 100
#setland 195
#poptype 100
#setland 196
#poptype 100
#setland 197
#poptype 100
#setland 198
#poptype 100
#setland 199
#poptype 100
#setland 200
#poptype 100
#setland 201
#poptype 100
#setland 202
#poptype 100
#setland 203
#poptype 100
#setland 204
#poptype 100
#setland 205
#poptype 100
#setland 206
#poptype 100
#setland 207
#poptype 100
#setland 208
#poptype 100
#setland 209
#poptype 100
#setland 210
#poptype 100
#setland 211
#poptype 100
#setland 212
#poptype 100
#setland 213
#poptype 100
#setland 214
#poptype 100
#setland 215
#poptype 100
#setland 216
#poptype 100
#setland 217
#poptype 100
#setland 218
#poptype 100
#setland 219
#poptype 100
#setland 220
#poptype 100
#setland 221
#poptype 100

Any higher than that, like 500 province maps or whatever, a script would make sense.
Reply With Quote
  #3  
Old November 10th, 2007, 07:49 AM

VedalkenBear VedalkenBear is offline
Second Lieutenant
 
Join Date: May 2006
Posts: 465
Thanks: 10
Thanked 16 Times in 14 Posts
VedalkenBear is on a distinguished road
Default Re: No Independent .map file Request

Thanks, Sombre. This was indeed what I was looking for. I do like large maps, so I'll continue poking around for a script.
Reply With Quote
  #4  
Old November 10th, 2007, 07:55 AM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: No Independent .map file Request

I can write a very short C++ program (of poor coding quality ) that will take a number as input and will produce a .txt file with just #setland 1 #poptype 100 #setland 2 #poptype 100, with #setland going up to that number, and then you can take that and copy-paste it to your map, I guess.
Would you like me to?
(Though unless you want to compile it yourself [in which case you probably already have the knowledge to program it yourself], it will be windows only)
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #5  
Old November 10th, 2007, 01:08 PM

VedalkenBear VedalkenBear is offline
Second Lieutenant
 
Join Date: May 2006
Posts: 465
Thanks: 10
Thanked 16 Times in 14 Posts
VedalkenBear is on a distinguished road
Default Re: No Independent .map file Request

That would work, Agrajag. Nice Avatar BTW. However, I tried copy/pasting it into a map I made, and it didn't seem to work. Any suggestions here?
Reply With Quote
  #6  
Old November 10th, 2007, 03:57 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: No Independent .map file Request

Under windows, open a command prompt and do the following:
Code:
echo @echo #setland %1 > do.bat
echo @echo #poptype 100 >> do.bat
for /l %i in (1,1,100) do do.bat %i >> noindy.map
del do.bat


Untested, but should work. Change the numbers in the triple accordingly. More info under "for /?".
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:39 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.