Light Style© by Fisana

Jump to content


Photo

Skirmish concept


  • Please log in to reply
26 replies to this topic

Poll: Skirmish concept (23 member(s) have cast votes)

Do you agree with this?

  1. Yes (23 votes [100.00%] - View)

    Percentage of vote: 100.00%

  2. No (0 votes [0.00%])

    Percentage of vote: 0.00%

Vote Guests cannot vote

#1 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 590 posts

Posted 08 March 2012 - 08:49 AM

If you've read the design document before or have seen this topic, you know that there are proposed random maps that are very hard (if not impossible) to make. They are Cradle of Civilisation, Fertile Crescent, Peloponnesos, Central Mediterranean, The Crimea, Eire & Albion, Paradise Lost and Gambia River.
Also some other existing maps fit well into this concept (Like Death Canyon)
These maps have many features that makes it very hard for scripters to make and the whole concept would be very unbalanced. One of the main problems would be player placement. We have to define player locations depending on player numbers. Even if we manage to make them, they won't look like "Random Maps". But we also can't omit these maps and creating them as scenarios makes them very inflexible (As some of them are). There is a solution for this. Melee maps.

If you have ever played games like Warcraft III (which I borrowed the term "melee map" from), C&C series, Battle for middle earth series or Rise of Legends, you are familiar with this concept. These maps are created using editor like scenarios. But instead of defining player options and their related entities, we put a "start location" entity where player base and units are to be located.
MMC1.JPG
In game setup gadget, you can add players up to a specific number and change their options which are faction name and team. Each player can choose his/her start location from a small preview in the setup screen.
MMC2.JPG
After clicking the start button, the game engine creates the related entities for the players in their chosen start location (A random one if they didn't choose any).
This is my idea for such maps.

Advantages:
1:Ability to add high degree of details to the maps just as scenarios
2:There is no problem with the player number anymore as we can set the max just by adding certain number of start locations.
3:Flexibility in player options
4:Ability to balance the resource placement.

Disadvantages:
1:Needs an overhaul of game engine (Although not a very large one)
2:These maps should be created in atlas thus cost a lot of time.
3:Players are going to play the same map again and again without any change.

Waiting for your comments.
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#2 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,967 posts

Posted 08 March 2012 - 08:55 AM

Yep. One of the (good, IMHO) ideas we've had was to have some kind of generic object place-able in Atlas that represents a "player start point" so that custom maps can be played like random maps. Using the old 'settlement' object is as good an object as any to use. I endorse the idea wholeheartedly. It allows us to use generic random maps, while allowing for more detailed and hand-designed custom maps to be usable like random maps.

EDIT: But just to be clear--Death Canyon was never meant to be a mockup for a random map. :) Also, what's so difficult about the Gambia River random map as spec'd? :)
  • 0

#3 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 590 posts

Posted 08 March 2012 - 09:00 AM

I know that Death Canyon was never meant to be a mockup for a random map. I said it also fits into the concept. Gambia River needs a huge amount of details that are hard to implement in a random map script and the result won't be as good as it should be.
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#4 Pureon

Pureon

    Primus Pilus

  • 0 A.D. Art Team
  • 3,652 posts

Posted 08 March 2012 - 09:43 AM

I agree the 'start location' object is a much needed feature. It would greatly increase the replayability of our scenario maps, and would reduce the 'Oasis' anomaly.
  • 0

Pureon
0 A.D. Part time Designer / Texturer / 3D Artist
Contact email:
pureon{@}wildfiregames.com


#5 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,967 posts

Posted 08 March 2012 - 09:56 AM

Alright, so we can have sorts for:

  • Custom Scenarios: Everything is set by the designer, including start-points and factions for all players.
  • "Melee Maps"(?) Where the map is created by a designer, and the start points placed by the designer, but the players or game host can choose where players start* and what factions they want to play.
  • Random Maps: Random map scripts.
*Optional feature.

Does that sound about right?
  • 0

#6 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 590 posts

Posted 08 March 2012 - 10:12 AM

That's exactly what I meant. I think that 0 A.D. would be the first RTS game to contain all of these map types.
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#7 Pureon

Pureon

    Primus Pilus

  • 0 A.D. Art Team
  • 3,652 posts

Posted 08 March 2012 - 10:32 AM

I'm not sure about the name 'Melee Maps' - but the logic is correct :)
  • 0

Pureon
0 A.D. Part time Designer / Texturer / 3D Artist
Contact email:
pureon{@}wildfiregames.com


#8 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 590 posts

Posted 08 March 2012 - 11:44 AM

How about these names?
Skirmish
Normal Maps
Premade Maps
Typical Maps

Anyone has an idea?
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#9 Shield Bearer

Shield Bearer

    Primus Pilus

  • WFG Retired
  • 1,621 posts

Posted 08 March 2012 - 12:11 PM

Quick Maps? Preset Maps? Locked Maps?
  • 0

Amish Coelho [aka Shield Bearer aka gAMeboy]
Wildfire Games Art Department
Contact me: amish13@gmail.com
AIM handle: Mythgamer
MSN Account: amish13@live.com


"The fate of 0 AD is in the hands of those who have vision and perseverance." - Ken Wood


#10 Pedro Falc„o

Pedro Falc„o

    Centurio

  • Community Members
  • PipPipPipPipPip
  • 651 posts

Posted 08 March 2012 - 01:30 PM

Warcraft 3 had a great support for scenario designers and i liked it very much, although i never used it at its full power. The game had an excellent map editor with the capability of creating custom object/actors/techs from an already existing unit (this feature was what gave life to DotA), possiblity of adding new models exported from 3ds max, creating custom campaigns with progressive heroes just like the main campaigns, and the map editor interface was very intuitive too, since i could learn how to do everything without even touching any manual.
  • 0
Pedro Falc„o
Latin: Petrus Falco; Literally means 'Stone Hawk'.
English equivalent: ' Peter ';


Undergraduate Computer Scientist by UFCG
Shotokan Karate Adept, 3rd Kyu (Green Belt) & Muay Thai initiate

#11 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,967 posts

Posted 08 March 2012 - 07:23 PM

I could also see a 'check box' option in Atlas in the resources panel to allow the game host to decide the number of resources (map settings, standard, high, death match, etc.).
  • 0

#12 Pureon

Pureon

    Primus Pilus

  • 0 A.D. Art Team
  • 3,652 posts

Posted 08 March 2012 - 08:26 PM

How about these names?
Skirmish
Normal Maps
Premade Maps
Typical Maps

Anyone has an idea?


Yeah I'm liking 'Skirmish' - so we'd have:

Scenario: Created in Atlas with locked starting positions, civs, resources, teams, etc.
Skirmish: Also created in Atlas, but starting positions and civs are customizable
Random Map: Random map scripts as they are now
  • 0

Pureon
0 A.D. Part time Designer / Texturer / 3D Artist
Contact email:
pureon{@}wildfiregames.com


#13 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,967 posts

Posted 08 March 2012 - 08:30 PM

Yeah I'm liking 'Skirmish' - so we'd have:

Scenario: Created in Atlas with locked starting positions, civs, resources, teams, etc.
Skirmish: Also created in Atlas, but starting positions and civs are customizable
Random Map: Random map scripts as they are now


Sounds good to me.

A variation upon a skirmish map would be to have set enemies, while allowing Player 1 or whoever to choose their own faction. We could play with this idea a lot.
  • 0

#14 Pureon

Pureon

    Primus Pilus

  • 0 A.D. Art Team
  • 3,652 posts

Posted 08 March 2012 - 08:35 PM

Sounds good to me.

A variation upon a skirmish map would be to have set enemies, while allowing Player 1 or whoever to choose their own faction. We could play with this idea a lot.


Agreed - I'm liking this a lot :)
  • 0

Pureon
0 A.D. Part time Designer / Texturer / 3D Artist
Contact email:
pureon{@}wildfiregames.com


#15 FeXoR

FeXoR

    Centurio

  • Community Members
  • PipPipPipPipPip
  • 938 posts

Posted 09 March 2012 - 02:21 AM

I personally don't feel a need of scenarios at all, skirmish would do. But since the 0ad concept is bound tight to realism, it's good to have them aboard.
But for re-playability and for network games (as far as I can see 0ad will run in hell a lot of trouble with random maps in network games), the 'skirmish' type would be the prior map-type to work on.
Since it's possible to load random maps in atlas, designers can prepare maps (scenarios or skirmish) by writing random map scripts that do the rough work.
I guess that could speed up things.

To the Warcraft III WorldEdit:

Indeed! That was the most powerful tool I've ever seen and since there where some changes in the higher levels of Blizzard, I guess it'll stay that way.

But of cause U'r welcome to try ^^
  • 0

#16 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,967 posts

Posted 09 March 2012 - 02:25 AM

Why do you say there is a trouble with random maps in multiplayer?
  • 0

#17 FeXoR

FeXoR

    Centurio

  • Community Members
  • PipPipPipPipPip
  • 938 posts

Posted 09 March 2012 - 02:45 AM

Because many functions in rmgen scripts (like group placing methods) use sin/cos offsets. And if I got it right this will cause lightly different values on different platforms (win, linux, mac) and architectures (32/64 Bit). So even if everything will be replaced by rounded versions of the rmgen functions on big maps with many more then 256^2 (262144) tiles there will sometimes be a difference between maps. I don't know if small 'errors' of object placement don't lead to an out of sync, but I think 1 tile will for sure.
An error of 10^(-10) is not so small in my book (afaik the error for trigonometric functions).

I'm not fully into it, so that's just what I expect to happen from my uninformed point of view.
I try to avoid the usage of sin/cos whenever possible.
If you look into the fortresses RMG, you'll find much less trigonometric functions used then in the rmgen scripts.

However, I might have said it a little more kind, sry for that.†

And, btw, I'd really like if everything works fine!


Edited by FeXoR, 09 March 2012 - 02:46 AM.

  • 0

#18 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,476 posts

Posted 09 March 2012 - 02:59 AM

As far as implementing this game mode, I was thinking we could load the map similar to how MapReader works now for scenarios, then pass the map data (terrain, heightmap, entities) to the random map generator, using a special script to replace the "player start" entities with the starting structures and units for each player+civ, and finally return the modified data as we normally do. The harder part would be designing the GUI as described in the OP. I wonder if it wouldn't be easier to just assign players to open locations randomly or on a first come, first served basis?

Because many functions in rmgen scripts (like group placing methods) use sin/cos offsets. And if I got it right this will cause lightly different values on different platforms (win, linux, mac) and architectures (32/64 Bit). So even if everything will be replaced by rounded versions of the rmgen functions on big maps with many more then 256^2 (262144) tiles there will sometimes be a difference between maps.

The new trig functions should be consistent on all platforms, it's not a question of rounding, it's a matter of SpiderMonkey not guaranteeing that identical trig approximations would be used on different platforms (there are CPU instructions for some of the trig functions). So Math.cos, Math.sin, Math.atan, and Math.atan2 are fine now and provide more accuracy than we need, unless someone can prove otherwise :) (Of course you don't have to use them, and they are slightly less efficient than before so don't overuse them)
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#19 FeXoR

FeXoR

    Centurio

  • Community Members
  • PipPipPipPipPip
  • 938 posts

Posted 09 March 2012 - 03:39 AM

Thy, now I will sleep better...
Perhaps I should have gone to bed before my last two comments ^^
  • 0

#20 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 590 posts

Posted 09 March 2012 - 03:58 AM

As far as implementing this game mode, I was thinking we could load the map similar to how MapReader works now for scenarios, then pass the map data (terrain, heightmap, entities) to the random map generator, using a special script to replace the "player start" entities with the starting structures and units for each player+civ, and finally return the modified data as we normally do. The harder part would be designing the GUI as described in the OP. I wonder if it wouldn't be easier to just assign players to open locations randomly or on a first come, first served basis?


It is better for players to be able to choose their start location. If we are going to do it randomly, we should place allied players near each other that is very hard as there isn't any rule about start location placement.

A variation upon a skirmish map would be to have set enemies, while allowing Player 1 or whoever to choose their own faction. We could play with this idea a lot.


So we should add a checkbox in atlas player dialog to see if this player is able to choose his civ/team. Start locations must be placed depending on the number of "checked" players.
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!