Author Topic: Weapon templates?  (Read 1649 times)

0 Members and 1 Guest are viewing this topic.

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Are weapon templates available like ship templates are? I don't see a page in the Wiki so I'm assuming not.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Ship templates don't even work correctly.....
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
frak

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
I usually use an existing ship table that is close to what I want and edit it, if you need FSO features then the order they are listed in the wiki is pretty much the order you need in the table
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Well yeah, that's pretty trivial to do but I was planning on using several weapon archetypes like "flak", "burst lazor", "railgun" and the like, which would be much simpler if I could define a template so they all act the same, and use the template in any individual weapon which needs to modify stuff like damage, velocity, number of shots etc. It would also make the tables easier to work with for anyone else who wanted to add more weapons, since only the relevant fields are available in the template and nothing else takes up space.

 

Offline IronBeer

  • 29
  • (Witty catchphrase)
Well yeah, that's pretty trivial to do but I was planning on using several weapon archetypes like "flak", "burst lazor", "railgun" and the like, which would be much simpler if I could define a template so they all act the same, and use the template in any individual weapon which needs to modify stuff like damage, velocity, number of shots etc. It would also make the tables easier to work with for anyone else who wanted to add more weapons, since only the relevant fields are available in the template and nothing else takes up space.

Start with existing table entries, and go from there. If you're willing to dissect a few modded campaigns, you can find an treasure trove of proto-template candidates.
"I have approximate knowledge of many things."

Ridiculous, the Director's Cut

Starlancer Head Animations - Converted

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
durr

I'm not talking about any difficulty in tabling. Tabling is not difficult in any way and there's no actual functionality this would add that I'm not able to replicate. I'm talking about simplicity, tbl entry size, and how easy it would be to read without extraneous information in there. It would be a nice addition that I can do without.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i kinda like to make available several versions of a weapon. much like subach vs mekhu hl-7. for example il have a weapon, say a gun of a particular caliber, then have like 4 kinds of ammo available, with some minor variation in effects and damage. there is maybe a difference of 2 or 3 values, and the weapons are mostly identical. this is the kind of thing templates would be good for. it would make things much much neater. only if they worked of course.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
That's pretty much exactly what I was hoping for. But if the existing code for ship templates doesn't even work right then it's not something I'd like to see SCP spending time on. :/

  

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
well it has already spent time on implementing them. the fact that they dont work may just mean there are a few (or many) unresolved bugs. it could also mean that the implementation was fundamentally flawed and that it needs to be majorly overhauled to completely redone in order to work, in which case, id just say **** it and remove the existing code. still, i wish templates did work, and that we also had weapon templates. but the fact that the code is still there may just mean that its fixable provided someone invest the time into it.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN