Posts: 10
Threads: 2
Joined: Aug 2011
08 Aug 11, 09:52PM
(This post was last modified: 08 Aug 11, 10:01PM by TheWeirdness666.)
I am pretty new to modding AssaultCube, and I have downloaded and successfully used many weapon mods, including skins, sounds, etc. Right now, (running my own distribution of Linux) I have scripts that automate the process of changing the weapon directories (i.e. a script to remove the current "assault" directory to a different one, and another script to cop the "AK47" directory to "assault", allowing me to change from M4 to AK, and so on). I was wondering instead of having to do this, is it possible to add the weapons to the ingame change primary weapons list? Like, have a selection for the assaultM4, and the assaultAK?
Edit: I also know about editing the name of the weapon in the menu, file "config/menu_settings.cfg". But simply adding it to the menu doesn't work.
Posts: 3,462
Threads: 72
Joined: Jun 2010
Not currently. However, the script may be helpful to other people.
Posts: 316
Threads: 19
Joined: Jan 2011
Yes, it would be great if you could upload it :)
Posts: 10
Threads: 2
Joined: Aug 2011
It's just a simple script
#! /bin/bash
rm -rf ~/.1.1.0.4/packages/models/weapons/assault
cp -r ~/.1.1.0.4/packages/models/weapons/AK47 ~/.1.1.0.4/packages/models/weapons/assault
echo "AK47 is now current Assault Rifle"
Open your default text editor (nano, vim, leafpad, gedit) and copy and paste it (replacing ".1.1.0.4" with the games directory) and then
to make it executable, then
Now whenever you would like to change weapons, just type in "filename" and it's done. Pretty simple
Posts: 316
Threads: 19
Joined: Jan 2011
Thanks a lot man :D
Can I upload this script for you on www.akimbo.in ?
So more people can use and downnload it :)
Posts: 10
Threads: 2
Joined: Aug 2011
Sure, go ahead, and don't worry about crediting me with it, lol. And no problem :)
Posts: 316
Threads: 19
Joined: Jan 2011
Wow, quick anwser :)
No worries, I'll credit you. But I've to write a Readme.txt for the installing instractions.
Should I do that, or do you want to do that? (Maybe it's better when you write it, then there are no mistakes in it)
Posts: 10
Threads: 2
Joined: Aug 2011
Lol, yeah, I will write one up. I'll PM it to you, working on installing my operating system for some people. Here's a screenshot of it, I am currently running my 2nd version of it http://i51.tinypic.com/miezhf.png
I had been working on it for some time now, made the base with LFS ( http://linuxfromscratch.org/) and then installed the desktop environment LXDE ontop of it, turned it into a LiveCD, and made an installer for it, now working on 3rd version
Posts: 316
Threads: 19
Joined: Jan 2011
Uhm, you wrote that OS? :O
Thanks in advance for the PM :)
Posts: 10
Threads: 2
Joined: Aug 2011
Yeah, I followed the LFS to build the system (end result is a terminal-only operating system), downloaded the LXDE binaries ( http://lxde.org) and installed it. Installed alot more graphical programs like a calculator, font manager, web browser and such, and then used a few programs to package it into a livecd. And I'm only 17, going to the worst school in Atlanta, Georgia.... lmao
But back on topic, I'll send you script and readme file in a .zip folder
Posts: 316
Threads: 19
Joined: Jan 2011
Kudos, man :O
And thanks so much :D Will be one of the usefullest (Is that right?) script :)
Posts: 10
Threads: 2
Joined: Aug 2011
No problem, and "most useful" lol
Posts: 316
Threads: 19
Joined: Jan 2011
Hm, thx.
Sorry, english isn't my native language. ( But I'm sure, you found out this earlier :D)
Posts: 10
Threads: 2
Joined: Aug 2011
Yeah, lol. And the file is in your inbox
Posts: 316
Threads: 19
Joined: Jan 2011
08 Aug 11, 11:11PM
(This post was last modified: 08 Aug 11, 11:12PM by Dementium4ever.)
Thx.
I'm gonna upload it soon.
Posts: 142
Threads: 2
Joined: Oct 2010
09 Aug 11, 02:19AM
(This post was last modified: 09 Aug 11, 02:25AM by wolfbr.)
thanks for the script, its good for my skin pack : ), in every map, i can change the weapons skins : )
after I test it.
one question, i need diferent skins for each team(like, m4 for ct and ak47 for terror, or only the arms skins in fist person), like cube2, You can do this?
Posts: 10
Threads: 2
Joined: Aug 2011
I personally have not experimented with it, but I will take a look.
Posts: 142
Threads: 2
Joined: Oct 2010
thanks, but, I think that some weapons are perfect for terrorists, like it
subgun
http://www.akimbo.in/forum/viewtopic.php?f=13&t=178
sniper
http://www.akimbo.in/forum/viewtopic.php?f=13&t=902
pistol
http://www.akimbo.in/forum/viewtopic.php?f=13&t=906
these weapons can be official for terrorists : D(low poly models, and others weapons for the others weapons like shotgun/carbine and assault rifle)
Posts: 3,780
Threads: 33
Joined: Jun 2010
:D that's the subgun I use.
Posts: 295
Threads: 9
Joined: Jun 2011
(16 Aug 11, 05:15AM)V-Man Wrote: :D that's the subgun I use. Me dos
Posts: 10
Threads: 2
Joined: Aug 2011
Okay, so I don't run Windows, but I figured out how to use my Linux script on a Windows machine. Instead of running the cmd.exe you can run Cygwin ( http://cygwin.com/). It runs exactly like a Linux (Unix) terminal, and you can run all commands and everything on it. I hope this helps!
Posts: 1,504
Threads: 34
Joined: Jun 2013
|