Re: Changing weapon models
Posted by half-dude on
Sat Jan 29th 2005 at 5:17am
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
Hey all,
I'm not to far into Xenophobia that I've decided to make the mod center around Adrien Sheperd (I know I spelled it wrong) instead of Gordon but to do that I have to change the gun arm to the one from OP4. I got the model extracted and in my mod folder with the same name as the weapon in HL1. I also have it so that after it compiles it starts the map in my mod -game xeno I beleve It is. But it still dosent work what should I do to get the effect I want?
Re: Changing weapon models
Posted by Foxpup on
Sat Jan 29th 2005 at 5:34am
Foxpup
member
380 posts
38 snarkmarks
Registered:
Nov 26th 2004
Occupation: Student
Location: the Land of Oz
Put it in Half-Life/xeno/models folder and it should work.
Re: Changing weapon models
Posted by wil5on on
Sat Jan 29th 2005 at 5:37am
wil5on
member
1733 posts
570 snarkmarks
Registered:
Dec 12th 2003
Occupation: Mapper
Location: Adelaide
If its still using the default HL gun models, either you didnt extract them right or youre not running your mod.
How are you running the game? What command line? Exactly what folder did you extract your models to? Does your mod have a liblist.gam, and is that setup correctly?
Re: Changing weapon models
Posted by half-dude on
Sat Jan 29th 2005 at 7:35am
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
Im running Worldcraft compile with +map $file -console -dev -game spirit -game xeno
so I'm trying to play it right through the editer.
Im using Spirit of Half-life if that makes a differents. Im not using a pak file but that will probibly change. Plus I have the model in xeno/models/z_9mmhandgun.mdl.
Re: Changing weapon models
Posted by wil5on on
Sat Jan 29th 2005 at 8:46am
wil5on
member
1733 posts
570 snarkmarks
Registered:
Dec 12th 2003
Occupation: Mapper
Location: Adelaide
Did you even read that command line? Youre trying to run 2 mods simultaneously, which cant be done. HL is only picking up the first game you specified, Spirit. Get rid of the -game spirit and it will work. Of course youll probably then need to copy the spirit DLL files over to your mod, if you havent done so already.
Re: Changing weapon models
Posted by half-dude on
Sat Jan 29th 2005 at 5:43pm
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
Oh yea, (hit's himself on head) I totaly forgot the spirit was a runing mod LOL
Re: Changing weapon models
Posted by Crono on
Sat Jan 29th 2005 at 8:54pm
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
You do realize that you aren't copying the file over, right? At least it isn't in your compile log. Add a copy command in your compile log right before it launches the map.
Re: Changing weapon models
Posted by half-dude on
Sat Jan 29th 2005 at 11:14pm
Posted
2005-01-29 11:14pm
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
what are you talking about?
Re: Changing weapon models
Posted by fraggard on
Sun Jan 30th 2005 at 2:37am
1110 posts
220 snarkmarks
Registered:
Jul 8th 2002
Occupation: Student
Location: Bangalore, India
If you are launching your game with
hl.exe -game spirit +map lab1
then your BSP should be in your spirit/maps folder. If you want to make
your own game based off SoHL, I suggest copying the folder
half-life/spirit and creating an identical half-life/xeno. Then start
your game with
hl.exe -game xeno +map lab1
with your BSP in the xeno/maps folder.
Re: Changing weapon models
Posted by half-dude on
Sun Jan 30th 2005 at 2:44am
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
well what is the command -copy? and were do I add this?
Re: Changing weapon models
Posted by half-dude on
Sun Jan 30th 2005 at 2:45am
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
Well I figure that I might as well make it in HL so then people that dont own OP4 can still play, plus I lazy.
Re: Changing weapon models
Posted by half-dude on
Sun Jan 30th 2005 at 2:48am
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
LET ME GUESS, YOU HAVE TO HAVE A PAK FILE TO CHANGE GUN MODELS RIGHT?
Re: Changing weapon models
Posted by fraggard on
Mon Jan 31st 2005 at 3:20pm
1110 posts
220 snarkmarks
Registered:
Jul 8th 2002
Occupation: Student
Location: Bangalore, India
I think you need to understand what a batch file is. Try Google.
Re: Changing weapon models
Posted by Foxpup on
Mon Feb 14th 2005 at 2:08am
Foxpup
member
380 posts
38 snarkmarks
Registered:
Nov 26th 2004
Occupation: Student
Location: the Land of Oz
Those gun models mustn't be used by xeno, I guess. Change the filenames to the same as the ones in xeno and it should work.
Re: Changing weapon models
Posted by fishy on
Mon Feb 14th 2005 at 5:06pm
fishy
member
2623 posts
1476 snarkmarks
Registered:
Sep 7th 2003
Location: glasgow
The arm that you want to see is attached to each of the weapons v_models. The muzzleflash sprite and any ejected shell casings are all written into the model too. I don't imagine that HL weapons and Op4 weapons behave exactly the same, and possibly don't even have the same animation names, so even if you do get to see the arm, I think there may be other issues.
I could be completely wrong though, as I'm not familiar with Op4 and it's weapons. For all I know they are identical to HL's. :/
Re: Changing weapon models
Posted by half-dude on
Mon Mar 7th 2005 at 3:03am
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
please if anyone can hear me PLEASE HELP ME!
I must know how to make a copy command in the batch file PLEASE!
Re: Changing weapon models
Posted by fraggard on
Mon Mar 7th 2005 at 11:41am
Posted
2005-03-07 11:41am
1110 posts
220 snarkmarks
Registered:
Jul 8th 2002
Occupation: Student
Location: Bangalore, India
WTF? One month? Did you even try searching past that initial link you found?
A batch file is just a sequence of DOS commands. The DOS copy command has the syntax:
copy source-file destination-file
So just add that kind of command somewhere in the batch file, wherever you need it.
PS: You can identify batch files by the extension .bat.
Re: Changing weapon models
Posted by half-dude on
Tue Mar 8th 2005 at 12:58am
Posted
2005-03-08 12:58am
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
For your information I stopped mapping in that time becouse of this problem.
P.S ARE YOU DEAF!? I do-not-know what in the h**l a batch file is! I wouldent even know if I was looking right at something that was telling me. Plus I still have no idea what DOS has to do with the compile process!
Re: Changing weapon models
Posted by half-dude on
Tue Mar 8th 2005 at 4:55am
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
Ok, Im sorry. It just gets so annoying having to tell people the samething over and over again, Plus everyone is acting like I should already know this. That brings me back to the question, how whould you expect people to learn this stuff?
I've read that tut 3 times and I always get lost I don't know what these "arguments" are. Could someone pull out the parts were it's answering my question? And fast, it drives me nuts not having things working. Thats why I always worry about doing something wromg becouse I can think I've got working right but instead I have something wrong Arg!
Sorry again but now you know. :sad:
Re: Changing weapon models
Posted by Crono on
Tue Mar 8th 2005 at 5:53am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Your second sentence is oh so ironic.
Anyway ... I think you're still stuck on the solution I gave you over a month ago ...
Frag apparently jumped to the conclusion you were using batch files to compile instead of hammer (which is okay ... you should be using batch files)
But anyway ... if the problem is: you're trying to get that model working in your mod ...
You simply put it in ".../modname/models/" so it will be used instead of the default model.
If your map isn't launching (because in the last compile log you put up you weren't copying the final bsp into your map directory) ensure that "mapname.bsp" is in ".../modname/maps/" Other then that, I have no idea what it is you're having problems with.
Not to mention, you have gotten very good advice in this thread ... you're just not listening or understanding what everyone is trying to tell you.
And to be honest, if this type of thing is oblivious to you, you shouldn't be making a mod of any kind until you get an understanding of the file structure (at the very least).
Re: Changing weapon models
Posted by Loco on
Wed Mar 9th 2005 at 8:34am
Loco
member
615 posts
121 snarkmarks
Registered:
Aug 29th 2003
Occupation: Student
Location: UK
If you want to do it that way, you need to add a copy command at the
END of the compile. That copy command just moves the map from the
directory you were working in to where it is being compiled.
Here is a step by step guide to getting it right using expert compile
mode from Hammer (apologies to those who use batch compilers):
1)Load the map up in Hammer and hit compile in the file menu
2) Make sure you are in "expert" mode. You should have a list of
commands in a white box on the left hand side of the dialog box.
3) In this box should be two commands towards the bottom:
Copy File $path$file.bsp $bspdir$file.bsp
Copy File $path$file.pts $bspdir$file.pts
These commands copy the bsp and point file across to the game directory. You now have two options:
a) Open the options and change the bsp directory to
the one where your maps should go (e.g. C:SIERRAHalf-Lifexenomaps)
b) Modify the "Copy File" commands (probably a really bad idea)
c) If the commands aren't there, add them!
4) To add the commands, simply hit the "New" button, and bung in the following parameters:
Command: Copy File
Parameters: $path$file.bsp $bspdir$file.bsp
Repeat this for the points file. Make sure both commands are ABOVE the
$game_exe +map $file -dev -console command, but below all the others.
I suspect (as I said earlier) that you just need to change the bsp directory setting, but this should help you anyway.
Oh, and if my last suggestion didn't help, mark it as incorrect! I won't kill you for it!
[EDIT] It's almost definitely a problem with the bsp directory setting.
Look at the compile log: it's all writing to the spirit directory!
Check your settings.
Re: Changing weapon models
Posted by Myrk- on
Wed Mar 9th 2005 at 11:43pm
Posted
2005-03-09 11:43pm
Myrk-
member
2299 posts
604 snarkmarks
Registered:
Feb 12th 2002
Occupation: CAD & Graphics Technician
Location: Plymouth, UK
Ok I haven't been reading really. Whats the problem? Models or the map?
Re: Changing weapon models
Posted by half-dude on
Thu Mar 10th 2005 at 1:00am
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
lol, Im trying to get my compiler to copy my bsp's over to my mod folder so I dont have to do it manually
Re: Changing weapon models
Posted by Crono on
Thu Mar 10th 2005 at 5:52am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Put this command:
Copy File $path\$file.bsp $bspdir\$file.bsp
Right before the Game execution command.
In other words ... do what loco said
Also, it'd be a good idea to run vis.
If none of this makes sense: look around in the tutorials section all this information is there. In fact, all this information is in hammer help files ... and then there's the verc collective.
Re: Changing weapon models
Posted by Loco on
Thu Mar 10th 2005 at 8:11am
Loco
member
615 posts
121 snarkmarks
Registered:
Aug 29th 2003
Occupation: Student
Location: UK
The directory I was refering to was the bottom one under the "build
programs" tab, but it looks like it's set correctly from the pic.
However, it loooks like you're using the standard HL fgd file, rather
than the Spirit one. Do you have any other game configurations that you
use - i.e. when you open a map or start a new one, do you have to
choose a game to build the map for? If so, check the "Place compiled
maps in this directory" for those ones as well.
If not, just do as I said for the expert compile mode!
[EDIT] You changed the map directory? You mean RMFs or compiled BSPs?
If it's the latter the problem should be fixed! If the former, leave it
like that anyway - it's the default and it's where I keep my maps, and
I've never had problems with finding/copying files.
Re: Changing weapon models
Posted by half-dude on
Fri Mar 11th 2005 at 8:31pm
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
Ok, my problem is solved. Like Loco said, my Spirit config had its "place compiled maps here" setting to the spirit folder. I just never noticed it becouse it only displays on config at a time so I for got it was there. LOL
Re: Changing weapon models
Posted by half-dude on
Sun Mar 13th 2005 at 1:45am
580 posts
76 snarkmarks
Registered:
Aug 30th 2003
Occupation: male
Location: WH
Im sorry, but I didnt get it fixed till your post right above mine. Sorry again