UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Goliath Script Placer V2.0 Alpha B and V1.0 Stable

POLL
broken avatar :(
Created 8 years ago
by daedra descent
0 Members and 1 Guest are viewing this topic.
30,090 views

Poll

Question: Add feature to allow for deletion of map files?

Yes
20 (90.9%)
No
2 (9.1%)

Total Members Voted: 19

Poll

Question: Would you like the easy customization feature added even though you can't change individual variables?

Yes
12 (70.6%)
No
5 (29.4%)

Total Members Voted: 15

broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet





The Goliath Script Placer is a Java-based script placer with a focus on versitility. Unlike other script placers, the Goliath Script Placer has the ability to add or remove custom made map templates.

The Goliath Script Placer requires Java 1.8.*. You can download or update java from: https://java.com/en/

Download(V1.0 stable):
Code Snippet
Plaintext
  [url]https://drive.google.com/open?id=0B9gkff9FESbLT24ybHl3b0k5OE0[/url] 


Download(V2.0 Alpha B):
Code Snippet
Plaintext
https://drive.google.com/open?id=0B9gkff9FESbLVGlkQURMbmJ0VjA

You can download the necessary mod_source files from here: http://ugx-mods.com/forum/index.php/topic,11230.msg124889/topicseen.html

To Install: Open and paste the contents of the Goliath Script Placer.zip file into a folder on your desktop.

To use: double click on the GoliathScriptPlacer.jar file.


Images V1.0




V2.0 Alpha






Licensing


This program is licensed under the Creative Commons(CC) BY-NC-ND license, which can be found in the provided ZIP file. By using the Goliath Script Placer, you agree to the license's terms.
Last Edit: June 14, 2016, 08:22:59 pm by daedra descent
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 1 year ago
Posts
1,864
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
My Groups
More
Personal Quote
ok
Signature
Aye mate you don't know me so y don't you shut tf up ok buddy :)

×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
Seems a bit OTT to have to DL Java and enter a serious of commands to run a script placer. Regardless it works fine.

Probably better to include a bat file to run it, I just made one with the following if anyone else wants to use this:

Code Snippet
Plaintext
java -jar GoliathScriptPlacer.jar

and just save in same directory as jar as a .bat file.
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Seems a bit OTT to have to DL Java and enter a serious of commands to run a script placer. Regardless it works fine.

Probably better to include a bat file to run it, I just made one with the following if anyone else wants to use this:

Code Snippet
Plaintext
java -jar GoliathScriptPlacer.jar

and just save in same directory as jar as a .bat file.


Eh, I imagine most people have java installed anyway so I figured it wasn't a big deal.

Launching it via a batch file completely slipped my mind. Thanks for reminding me.

I'm probably going to do one or two Command Line Interface release before I start working on GUI. I still have actually place the files to the correct directory. I'm not 100% how go about doing do it besides manually specifying a directory. 
Last Edit: May 28, 2016, 11:55:36 am by daedra descent
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Updated to V0.83!


+Added welcome text
+Generated scripts not place in the World at War directory. If both versions(CD and Steam) the Steam version is what is used.
+Files in mod_processing are now deleted after processing is complete.
+Template name change from nazi_zombie_tutorial to Goliath_template. Old templates will not work. You can fix this by using the older version of the Goliath script placer to change the file names.
+Added .bat file to easily launch the Goliath script placer(Thanks to Scobalula for reminding me about this!).
Last Edit: May 29, 2016, 11:11:18 pm by daedra descent
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Updated to V1.0 beta!


+Added graphical user interface(GUI)





broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Updated to V1.0 (non-beta)!

Tweaks:

+Increased width of the mod list area to 100 pixels to make room for longer mod template names.
+Changed overwrite checkbox text.
+Added tool-tip to overwrite checkbox.
+Clicking on the area where you add your map's name should now automatically delete the example map name text.

Bugs fixed:

+Fixed bug in which the first mod template was the only mod generated regardless of user selection.
(edit)+ Fixed a bug where the user could keep clicking the button while map generation was in progress. The button will now disable and re-enable itself.

New features:

+Added "developer" checkbox. When clicked, the generated map's folders and files will be placed in the output folder instead of the Steam or CD game directory. This also has a tool-tip for explaining what it does.
Last Edit: June 01, 2016, 05:15:31 pm by daedra descent
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Updated to V1.0.1.


a bug regarding the output folder getting stuck to output if the developer checkbox was at any point selected during application runtime has now been fixed.


Removed script placer limitation regarding the maximum amount of sub-directories. Any and all sub directories should now be deleted.


Added poll for a new feature.

Double Post Merge: June 03, 2016, 08:23:34 pm
Redesigning the Goliath Script Placer's GUI + adding map deletion feature. Looks a bit crowded but I'd hate to increase the app's size just for map deletion any more than I have already.


Map deletion includes three planned options for deletion:


-Everything
-Ignore map files
-Selected Only(select from the list via shift + click).



Last Edit: June 03, 2016, 08:23:35 pm by daedra descent
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Added another poll regarding whether people would still like the easy customization feature even though you can't change individual variables in each script.


The problem is that I don't really have a way to get a list of variables for scripts. If I just grab every variable in the script then the user could potentially change something they shouldn't. Some people script weird and put code that would normally be after an if statement on the same line of the if statement which could be an issue...


And then there are function calling which would be difficult to implemment correctly(what if it requires other custom scripts, what if the required spot doesn't exist, etc?).


So basically, if I did go through with the easy customization feature, it would just be a list of things that -in addtion to the selected mod- would copy over to wherever its directory is and replace the existing file if exists.


Still could be useful for custom perk shaders, sounds, modified stock scripts, etc.


So, yeah... let me know via the poll.
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Goliath Script Placer V2.0 Alpha released.

Changelog:

-Revamped GUI - now has a menu and tabs to switch between the Script Placer and Map Deleter!
-App now properly follows OS theme.
-added "about" menu
-Moved "developer" under "File" dropdown menu.

-new features-

+Script Placer now has the ability to search(but not delete) map files from the user's directory. Ability to delete will come in a future version.

Note: Searching for map files will use an entire CPU core(25% of a quad core) or more and will take some time to complete(about 15-30 seconds) as it scans the entire root directory. The ability to do a faster, targeted search via typical map directories(WILL NOT DISPLAY ALL MAP FILES THIS WAY) may be available in a later update.

Note 2: having "developer" checked will scan the output folder instead of the user's WaW directory.



Images


Last Edit: June 09, 2016, 01:49:58 am by daedra descent
broken avatar :(
×
broken avatar :(
Location: be
Date Registered: 17 August 2013
Last active: 2 years ago
Posts
369
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
Web & Software Developer and Designer
Signature
"Deleted code is debugged code." - Jeff Sickel
"Mathematicians stand on each others' shoulders and computer scientists stand on each others' toes." - Richard Hamming
×
JR-Imagine's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Note: Searching for map files will use an entire CPU core(25% of a quad core) or more and will take some time to complete(about 15-30 seconds) as it scans the entire root directory. The ability to do a faster, targeted search via typical map directories(WILL NOT DISPLAY ALL MAP FILES THIS WAY) may be available in a later update.
15-30 seconds running an entire core @100%? Not trying to bash you or anything but you might want to take some programming courses...

Edit: Just realised you said you're scanning the entire root directory. May I ask why you would release something as inefficient as this? And why do you not just scan map_source, maps etc.? Or even better, read the contents of relevant csv files?

My previous statement still applies, you should probably take some courses to help you further. You should never do I/O at that scale without threading.
Last Edit: June 09, 2016, 10:55:42 am by JR-Imagine
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet

Edit: Just realised you said you're scanning the entire root directory. May I ask why you would release something as inefficient as this? And why do you not just scan map_source, maps etc.? Or even better, read the contents of relevant csv files?


I figured scanning the entire root directory would be the most compatible with various types of mod_template(s) placing different files in different places. A targeted scan would just go right past some files and never add them to the array list, which is why I want to provide an option to choose the scan type.


Scanning via .csv would just add another layer of complexity that I don't see the point in. Really with that way you'd just be opening a dozen or more .csv that may or may not include references to a map's files(children .csvs can have references to their parent map .csv) and *still* be scanning directories anyway as i'm pretty sure JavaXT's getFiles() method still checks each file's name to find the files.
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Update V2.0 Alpha to Alpha B


Changelog:


+Lots of internal changes - cleanups/separation of script placer and map eraser.
+Tab name change from "Map Deleter" to "Map Eraser".
+App no longer crashes if no mod_source files exist.
+Script placer's button is not clickable if no mod_source files exist.
+Fixed tooltips on about JFrame.
+"Fast" search is now implemented and gives nearly instantaneous results compared to the deep scan option.
+Added thread for script placer. Currently breaks if attempting to place more than one map at a time.
+Fixed overwrite not working

Last Edit: June 14, 2016, 08:39:08 pm by daedra descent
broken avatar :(
×
broken avatar :(
Location: iq
Date Registered: 17 February 2017
Last active: 3 years ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
CloudX99's Groups
CloudX99's Contact & Social Links
any one have a new goliath script placer links ????? :nyan:

 
Loading ...