Infinity X release v0,000001
new version: 0.00001 (no it’s still not a real version)
http://www.infinity-x.com/downloads/
same as before, except i added support for units (buildings), vehicles (land vehicles, amphibious vehicles, sea vehicles and air vehicles), and even infantry (marines and infiltrators).As it stands (meaning hopefully i’ll add it in the future), the following fields are included for:
- Buildings:
- ID (so i know which one it is)
- name
- hit points
- armor (when shot: HP = HP - (damage - armor) ) or more easy to understand: Hit Points Lost = DamageDone = Damage - Armor
- scan
- range
- shots
- damage
- cargo (capacity)
- ammo
- cost
- builds (what can it build - small buildings, big buildings, light land, heavy land, sea, air)
- movement (for buildings this is where can it be built - land, sea, amphibious, air)
- transport (what can it transport/hold - none, materials, fuel, gold, vehicles, infantry, land, sea, air - used for transporting (vehicles) or repair/upgrade (buildings))
- attack type (what can it attack: none, low (land/sea), sub (submarines), air)
- Speed (how far can it move in a turn; horizontal/vertical is 1speed, diagonal 1.4 speed)
- Drive and Fire (only scout can drive and fire; other units lose shot(s) as they move: assault gun can move 12 and has 2 shots. It can either move 12, move 6 and fire once, or fire twice (and not move at all))
- Skill (used for calculating success chance at disabling/stealing - currently i think i’ll give 0 a 50% chance; skillmax = 5, and for each skill add 5% chance (so success is between 50% and 75%). Failure to disable/steal leads to unit being discovered and usually being shot on sight)
Vehicles have the following additional fields
Infiltrator has the following additional field:
While this new code can’t be seen, i did hardcode a scout in so that’s cool. No you can’t move it, no it won’t rotate, not it won’t actually do anything (but it does stay in the correct position as you scroll along!). And no, it’s not shown on the minimap.
Hopefully i’ll get it working/added properly tomorrow before i start my job monday.


