Multiple Weapons
#1
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.
Thanks given by:
#2
Not currently. However, the script may be helpful to other people.
Thanks given by:
#3
Yes, it would be great if you could upload it :)
Thanks given by:
#4
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

chmod +x filename

to make it executable, then

sudo mv filename /bin/

Now whenever you would like to change weapons, just type in "filename" and it's done. Pretty simple
Thanks given by:
#5
Thanks a lot man :D
Can I upload this script for you on www.akimbo.in ?
So more people can use and downnload it :)
Thanks given by:
#6
Sure, go ahead, and don't worry about crediting me with it, lol. And no problem :)
Thanks given by:
#7
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)
Thanks given by:
#8
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
Thanks given by:
#9
Uhm, you wrote that OS? :O
Thanks in advance for the PM :)
Thanks given by:
#10
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
Thanks given by:
#11
Kudos, man :O
And thanks so much :D Will be one of the usefullest (Is that right?) script :)
Thanks given by:
#12
No problem, and "most useful" lol
Thanks given by:
#13
Hm, thx.
Sorry, english isn't my native language. ( But I'm sure, you found out this earlier :D)
Thanks given by:
#14
Yeah, lol. And the file is in your inbox
Thanks given by:
#15
Thx.
I'm gonna upload it soon.
Thanks given by:
#16
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?
Thanks given by:
#17
I personally have not experimented with it, but I will take a look.
Thanks given by:
#18
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)
Thanks given by:
#19
:D that's the subgun I use.
Thanks given by:
#20
(16 Aug 11, 05:15AM)V-Man Wrote: :D that's the subgun I use.
Me dos
Thanks given by:
#21
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!
Thanks given by:
#22
AC for LynDE (His OS)
Thanks given by: