• 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.

Carl_Bar

Major
62 Badges
May 22, 2016
726
182
  • Crusader Kings II: Charlemagne
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Pre-order
  • Crusader Kings II
  • Sword of the Stars II
  • Sword of the Stars
  • Europa Universalis IV: Res Publica
  • Magicka
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Europa Universalis IV: Art of War
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Age of Wonders: Planetfall
  • Cities: Skylines - Green Cities
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun: Dragonfall
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • BATTLETECH
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Premium edition
  • Europa Universalis IV: Common Sense
  • Magicka 2
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Stellaris: Nemesis
Having some issues doing this, i created a modified .csv file and dropped it into the mod folder, but it doesn't seem to be reading it at all, but the error log shows nothing. No idea whats going on.

Might be related somehow to the fact that despite what the readme says the .ods is not readable, (tried both notepad++ and excel), so i had to edit the CSV directly with notepad++, might have created a formatting error, i honestly have no idea.
 

Mr. Morague

Second Lieutenant
14 Badges
Dec 19, 2017
182
107
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Stellaris: Synthetic Dawn
Are you creating new weapons or editing old ones? For new ones, it's typically better to have the values in the component file itself, such as
Code:
weapon_component_template = {
    key = "SMALL_HARVMACH_ENERGY_GUN"
    size = small
    icon = "GFX_ship_part_laser_5"
    icon_frame = 1
    type = instant

    damage = { min = 498 max = 761 }
    windup = { min = 5 max = 30 }
    total_fire_time = 40
    range = 120
    accuracy = 0.9
    power = -300
    hull_damage = 3.0
    armor_penetration = 0.33
    armor_damage = 0.75
    shield_penetration = 0.66
    shield_damage = 0.5
    tracking = 0.5

    resources = {
        category = ship_components
        cost = {
            alloys = 40
        }       
        upkeep = {
            volatile_motes = 0.25
            exotic_gases = 0.25
            rare_crystals = 0.25
            sr_dark_matter = 1
        }
    }

    prerequisites = { "tech_interdimensional_understanding_weaponry_1" }
    component_set = "GAMMA_LASER"
    projectile_gfx = "gamma_laser_l"
    tags = { weapon_type_energy }
    ai_tags = { weapon_role_anti_hull }
    ai_weight = {
        weight = 0
    }
}