Mythos_Ruler Posted April 15, 2012 Report Share Posted April 15, 2012 I need someone with some time on their hands and who has an up-to-date SVN copy of the game top help out with some map design stuff. It might be tedious or it might not be. Point is though you help add something to the game. Basically, we might be giving the Iberians an interesting bonus: Essentially, the Iberians would start every match with a prefab circuit of walls as one of their civ bonuses. So, what I need is someone to go through the maps in SVN and add a circuit of walls around the Iberian starting point. I have already done about 3 different maps, but there are a bunch more. All you'd have to do is look at the maps I've already done and do all the other maps where applicable (for the Iberians only). The circuits should be organic looking, not a big square or circle. Just approximate what I've already done on the other maps.Anyone up for the challenge? Could let multiple people claim different maps. Attached are a few examples of that I'm talking about to make things clearer. 1 Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted April 15, 2012 Author Report Share Posted April 15, 2012 Come one, come all! Quote Link to comment Share on other sites More sharing options...
MishFTW Posted April 15, 2012 Report Share Posted April 15, 2012 I would but I don't meet the requirement. My comment: all those circuit walls look easily impregnable to me Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted April 15, 2012 Author Report Share Posted April 15, 2012 I would but I don't meet the requirement. My comment: all those circuit walls look easily impregnable to me Well, keep in mind those towers shoot arrows too! Quote Link to comment Share on other sites More sharing options...
Pureon Posted April 15, 2012 Report Share Posted April 15, 2012 Well, keep in mind those towers shoot arrows too! Yes, it'll make the Iberians very powerful early game. Impossible to rush. Quote Link to comment Share on other sites More sharing options...
FeXoR Posted April 17, 2012 Report Share Posted April 17, 2012 (edited) I need someone with some time on their hands and who has an up-to-date SVN copy of the game top help out with some map design stuff. It might be tedious or it might not be. Point is though you help add something to the game. Basically, we might be giving the Iberians an interesting bonus: Essentially, the Iberians would start every match with a prefab circuit of walls as one of their civ bonuses. So, what I need is someone to go through the maps in SVN and add a circuit of walls around the Iberian starting point. I have already done about 3 different maps, but there are a bunch more. All you'd have to do is look at the maps I've already done and do all the other maps where applicable (for the Iberians only). The circuits should be organic looking, not a big square or circle. Just approximate what I've already done on the other maps.Anyone up for the challenge? Could let multiple people claim different maps. Attached are a few examples of that I'm talking about to make things clearer.If the starting walls are a civ bonus then all the random maps would need that to to be consistent.I could add the walls to the default starting entity placement function createStartingPlayerEntities for iberians if that is wanted.I think some other changes like cut some trees around the start locations would be needed then too though.BTW Mythos_Ruler, I send you a map in a PM that had this functionality. Guess it's outdated now though. Edited April 17, 2012 by FeXoR Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted April 17, 2012 Author Report Share Posted April 17, 2012 Yeah, there would probably have to be something added to the rmgen folder so all random maps could take advantage of the Iberian wall bonus properly without having to duplicate the code. 1 Quote Link to comment Share on other sites More sharing options...
MishFTW Posted April 17, 2012 Report Share Posted April 17, 2012 Speaking of the civ bonus, remember this? Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted April 17, 2012 Author Report Share Posted April 17, 2012 Speaking of the civ bonus, remember this?Yes? Let me repost those here for reference. Quote Link to comment Share on other sites More sharing options...
Spahbod Posted April 20, 2012 Report Share Posted April 20, 2012 This wall won't work for some of the random maps. The ones with "natural" barriers like bodies of sea and cliffs (e.g. archipelago, cantabrian highlands, etc.). For those maps, some towers would suffice. Or it'd be a pain to create different shapes of walls for every random map. 1 Quote Link to comment Share on other sites More sharing options...
FeXoR Posted April 20, 2012 Report Share Posted April 20, 2012 This wall won't work for some of the random maps. The ones with "natural" barriers like bodies of sea and cliffs (e.g. archipelago, cantabrian highlands, etc.). For those maps, some towers would suffice. Or it'd be a pain to create different shapes of walls for every random map.I'm at it though I have to agree it's not that easy... Quote Link to comment Share on other sites More sharing options...
Pureon Posted April 20, 2012 Report Share Posted April 20, 2012 For those maps, some towers would suffice.I think that's a good alternative 1 Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted April 20, 2012 Author Report Share Posted April 20, 2012 As long as it works for most maps, and then on the maps where it doesn't work we give them some defense towers, I think is more than acceptable. 1 Quote Link to comment Share on other sites More sharing options...
FeXoR Posted April 23, 2012 Report Share Posted April 23, 2012 (edited) As long as it works for most maps, and then on the maps where it doesn't work we give them some defense towers, I think is more than acceptable. I will add walls as iberian starting entities but will wait until all races walls entities are in place so I don't have to adjust things every few days...It would be nice if someone would add a comment when all factions have walls of the same length (and perhaps again if models are unique for all civs) as far as is planned. Edited May 1, 2012 by FeXoR Quote Link to comment Share on other sites More sharing options...
FeXoR Posted May 3, 2012 Report Share Posted May 3, 2012 (edited) Well, here's a start:iber_wall_civ_bonus2012-5-3.zipI added a new starting unit placement method to rmgen misc and adjusted all random maps to it. Iberians now have walls added to their starting entities automatically. They can be set (e.g. to towers only) for maps where walls doesn't fit by an optional keyword argument so the function can be easily adjusted to any further needs without adjusting all rms again (which sucks). Rms no further need to get the starting entities - the place function does it now.I didn't test if the trees caught in the walls cause trouble...The fortresses are not randomizes yet but will be.Some variation might perhaps be nice (sometimes elliptic, sometimes irregular polygons, ...)See the wall_demo rms for some examples.Most naval maps only have towers added. Edited May 3, 2012 by FeXoR Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted May 3, 2012 Author Report Share Posted May 3, 2012 Not bad. I wish they had towers at the "gates" and the wall layout wasn't so geometrical. See the Oasis 10 map for example. 1 Quote Link to comment Share on other sites More sharing options...
FeXoR Posted May 3, 2012 Report Share Posted May 3, 2012 (edited) Not bad. I wish they had towers at the "gates" and the wall layout wasn't so geometrical. See the Oasis 10 map for example.As I said, it's gone be more irregular.Towers at gate makes at least 10 (if placed in the gap). isn't that a bit much? Edited May 3, 2012 by FeXoR Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted May 3, 2012 Author Report Share Posted May 3, 2012 As I said, it's gone be more irregular.Towers at gate makes at least 10 (if placed in the gap). isn't that a bit much?Not really. When we have gates there will need to be towers there anyway. Quote Link to comment Share on other sites More sharing options...
FeXoR Posted May 4, 2012 Report Share Posted May 4, 2012 (edited) Not really. When we have gates there will need to be towers there anyway. Here we go...iber_wall_civ_bonus2012-5-4.zipBest map to test this is the good old "New RMS Test" map.Perhaps you might want to play around with the arguments in rmgen/misc.js line 200.Or try the other possible fortress types by documenting them in after line 200 (and document out line 200 itself ofc.).Concave angles are not supported. I did that before but ran into problems making the last wall entity fit. It would need some tries to get a well fitting fortress and sometimes walls crossed (when random numbers where significant lower than average). In addition it was not really possible to determine the final size of the fortress in any way (only the average size which isn't enough on most random maps). So I abolished that approach. Edited May 4, 2012 by FeXoR Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted May 4, 2012 Author Report Share Posted May 4, 2012 Doesn't look too shabby. I would cut down the number of "gates" to 3 or 4, and make the area the walls enclose a little bigger. Quote Link to comment Share on other sites More sharing options...
FeXoR Posted May 4, 2012 Report Share Posted May 4, 2012 (edited) Doesn't look too shabby. I would cut down the number of "gates" to 3 or 4, and make the area the walls enclose a little bigger.To reduce the number of gates (entries for now) just reduce the number of corners in rmgen/misc.js line 200. They where set to randInt(5, 10), changed max to 7 so perhaps it's ok already. If you like more corners but less gates tell me so I can drop every 2nd or so (though with 5 corners min. there might be only be 3 gates and them ending up in the woods of the random maps would cause the player to be trapped).The default fortress radius should definitely not be larger! Just raise the fortress radius in rmgen/misc.js (iberWallRadius line 193) and load a few maps. There's just not enough space on most. However, I can easily add an additional keyword argument to make the radius adjustable for each map (though I doubt this will be largely used).I dug out the old code for more organic looking fortresses and adjusted it a bit. I got the size more stable at the same randomness. Added it and it can be setup in line 203 of rmgen/misc.js. They are closed by a linear wall so not all parts of the wall are bended. I'll try to reduce the length of the linear part further.I replaced the entries with gates just to show how it looks. I will change them back before committing ofc. To make them playable just replace 'gate' with 'entry' in rmgen/wall_builder.js line 634 (for irregular polygonal fortresses) and for the others in rmgen/misc.js line 203, 206, 209 and 212.Since there are 4 shapes working fine (for me) perhaps the style could be chosen randomly... I'd like that.iber_wall_civ_bonus2012-5-4b.zipEdit: Since it's already in the SVN repo I assume you like it It seams you're not a big friend of discussions However, that was not considered final for me . There is much debug logging left and if we only want to use one fortress shape the other shape's code (documented out anyways) should be removed from misk.js. IMO. I'll post a cleaner version (only the files to update) later somewhere... Edited May 5, 2012 by FeXoR Quote Link to comment Share on other sites More sharing options...
FeXoR Posted May 8, 2012 Report Share Posted May 8, 2012 Removed all unneeded code. If Iberians got towers only they'll now get 7 instead of 5:iber_wall_civ_bonus2012-5-7.zip 1 Quote Link to comment Share on other sites More sharing options...
MishFTW Posted May 8, 2012 Report Share Posted May 8, 2012 Thanks Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted May 8, 2012 Author Report Share Posted May 8, 2012 Removed all unneeded code. If Iberians got towers only they'll now get 7 instead of 5:iber_wall_civ_bonus2012-5-7.zipHehe, sorry, yeah, I threw it into SVN because...Feature freeze for Alpha 10 is here!Good work! Quote Link to comment Share on other sites More sharing options...
FeXoR Posted May 8, 2012 Report Share Posted May 8, 2012 (edited) Hehe, sorry, yeah, I threw it into SVN because...Good work!Yes, I was told in the chat, NP, was just a little nervous that something might not always work properly but it's ok.No errors should occur and if the walls doesn't always look well we can just tweak the arguments Thx! Edited May 8, 2012 by FeXoR Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.