Jump to content

  • Log In with Google      Sign In   
  • Create Account

LorenzoGatti

Member Since 25 Nov 2005
Offline Last Active Today, 07:28 AM

#5176374 4x space combat with low loses and control of territory

Posted by LorenzoGatti on 27 August 2014 - 01:31 AM


I can't use it for my project (no sectors, just planets with starlanes) but I can't resist pursuing this concept biggrin.png I always loved sectors.
Each planet neighbourhood can be a map sector; if they are too complex they can be split into a few parts (Solar system example: assuming extensive colonization making Moon interesting, treat Earth and Moon as two adjacent sectors rather than one).

With a setup of planets and "starlanes" you simply don't have many void map sectors because nobody goes too far from planets; void sectors might be present in strategically important locations within a star system (e.g. the Solar System could have sectors for each planet, important satellites and asteroids, the sun and two empty ones "above" and "below" the orbital planes).


To rephrase what you wrote. The map is divided into squares, each consisting of several planets/systems/asteroid belts/satelites/orbital basaes/etc. Fleets are placed in a sector, then they take a position on one spacial body they occupy. There are no disctances within a sector, all fleets can engange any unit within system.

No, not squares. Sector shapes are irrelevant and effectively nonexistent, sector sizes are vague and easily fudged, and particularly with arbitrary long-range links, the graph structure of sector adjacency is going to be arbitrary and likely not planar.


The problem I see is stopping enemies. Like, if you move a fleet to a sector (just moe them into space, no planet targetted), then enemy targets your fleet, but you gave an order to move to the next sector, so at the end of turn the enemy has invalid target (you are not there anymore) and you moved to another sector, effectivelly passing through the enemy lines.

Actually, I suggested that a fleet can only exit a sector if nobody attacks them; I'm afraid I didn't make the assumption of simultaneous turns (orders for each fleet, battles of fleets attacking each other or converging to a location, planetary assaults, and finally splitting and coalescing surviving fleets) sufficiently clear.

If your fleet wants to stop an enemy fleet and they are in the same sector, just attack them every turn and they won't go anywhere, except perhaps taking the battle to planets or stations of that sector they want to conquer or hold.




#5175947 Suggestions in Finding an Interesting Game Ideas

Posted by LorenzoGatti on 25 August 2014 - 02:00 AM


I believe you should make games you enjoy, if you don't enjoy them then how else will another player like it? I believe every game developer should make games they would enjoy playing and want to play.

This is the right attitude, and there is a further advantage to following your tastes: you are an expert of the kind of games you enjoy playing.

Experience and familiarity put many bad or wrong or too trivial game designs out of the question, saving you a lot of mistakes; on the contrary you might find genres you don't like too unpleasant or too alien to work in.
For example, I understand the graphical principles of aligning and layering images for dress-up doll games, but I'm not enough of a fashion designer to know what to draw. 




#5175672 4x space combat with low loses and control of territory

Posted by LorenzoGatti on 23 August 2014 - 12:05 PM

A defining feature of space is its vastness: any number of starships, with several orders of magnitudes of margin beyond the expected maximum number of ships in the whole game, should be able to occupy a map sector without being engaged in combat.

Combined with the preference for "starlanes" (suggesting that everyone hangs around their endpoints as much as possible) and the desire for protracted combat, the possibility of coexisting with the enemy in the same location suggests rules in which engaging the enemy is an optional and often deliberately delayed action, and choosing where to put reinforcements and who/what deserves attacking are the main strategic elements.

  • Every map sector contains any number of mobile fleets and stationary planets and stations of any faction. Newly built ships join a fleet in their sector at the end of the turn and can move the following turn.
    Sector size can vary from most empty and a few with one planet or station, to planetary neighbourhoods encompassing satellites and Lagrangian points, to whole solar systems; something important to vary and tweak for tactical and strategic purposes. 
  • Movement speed: In a turn, a fleet can attack any enemy fleet in the same sector (or merge with a friendly one), or go to a planet or station. Fleets can split freely at the end of the turn (to show the resulting new fleets when the enemy selects moves next turn).
  • Fleet combat takes place after movement; it can be assumed that all fleets who go to the same place or approach the same fleet arrive together. With suitable cultural excuses (prudence, chivalry, expending limited fuel or ammo, etc.) the normal outcome is that both factions retreat after modest damage, it doesn't matter where. Next turn they'll go anywhere in the sector all over again.
  • When a fleet goes to an enemy planet or station, they first engage enemy fleets who went there (and those who went after them); if attackers are successful enough, as an exception to the rule of always retreating, they remain, forcing the defenders away, and attack the objective in the same turn.
  • "Long-distance" movement: a fleet shouldn't go further than to an adjacent sector in a turn, and only if no enemy fleet attacks them. On the following turn, they are in the other sector.
    Spending additional turns in wormholes, warp speed, or whatever you want to call states in which the fleet is traveling and cannot attack or be attacked can be an option.
    Slow movement enables bluffs; fast movement wouldn't require a player to commit its forces to a specific place. Slow movement on a large map can be made more agile with some kind of shortcut between ordinarily distant sectors.



#5175427 how to go about implementing sub-region rendering?

Posted by LorenzoGatti on 22 August 2014 - 01:44 AM

If we are talking about a game, the whole screen is redrawn every frame.

Otherwise you need to be more specific as to your goals.

What remains provably constant between frames is usually a bezel or a background image, and rendering this kind of thing is a large but dirt cheap blitting operation.

Everything else has a chance to remain constant (e.g. entering a pause mode, perfect immobility) but ordinarily there is no reason for optimizations:

  • Your performance target is being able to draw all objects to the whole screen every frame: making a "lucky" case.cheaper is pointless.
    Instead, drawing performance is improved by reducing the worst case number and cost of draw calls regardless of what changes from frame to frame (for instance, limiting the number of game entities in the game rules to limit drawn objects).
  • Tracking regions where you aren't going to draw anything does little good: you are drawing objects, not screen regions, and a small dirty region means that the objects are concentrating the same amount of drawing effort into a smaller part of the frame buffer, which might or might not be good for performance.
    Instead, you should cull objects to do less work, but culling criteria include importance, visibility and the like, not screen-space location.



#5174944 You're a witch/demon hunter/slayer. You're likely to carry...

Posted by LorenzoGatti on 20 August 2014 - 01:51 AM

Wai gives a good list of equipment functional categories, but most of them should be further broken down into specialist gear for monster hunters and generic adventuring gear everybody uses, because monster hunting is an additional occupation layered on standard adventuring hazards and concerns. For example, in a typical wilderness region everybody's "assault gear" should include a reliable way to hurt (but preferably not kill) a wolf or a bear, while in the appropriate environments basic camping equipment includes locust-proof tents, leech removal tools or air purification systems regardless of what you are doing there.

You might find out that sensible equipment for monster hunters are variants of regular equipment rather than overspecialized gear: for example, a sword with a silvered blade (as general purpose as it gets, and very effective against certain monsters) instead of a clumsy pistol with silver bullets (equally large and expensive, but usually ineffective).

I wouldn't worry about unexciting or unoriginal gear; hunting and meeting monsters should provide all the excitement, and players care about facing such activities with sufficiently effective and complete equipment.




#5170819 Publish - An open source pipeline tool

Posted by LorenzoGatti on 01 August 2014 - 01:49 AM

The normal way to perform these checks is a tool plugin, e.g. hooked to asset export. Such scripts are going to be very specific to certain asset categories, limited to one project (but possibly easy to recycle and adapt), continually evolving, and integrated with databases and asset pipelines on their own terms: only basic building blocks (e.g. verifying that an alleged manifold mesh has consistent normals) and reporting infrastructure are plausibly useful products.




#5170812 Any interest in reverse engineering .unitypackage files?

Posted by LorenzoGatti on 01 August 2014 - 01:25 AM

Not much article potential, what can you say about these Unity archives beyond the information in Frob's answer?




#5170271 Exploration in space 4X (boring & tedious)

Posted by LorenzoGatti on 30 July 2014 - 04:47 AM

Why "scout" ships? Hundreds of Star Trek episodes have proved that even a very powerful flagship like the USS Enterprise can be seriously challenged by "routine" exploration and search missions: a state of the art expensive and very strong ship should be the bare minimum for venturing in unexplored or dangerous space, with powerful groups of ships preferable and cheap small ships completely out of the question except as the numerous payload of an aircraft carrier.

 

Reasonable (and fun) exploration should consist of going there and kicking ass, conquering new territories and clearing them of threats; probes and instruments are a small addition to a primarily military activity. The difference with a military campaign is that exploration happens in "wild" places rather than in well known places that belong to the enemy.

Long range sensors can give a good indication of where to send the exploration duty fleets (or what important planets are going to be fought over when the enemy reaches them too) without yielding anything concretely useful.




#5170257 How to invent names (theory)?

Posted by LorenzoGatti on 30 July 2014 - 02:34 AM

Actually what you want is to choose some restrictions for yourself.

Naming is peculiar because restrictions are, more importantly than starting points for creativity as usual, systems that provide important information directly. Spelling and family names tell the ethnic and geographical origin of people, while first names hint at the age of persons and the culture of their parents. For example, the lists of names in film credits are usually sufficient to guess where every special effects firm is located.

 

Names reflect important social, historical and cultural structures: invent them, and appropriate names will be easy to deduce. For example, using more or less reference languages for the names in a fantasy world depends on the presence of different nations or merely different lords and tribes sharing a common culture, while religious references correspond to the diffusion of different religions (and are absent, or too common to be significant, if nobody cares to make a religious statement).

A distinction should be made between choosing consistent but often arbitrary naming rules (e.g. kingdom A has French names, kingdom B has Dutch names, kingdom C has Swedish names; religion X has personal names from animals and plants and objects, religion Y has a small set of peculiar personal names in a very exotic language) and modulating them according to standard realistic patterns (e.g. in the contested regions around kingdom borders there are substantial numbers of personal names from both languages, while places have one name in each language and the official one is switched according to current ownership).




#5169677 Adding some variation to AI

Posted by LorenzoGatti on 28 July 2014 - 01:21 AM

What behavioural similarities are considered bad isn't completely clear.

 

Shooting simultaneously is a consequence of starting synchronized and being able to shoot at any time. Random delays break up the synchronization, but you can experiment with obstacles, concealment and lack of targets to make every unit shoot only when it can hit: when the enemy walks into the line of fire (and simultaneous fire makes sense), when they turn a corner (one at a time), when they randomly decide to pop out of their cover (according to the stochastic criteria suggested in previous posts), etc.

 

Generally "doing the same thing", on the other hand, should be addressed with multiple-unit coordination. For example, an infantry platoon or the like could, among many other things that can be modeled and executed in relatively simple ways, split into two halves that cover each other's advance or spread into a very long line to minimize the effect of enemy grenades: you would have two clearly different groups even if the constituting soldiers simply walk and shoot like any other soldier.




#5167952 Need help with a fuzzy Scoring algorithm.

Posted by LorenzoGatti on 20 July 2014 - 07:41 AM

If you want fuzzy sets, you can choose some representative ranks and "blend" between them, respecting the rules for fuzzy membership functions (correct range and adding up to 1).

 

For example, assuming normalized score s increase from 0 for the worst player to 1 for the best player, 0 is necessarily fully "bad", and 1 is fully "very good"; you can decide arbitrarily that 0.2 is "mediocre" and 0.7 is "good". Then, if 0.2<=s<=0.7 the player is (0.7-s)/(0.7-0.2) "mediocre", (s-0.2)/(0.7-0.2) "good", and not "bad" or "very good" at all.

Of course, these triangle shaped functions can be replaced by other shapes, possibly with more than two sets for each score.

 

I'm still unsure about the purpose of fuzzy sets and "opinions". Comparing performance between players is a valid indicator of what the player is good at without further elaboration; it would be enough, for example, to suggest training exercises or inform "adaptive difficulty" AI. 




#5167834 Need help with a fuzzy Scoring algorithm.

Posted by LorenzoGatti on 19 July 2014 - 01:04 PM

You should probably use rank statistics rather than averages. Assuming raw scores are positive and better if higher:

  • normalized score= weight*(number of lower scores than the player)/(total number of scores-1).
    0 if the player is the worst of them all, maximum if he is the best, half maximum for a median (not average) performance. Suitable for distributions that are known to be skewed and clustered, e.g. batting average in a season of baseball.
  • normalized score= weight*(player score-minimum score)/(maximum score-minimum score)
    0 if the player is the worst of them all, maximum if he is the best, half maximum at the midpoint between minimum and maximum raw scores. Suitable if raw scores are quite linear but their range is unpredictable, e.g. number of goals in a season of football or number of yards gained in a season of American football.



#5167569 Speed of fleets

Posted by LorenzoGatti on 18 July 2014 - 04:57 AM

If you had a game where you just built up a fleet (active choices of content of fleet), then send it to attack somewhere (active choice of target), but you had no further input into the system, how long would it be fun?

 

Combat,                 automatic.

Fleet movement     automatic.

Battlefield strategy automatic.

 

It would get very boring, very quickly.

Not really. For example, GalCiv has automatic and abstract combat (number vs number),with no battlefield "strategy" and automatic fleet movement, and on top of that automatic ship building and no ship choice. It is still interesting because you need to direct fleet movements and attacks to the right places depending on enemy actions.




#5166945 How to avoid "stacks of doom" in 4X?

Posted by LorenzoGatti on 15 July 2014 - 03:41 AM

Most good 4x games I've played used economy as a deterrent to large forces.

If you place 'all of your units' to defeat the enemy's strongest base, you leave yourself opened for them to overtake all of your economic settlements. You do capture one planet, but end up losing 10-20. After a few turns, your opponent has managed to use these planets in such a way that their fleet is now larger than yours.

That's the best way to do it imo.

I'm perfectly fine with concentration of forces to force a victory, because, most times, this is a bad strategy in a good 4X game...

This penetration scenario could, unfortunately, be symmetrical: a very powerful "strongest base" that can challenge a great fleet means that the opponent is already open to large-scale invasion because other places are inadequately defended, exactly like the player. Enemy large fleets could be simultaneously ravaging the undefended interior of the other empire without necessarily meeting, possibly ending the game by randomly conquering the enemy capital.

 

Boring penetration and raiding with a single powerful force needs to be a worse strategy than more fun and challenging small battles of attrition and large-scale offensives of distributed small forces:the game should reward allocating the vast majority of ships to defense, so that "hunting parties" capable of conquering a planet are going to

  • start small and grow slowly, as surplus ships are produced and places in the safe interior of the empire are demilitarized. Only an overwhelming economic lead (i.e. endgame cleanup) should allow building fleets from scratch instead of slowly reinforcing a large number of planetary defense forces and drafting ships from them when the risk is acceptable.
  • struggle to keep pace with the growth of enemy forces. Too much defense is conservative and safe; too much offense should be a danger.
  • meet their enemy counterparts, which should have a comparable strength, and be thinned out (even if they win) before they become stupidly strong.

This can be obtained through a combination of different means.

  • Making ships slow enough, as the OP dislikes. What's important is avoiding fast long distance travel for strong fleets, so that they cannot defend the whole empire effectively; maybe short travels could be fast enough to not be annoying.
  • Encouraging minor deep space battles in random contact locations along front lines, with planetary assaults as the result of a small (and not too quick) military campaign rather than as the standard type of battle. There is a fundamental difference between ships that are constantly located in some interesting place with a chance of being detected and intercepted and ships that effectively disappear when they start a trip and reappear at their destination thanks to the vast emptiness of space.
  • Rewarding possession of planets etc. only after some time has passed, encouraging players to hold and defend locations rather than advancing and attempting to conquer objectives faster than they lose them elsewhere.
  • Combat rules that reward slight superiority proportionally more than overwhelming superiority, e.g. guaranteed significant losses for the winner. For instance, splitting a fleet to fight two battles with a 2:1 ratio could be better than fighting one battle with a 4:1 ratio and the other with the survivors of the first (maybe because there is a necessary delay allowing the enemy to send reinforcements).



#5165631 Speed of fleets

Posted by LorenzoGatti on 08 July 2014 - 02:13 PM

One of the points of slow ships could be giving them important and exclusive abilities, turning them from part of a fleet to strategic weapons or strategic resources. For example, colony ships that can terraform planets and should often have a fleet as an escort, or Death Star-like planet scale weapons. But it is not necessary, and other types of strategic problems could be better






PARTNERS