Jump to content

illegalos

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by illegalos

  1. I tried poking around.

    Normal:

    local item = GenerateTurretTemplate(random():createSeed(), weapontype, dps, tech, rarity, material)

    I want independent targeting:

    local item = GenerateTurretTemplate(random():createSeed(), weapontype, dps, tech, rarity, material)
    item.automatic = true

    I want independent targeting and guided for rocket launcher:

    local item = GenerateTurretTemplate(random():createSeed(), weapontype, dps, tech, rarity, material)
    item.automatic = true
    local weapons = {item:getWeapons()}
    item:clearWeapons()
    for _, weapon in pairs(weapons) do
    weapon["seeker"] = true
    item:addWeapon(weapon)
    end

    Probably need to be in a script.

  2. Well, it doesn't really work. At first file had some spacing issue, like "end" was merged with next word, I fixed it. Still, I was giving me this.

    Iddno

    That's what you can expect from someone with no experience in programming or scripting. I just copy paste around. Maybe someone else can fix it.

     

    I still can't figure out how to remove fighter, that how competent i am.

     

     

    EDIT : since someone else is already making an addfighterscript, so this is likely the final one from me. removed previous attachment

    update attachment and usage:

    to add figher:

    /fighter add <type> [rarity] [material] [tech] [amount]

    to check free space:

    /fighter free

    note : volume are not the same as free slot since larger fighter which are generated using higher tech value will occupy more space.

    fighter.zip

×
×
  • Create New...