Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Shivan Hunter on November 03, 2010, 01:23:15 pm
-
Are weapon templates available like ship templates are? I don't see a page in the Wiki so I'm assuming not.
-
Ship templates don't even work correctly.....
-
frak
-
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
-
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.
-
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.
-
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.
-
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.
-
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. :/
-
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.