• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Lunawolf242

Sergeant
11 Badges
Jan 8, 2009
78
0
  • Crusader Kings II
  • Darkest Hour
  • Hearts of Iron III
  • King Arthur II
  • Magicka
  • Cities: Skylines Deluxe Edition
  • War of the Roses
  • 500k Club
  • Mount & Blade: Warband
  • Stellaris
  • Cities: Skylines
I am creating a small mini mod for aircraft divisions after I was very dissatisfied about the pathetic range of how airplanes are modeled, and how some later models of aircraft are missing in some major countries. I am really stumped on how to model some aircraft, since all in the same technological slot like CAS-1940. Germany's Stuka had a ferry range of 500 km while the Il-2 had a ferry range of 800 km. Does anyone have an idea on how to model range? Also I am using ferry range because the websites I check does not give combat radius, and I lost my Janes books. Does anyone know the combat radius of all planes that are used in Darkest Hour?
 
You can make events to customise units for each nation. Here is an exerpt from the "event commands.txt" reference file which shows how.

Code:
# UNIT VALUES
# [unit value] = soft_attack/hard_attack/ground_defense/air_attack/air_defense/build_cost/build_time/manpower/speed/max_organization/transport_weight/supply_consumption/fuel_consumption/speed_cap_art/speed_cap_eng/speed_cap_at/speed_cap_aa
#
# Land unit bonuses
	type = [unit value] which = [land/division type/brigade type] value = [additive value modifier] }

# Air unit bonuses
	type = [air_attack/strategic_attack/tactical_attack/naval_attack/air_defense/build_cost/build_time/manpower/speed/surface_detection/air detection/transport_capacity/supply_consumption/fuel_consumption/range] which = [air/division type/brigade type] value = [additive value modifier] }

# Naval unit bonuses
	type = [naval_attack/air_attack/shore_attack/naval_defense/air_defense/build_cost/build_time/manpower/speed/surface_detection/air detection/visibility/transport_capacity/supply_consumption/fuel_consumption/range] which = [naval/division type/brigade type] value = [additive value modifier]
}
# NOTE: For "build_time" and "build_cost", it is possible to add the field "where = relative".
# This means that the value is parsed as a relative modifier (%) instead of an absolute addition.
# When doing this, THE BASE VALUE OF MODEL 0 IS USED FOR _ALL_ MODELS. So "value = -10" means
# "-10% of the value of model 0".

You'll need to learn how to create events, of course. There should be some threads and some wiki articles around that will help.

Cheers,
Sword