SphereCommunity
Default Script Pack - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Default Script Pack (/Thread-Default-Script-Pack)

Pages: 1 2


Default Script Pack - RanXerox - 04-18-2013 12:28 PM

I have a huge amount of items I could add to the default scriptpack... but it's going to be a nightmare to figure out what client these items came from (T2A, AOS, SE, LBR, ML, HS, etc...)

Would anyone object to me collapsing the scriptpack item files? If not... how far can I go? For example:

Currently there are 15 "building" files:

sphere_item_building_doors.scp
sphere_item_building_doors_sa.scp
sphere_item_building_fence.scp
sphere_item_building_floors.scp
sphere_item_building_floors_sa.scp
sphere_item_building_floors_se.scp
sphere_item_building_other.scp
sphere_item_building_roofs.scp
sphere_item_building_roofs_aos.scp
sphere_item_building_roofs_ml.scp
sphere_item_building_roofs_se.scp
sphere_item_building_stairs.scp
sphere_item_building_stairs_ml.scp
sphere_item_building_walls.scp
sphere_item_building_walls_se.scp

Would anyone object if I reduced that back to just these 7 files:

sphere_item_building_doors.scp
sphere_item_building_fence.scp
sphere_item_building_floors.scp
sphere_item_building_other.scp
sphere_item_building_roofs.scp
sphere_item_building_stairs.scp
sphere_item_building_walls.scp

How about if I reduced it to just 1 file:

sphere_item_building_parts.scp

Or... I could go even further:

In total, there are currently 88 files in the items directory... would anyone object if I converted it to just 2 files (one with all the base itemdefs and another with the derivative itemdef's)?


RE: Default Script Pack - amonvangrell - 04-18-2013 02:41 PM

i don`t object lol, but if i understand correct those changes would make hard to organize things... wouldn`t?


RE: Default Script Pack - RanXerox - 04-18-2013 02:46 PM

Personally I don't think its well organized now... I would be willing to split it back up again if there is a rational way to organize it ;-)


RE: Default Script Pack - dagger4k - 04-18-2013 03:34 PM

I think you should put it as the 7. If you convert it to 2 it can become an issue Confused


RE: Default Script Pack - Rattlehead - 04-18-2013 05:18 PM

well, for those of us that update our defaults, so we are up to date, then turn around and drop our custom files in, i see an issue, unless we go in and delete the original 15 we have, it would cause the items to get read twice.

we should really have an svn for the scp tbh

but besides that i think the 7 is the better option, as 2 will create large files hard to search thru manually, which i do alot.


RE: Default Script Pack - Mordaunt - 04-18-2013 10:44 PM

Honestly.... my altered and custom script all load from a folder I created that loads after everything else so it wouldn't be too big an issue for me (also the fact that my server is not live).
I do agree that the script pack is a mess and to my mind the 7 file method would be better than cramming everything into one or two files.


RE: Default Script Pack - darksun84 - 04-18-2013 11:07 PM

7 Files for mee too !


RE: Default Script Pack - Soulless - 04-19-2013 05:29 AM

i vote for 7 files. seems reasonable. i wouldnt mind a more organized, and up to date def script pack. i dont think ive changed much in them. i would love ot update to a more organized version though. Smile

much like how Mord has his files in a custom folder, mine are all in a custom folder that load after everything else, except resources before regions. this wouldnt affect me very much. except some changes im sure i could go through again. like removing t_wahtever from resources for itemdefs. fixing or adding values to some itemdefs. etc.


RE: Default Script Pack - mpgram - 04-19-2013 07:37 AM

I have to agree with the 7 files. I search through the files manually myself, and 2 files may cause my head to explode.


RE: Default Script Pack - Extreme - 04-19-2013 10:07 AM

Use 7 for now, then when you find a good way to split them, just do it.
And yes, we could have a svn for scripts...