Xaran's Mod Menu

Xaran's Mod Menu

Postby Xaran » 25 Nov 2012, 04:47

Here it is people, my first real contribution (and post for that matter) to the cube community.

After Archmint came out out with their Advanced Weapons Mod (props for being first :cool: ) their was a proliferation of weapon mods in the forum, which I of course downloaded. I found that the process of installing, uninstalling, and reconfiguring for each mod pack took too long, so I figured that someone should make a menu to simplify the execution of weapon mods, and after several weeks of experimentation and revision I made this, So have fun. :)
P.S. This is the first large cubescript that I wrote completely from scratch so feel free to give me some pointers ;) (I'm not sure I did the licensing right)

So far the menu has 3 tabs.

The first is a settings tab (to be expanded upon).

screenshot.0070.png


The second is the main menu which has every weapon mod pack that I know of. And a reset column (so you can reset the weapons you want without reseting all vars)

screenshot.0068.png


And the third is a collection of individual mods which include some of my personal favs, Temka's BluEnergy, and Archmint's V1 Lucifer cannon mod (I slightly tweaked the V5, but the difference is barely noticable)

screenshot.0069.png


So to install this mod:
just unzip it,
put the contents of the folder in your Red Eclipse folder,
and copy/type these into your autoexec.cfg
{l Code}: {l Select All Code}
exec mod_menu.cfg
exec weaponresets.cfg


Credits:

Menu by Xaran

Advanced Weaponry 5 created by Archmint (again props for starting the mod explosion :cool: )

Genesis X Weaponry created by DOOM clan

Bonifarz Weapons created by Bonifarz

DC's Weapons by Drachen Computer (dude what happened to the DSSL mod server?)

BluEnergy created by Temka





Just like mod menu this post will be updated accordingly
"Extras" section may be in next release
Attachments
R1.zip
(45.05 KiB) Downloaded 383 times
Last edited by Xaran on 14 Mar 2013, 14:21, edited 1 time in total.
User avatar
Xaran
 
Posts: 23
Joined: 06 Oct 2012, 23:50

Re: Xaran's Mod Menu

Postby DrachenComputer » 27 Nov 2012, 12:13

Nice work :D Thats my own vars nothing happed with DSSL's mod or Server.

Here is a little correction for mod_menu.cfg
{l Code}: {l Select All Code}
// Mod Menu script

bind h [cleargui; showgui "Settings"]

newgui Settings [
 guistayopen [
 guititle "Settings"
 guilist [
 guitext "maxcarry"
 guibutton "2" [maxcarry 2]
 guibar
 guibutton "3" [maxcarry 3]
 guibar
 guibutton "4" [maxcarry 4]
 guibar
 guibutton "5" [maxcarry 5]
]

 guibar
 guitext "self damage: "
 guibutton "on" [selfdamage 1]
 guibutton "off" [selfdamage 0]
 guibar
 guibutton "reset" [maxcarry 2; selfdamage 1]
]
 guitab "Weapon Packs"
 guistayopen [
 guititle "Weapon Packs"
 guibar
  guilist [
    guilist [
 guitext "^f(textures/modeduel)"
 guitext "^f(textures/melee)"
 guitext "^f(textures/pistol)"
 guitext "^f(textures/sword)"
 guitext "^f(textures/shotgun)"
 guitext "^f(textures/smg)"
 guitext "^f(textures/flamer)"
 guitext "^f(textures/plasma)"
 guitext "^f(textures/rifle)"
 guitext "^f(textures/grenade)"
 guitext "^f(textures/rocket)"
]
 guistrut 2
 guilist [
 guibutton "Advanced Weaponry 5" [exec mods/adv5.cfg]
 guitext "(missing)"
 guibutton " ^f[0xFF0000]Striker" [exec mods/striker.cfg]
 guibutton " ^f[0x666611]Ground Shaker" [exec mods/groundshaker.cfg]
 guibutton " ^f[0xffffCC]Magnesium Blaster" [exec mods/luci(M).cfg]
 guibutton " ^f[0x044DDC]Coilgun" [exec mods/coilgun.cfg]
 guibutton " ^f[0xA000D0]Shadow Fire" [exec mods/shadowfire.cfg]
 guibutton " ^f[0x00FFAA]Spark Gun" [exec mods/sparkgun.cfg]
 guibutton " ^f[0x00CC00]Ion Gun" [exec mods/iongun.cfg]
 guibutton " ^f[0xCCCC00]Duality Bomb" [exec mods/dualitybomb.cfg]
 guibutton " ^f[0xAAAAAA]Omega Cannon" [exec mods/omgcannon.cfg]
]
 guibar
  guilist [
 guibutton "Genesis X Weaponry" [exec mods/gexmod.cfg]
 guistrut 1
 guibutton " ^f[0xAAAAFF]Radiation Gun" [exec mods/gexpistol.cfg]
 guibutton " ^f[0x00FF00]Light Saber" [exec mods/gexsword.cfg]
 guibutton " ^f[0xFFAA00]Mortar" [exec mods/gexshotgun.cfg]
 guibutton " ^f[0x333333]Machine Gun" [exec mods/gexsmg.cfg]
 guibutton " ^f[0xFFFFAA]Thermite Bombs" [exec mods/gexflamer.cfg]
 guibutton " ^f[0x00FFAA]Forcefield Generator" [exec mods/gexplasma.cfg]
 guibutton " ^f[0xCCCCCC]Laser Gun" [exec mods/gexrifle.cfg]
 guibutton " ^f[0xFF0000]Tactical Bomb" [exec mods/gexgrenade.cfg]
 guibutton " ^f[0x888888]YinYang Rocket" [exec mods/gexrocket.cfg]
]
 guibar
  guilist [
 guibutton "Bonifarz Weapons" [exec mods/boni.cfg]
 guibutton " ^f[0xFF7700]Burnout" [exec mods/burnout.cfg]
 guibutton " ^f[0xFF4422]Flare" [exec mods/flare.cfg]
 guibutton " ^f[0xFFBB00]Sword and Shield" [exec mods/sword_and_shield.cfg]
 guibutton " ^f[0xFF8800]C-14 Impaler" [exec mods/c-14.cfg]
 guibutton " ^f[0xA050FF]Swarm Gun" [exec mods/swarm_gun.cfg]
 guibutton " ^f[0x448800]Sludge Gun" [exec mods/sludge.cfg]
 guibutton " ^f[0x8888FF]Grappling Beam" [exec mods/grappling_beam.cfg]
 guibutton " ^f[0x00FF66]Crossfire" [exec mods/crossfire.cfg]
 guibutton " ^f[0x2200FF]Blue Light ^f[0xFFFFFF](^f[0xFF0000]+^f[0xFFFFFF])" [exec mods/blue_light.cfg]
 guibutton " ^f[0xFFFFFF]Wicked Thermonuclear Flamer" [exec mods/wtf.cfg]
]
 guibar
  guilist [
 guibutton "DrachenComputer's Galactic Weapon Mod" [exec mods/dcp1.cfg; exec mods/dcp2.cfg]
 guibutton " ^f[0x00548F]Power Melee" [exec dcm.cfg]
 guibutton " ^f[0x00FF00]P38 Pistol" [exec mods/dcpi.cfg]
 guibutton " ^f[0x660000]Light Saber" [exec mods/dcsw.cfg]
 guibutton " ^f[0x999999]LR12-Shotgun" [exec mods/dcsg.cfg]
 guibutton " ^f[0x000CCC]ZX-158" [exec mods/dcsmg.cfg]
 guibutton " ^f[0x660000]BIO X2000" [exec mods/dcfl.cfg]
 guibutton " ^f[0x11CCCC]G79-C12 Plasma" [exec mods/dcpl.cfg]
 guibutton " ^f[0xFF3300]DC-7000" [exec mods/dcrf.cfg]
 guibutton " ^f[0x3000B5]Tech-IX Grenade" [exec mods/dcg.cfg]
 guibutton " ^f[0x003245]Termin-Launcher" [exec mods/dcr.cfg]
]
 guibar
  guilist [
 guibutton " ^f[0xFF0000]reset ^f(textures/modeduel)" [resetvars.weapons]
 guibutton " ^f[0xEEEEEE]Melee ^f(textures/melee)" [resetvars.melee]
 guibutton " ^f[0x888888]Pistol ^f(textures/pistol)" [resetvars.pistol]
 guibutton " ^f[0x4444FF]Sword ^f(textures/sword)" [resetvars.sword]
 guibutton " ^f[0x999900]Shotgun ^f(textures/shotgun)" [resetvars.shotgun]
 guibutton " ^f[0xFF6600]Smg ^f(textures/smg)" [resetvars.smg]
 guibutton " ^f[0xFF2222]Flamer ^f(textures/flamer)" [resetvars.flamer]
 guibutton " ^f[0x44DDCC]Plasma ^f(textures/plasma)" [resetvars.plasma]
 guibutton " ^f[0x8822DD]Rifle ^f(textures/rifle)" [resetvars.rifle]
 guibutton " ^f[0x119911]Grenade ^f(textures/grenade)" [resetvars.grenade]
 guibutton " ^f[0xAA3300]Rocket ^f(textures/rocket)" [resetvars.rocket]
]
]
 guitab "Weapons"
 guititle "Weapons"
 guibar
 guilist [
 guititle "Guns"
   guilist [
 guibutton " ^f[0xCCFFCC]Lucifer Cannon" [exec mods/luciV1.cfg]
 guibutton " ^f[0xffffCC]Magnesium Blaster" [exec mods/luci(M).cfg]
 guibutton " ^f[0xA000D0]Shadow Fire" [exec mods/shadowfire.cfg]
 guibutton " ^f[0x660000]BIO X2000" [exec mods/BIO_X2000.cfg]
 guibutton " ^f[0x11CCCC]G79-C12 Plasma" [exec mods/dcpl.cfg]
 guibutton " ^f[0xFF3300]DC-7000" [exec mods/dcrf.cfg]
 guibutton " ^f[0x000CCC]ZX-158" [exec mods/dcsmg.cfg]
 guibutton " ^f[0x044DDC]Coil Gun" [exec mods/coilgun.cfg]
]
 guibar
 guititle "Grenades ^f(textures/grenade)"
 guilist [
   guilist [
 guibutton " ^f[0xCCCC00]Duality Bomb" [exec mods/dualitybomb.cfg]
]
 guibutton " ^f[0x3000B5]Tech-IX Grenade" [exec mods/dcg.cfg]
 guibutton " ^f[0xFF0000]Tactical Bomb" [exec mods/gexgrenade.cfg]
 guibutton " ^f[0x2200FF]Blue Light ^f[0xFFFFFF](^f[0xFF0000]+^f[0xFFFFFF])" [exec mods/BL.cfg]
]
 guibar
 guititle "Rockets"
 guilist [
 guibutton " ^f[0xAAAAAA]Omega Cannon" [exec mods/omgcannon.cfg]
 guibutton " ^f[0x003245]Termin-Launcher" [exec mods/dcr.cfg]
 guibutton " ^f[0x888888]YinYang Rocket" [exec mods/gexrocket.cfg]
 guibutton " ^f[0xFFFFFF]Wicked Thermonuclear Flamer" [exec mods/wtf.cfg]
 guibar
 guitab "Tools"
 guititle "Tools"
 guilist [
 guibutton " ^f[0x8888FF]Grappling Beam" [exec mods/grappling_beam.cfg]
]
 guibutton " ^f[0x0066FF]BluEnergy" [exec mods/BluEnergy.cfg]
guibar
 guibutton "reset" [resetvars.weapons]
]
]
]
]


All in all nice mod. :D
DrachenComputer is >DOOM< clan Officer. Visit >DOOM< clan here: http://www.redoomclan.tk
Visit DrachenComputer on facebook.
Image
User avatar
DrachenComputer
 
Posts: 98
Joined: 21 May 2012, 17:59
Location: Germany

Re: Xaran's Mod Menu

Postby Xaran » 28 Nov 2012, 00:41

Thanx, I really appreciate your interest in my work :) . But I asked about the DSSL mod server because I noticed that your pistol,shotgun,flamer,plasma, rifle,and grenade mods are altered versions of the mods from the DSSL server. I'm not trying to discredit you or anything, I'm just trying to acquire those mods that's all. Also, could you edit that "code" portion of your post down to just the changes that you made to it plz.
User avatar
Xaran
 
Posts: 23
Joined: 06 Oct 2012, 23:50

Re: Xaran's Mod Menu

Postby bonifarz » 28 Nov 2012, 12:10

Thanks for sharing, Xaran.

This reminds me of ZeroKnight'S Simple WeapMod GUI, which I have not really tested before the link broke.
Your menu is quite convenient for combining different mods per weapon without creating nonsensical hybrids, so it is quite a nice feature for playing around and picking your favorites. Here are few comments:
* Your zips contains two .DS_Store files you may want to remove
* There are three empty files boni.cfg, bonip1.cfg and bonip2.cfg in mods/
* Cannot load boni.cfg (should be bonifarz.cfg?) and gexmod1/2.cfg (should be gexmod.cfg?)
* swordpartcol3 typo in adv5.cfg
* The project name for my weapon variables is FUN, actually.
* I suggest to let the user pick the key binding (h) in config.cfg instead of setting it in mod_menu.cfg
* What's the plus sign after blue light, does it indicate healing?
User avatar
bonifarz
 
Posts: 379
Joined: 09 Apr 2012, 12:16
Location: switzerland

Re: Xaran's Mod Menu

Postby DrachenComputer » 28 Nov 2012, 14:49

These are my variable own. I have constructed it completely alone without DSSL. He has with it nothing Close. OK they are similar a little bit can be the DSSL some shares from me for his mod this has used is not impossible, because no mod was there too only. Please, this change takes to knowledge. Thanks
DrachenComputer is >DOOM< clan Officer. Visit >DOOM< clan here: http://www.redoomclan.tk
Visit DrachenComputer on facebook.
Image
User avatar
DrachenComputer
 
Posts: 98
Joined: 21 May 2012, 17:59
Location: Germany

Re: Xaran's Mod Menu

Postby bonifarz » 30 Nov 2012, 09:54

Xaran, here are some suggestions for variables to be set in the first tab of your weapon mods gui:

spawnweapon
instaweapon
trialweapon
trialmode
aiforcegun
grenadeallowed
rocketallowed
weaponjamming
weaponjamtime
weapselctdelay
weaponswitchdelay
*reloads

Another point for the second tab: It would help if there either was a column with your current weapon names (and colors) or some checkboxes to indicate active weapons.
User avatar
bonifarz
 
Posts: 379
Joined: 09 Apr 2012, 12:16
Location: switzerland

Re: Xaran's Mod Menu

Postby Xaran » 01 Dec 2012, 05:20

bonifarz {l Wrote}:Thanks for sharing, Xaran.

This reminds me of ZeroKnight'S Simple WeapMod GUI, which I have not really tested before the link broke.
Your menu is quite convenient for combining different mods per weapon without creating nonsensical hybrids, so it is quite a nice feature for playing around and picking your favorites. Here are few comments:
* Your zips contains two .DS_Store files you may want to remove
* There are three empty files boni.cfg, bonip1.cfg and bonip2.cfg in mods/
* Cannot load boni.cfg (should be bonifarz.cfg?) and gexmod1/2.cfg (should be gexmod.cfg?)
* swordpartcol3 typo in adv5.cfg
* The project name for my weapon variables is FUN, actually.
* I suggest to let the user pick the key binding (h) in config.cfg instead of setting it in mod_menu.cfg
* What's the plus sign after blue light, does it indicate healing?

response:
*.DS_Store files? I don't see anything like that in the folder I compressed.
*The three empty files have yet to be utilized, and until (if) they are, I will remove them from the download folder.
*bonifarz.cfg is the file used to execute the whole package, and gexmod.cfg and gexmod1/2.cfg are the originals and used to execute the whole package.
*The "swordpartcol3" typo wasn't written by me and I don't know if Archmint intended to type that , so for now it stays.
*project name "FUN" noted (do you maybe have a slightly longer name for your project in mind?)
*I'll change the config so the user can choose their own keybind for it. I'm hoping to use a guifield for that, but for now ill just change the script a bit and the install instructions
*Yes the plus sign indicates healing

bonifarz {l Wrote}:Xaran, here are some suggestions for variables to be set in the first tab of your weapon mods gui:

spawnweapon
instaweapon
trialweapon
trialmode
aiforcegun
grenadeallowed
rocketallowed
weaponjamming
weaponjamtime
weapselctdelay
weaponswitchdelay
*reloads

Another point for the second tab: It would help if there either was a column with your current weapon names (and colors) or some checkboxes to indicate active weapons.

Weapon jamming? I didn't know there was such a variable. And I may not be able to do the extra column, but I may be able to bind the icons in the first column to change to the color of the active mod.

PS I tried using checkboxes for the selfdamage, but then they didn't work, so I'll just run with guibuttons for things like that till I find out why they won't work right.

And Drachen Computer again please edit that code portion of your reply down to just the part(s) you changed.
User avatar
Xaran
 
Posts: 23
Joined: 06 Oct 2012, 23:50

Re: Xaran's Mod Menu

Postby bonifarz » 01 Dec 2012, 09:31

Concerning the loading errors and the typo, I just wanted to point at error messages, i.e. bugs.
About the hidden mac files, it is no big deal to remove them, but they don't hurt anyone anyways.
For the indication of active weapons, that should not be a big deal using the array of weapon names and the colour variables. Maybe you want to do everything on your own, but I can help you with that if you like.
A keybind field may be nice, but not important. Main thing is not to overwrite existing bindings.
And no, I don't have plans for changing the name FUN. Maybe too generic, yet much better than Bonifarz/ Bonifarz's weapons. If a longer name shall be made, its gotta be a backronym ;)

Happy gui modding

EDIT:
Xaran {l Wrote}:And Drachen Computer again please edit that code portion of your reply down to just the part(s) you changed.

In case you have trouble with diff, here's all he changed:
{l Code}: {l Select All Code}
88: guibutton "DrachenComputer's Galactic Weapon Mod" [exec mods/dcp1.cfg; exec mods/dcp2.cfg]
89: guibutton " ^f[0x00548F]Power Melee" [exec dcm.cfg]
User avatar
bonifarz
 
Posts: 379
Joined: 09 Apr 2012, 12:16
Location: switzerland

Re: Xaran's Mod Menu

Postby ballist1c » 02 Dec 2012, 02:51

yea ".DS_Store" textfiles are automatically created by OSX to store folder settings; does not hurt to include them
Image Joseph "ballist1c" Calabria

Bloodlust // Abuse // Insidious // Longest Yard 2000
User avatar
ballist1c
 
Posts: 449
Joined: 24 Jul 2012, 02:32
Location: Connecticut (USA) [East Coast]

Re: Xaran's Mod Menu

Postby Xaran » 05 Dec 2012, 00:52

Some changes expected to be released by the end of this week:

* reconfigure script so user can choose their own keybind
* an expansion to the settings tab
* a slight improvement to the main tab
User avatar
Xaran
 
Posts: 23
Joined: 06 Oct 2012, 23:50

Re: Xaran's Mod Menu

Postby Xaran » 14 Dec 2012, 05:19

After two weeks I've made some changes to the menu.

The "Settings" tab was extended and renamed

screenshot.0071.png


I've added buttons for serverside execution of each weapon pack to avoid packet overflow on a server (packet overflow disconnects everyone from the server) I have yet to figure out getting a server friendly packet reset button to work without overflowing the server, so for now reset each packet one weapon reset button at a time.

screenshot.0073.png


And you can now choose your own keybind


So to use this version of the mod

installation:
unzip the folder
place the contents in your redeclipse folder
and copy/type these into your autoexec.cfg
{l Code}: {l Select All Code}
exec mod_menu.cfg
exec weaponresets.cfg


choose the key you wish to bind to bring up this menu
use the "server" buttons in the second tab to execute the packet without overloading the server





Credits:

Menu by Xaran

Advanced Weaponry 5 created by Archmint (again props for starting the mod explosion )

Genesis X Weaponry created by DOOM clan

Bonifarz Fun Mod created by Bonifarz

Galactic Weapons by Drachen Computer

BluEnergy created by Temka
Attachments
R1.2.zip
(48.16 KiB) Downloaded 313 times
Last edited by Xaran on 14 Dec 2012, 13:59, edited 1 time in total.
User avatar
Xaran
 
Posts: 23
Joined: 06 Oct 2012, 23:50

Re: Xaran's Mod Menu

Postby bonifarz » 14 Dec 2012, 08:49

Bonifarz Weapons created by Bonifarz

*sigh*

Otherwise, I really like the idea of this and I am still open to help you polish up the menus if you are interested in that.
User avatar
bonifarz
 
Posts: 379
Joined: 09 Apr 2012, 12:16
Location: switzerland

Re: Xaran's Mod Menu

Postby Xaran » 14 Dec 2012, 16:46

bonifarz {l Wrote}:
Bonifarz Weapons created by Bonifarz

*sigh*


Fixed that. Download it again.
User avatar
Xaran
 
Posts: 23
Joined: 06 Oct 2012, 23:50

Re: Xaran's Mod Menu

Postby archmint » 26 Dec 2012, 20:27

Might want to update the menu with the new version of GEX :P
archmint
 
Posts: 27
Joined: 05 Jul 2012, 03:21

Re: Xaran's Mod Menu

Postby archmint » 26 Dec 2012, 20:58

btw, there is a bug in your mod,

exec luci(M) in the file and luci(m) as the file
Works fine on case insensitive filesystems(windows), but will break on unix systems, (linux, mac)
archmint
 
Posts: 27
Joined: 05 Jul 2012, 03:21

Re: Xaran's Mod Menu

Postby Xaran » 26 Dec 2012, 21:27

WELL, if it isn't the guy who set off the bomb :cool: you started something that influenced the whole RE community, congratz man. I've been waiting on a reply from you for a while now. About your mod, what happened the the pkofdeath.cfg? Also I saw your "Advanced Weaponry V6 server up a while ago, but I haven't seen it added to your post. You moved on to help with GEX I suppose. And thanks for letting me know about the GEX update.
User avatar
Xaran
 
Posts: 23
Joined: 06 Oct 2012, 23:50

Re: Xaran's Mod Menu

Postby archmint » 26 Dec 2012, 22:57

Xaran {l Wrote}:WELL, if it isn't the guy who set off the bomb :cool: you started something that influenced the whole RE community, congratz man. I've been waiting on a reply from you for a while now. About your mod, what happened the the pkofdeath.cfg? Also I saw your "Advanced Weaponry V6 server up a while ago, but I haven't seen it added to your post. You moved on to help with GEX I suppose. And thanks for letting me know about the GEX update.

Advanced weaponry was basically abandoned in favour of GEX. It had a few nice weapons but was horribly imbalanced. (and I don't help with GEX, I'm the sole author :o )

I might try to revive it someday but for now it's dead. And I just forgot to upload the pkofdeath file.

I'm probably going to make a few more new mods while I'm at it.
archmint
 
Posts: 27
Joined: 05 Jul 2012, 03:21

Who is online

Users browsing this forum: No registered users and 1 guest