Carl_Bar

Major
61 Badges
May 22, 2016
695
115
  • Crusader Kings II: Charlemagne
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Pre-order
  • 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
  • Crusader Kings II: Legacy of Rome
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Synthetic Dawn
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Green Cities
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun: Dragonfall
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Surviving Mars: First Colony Edition
  • Surviving Mars
  • 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 Season pass
  • Europa Universalis IV: Common Sense
  • 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
147
49
  • 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
    }
}