Game Development Community

Please help

by Gogu Gigel · in Technical Issues · 07/24/2006 (10:32 pm) · 7 replies

I've made a weapon model but i don't know how to make it the default weapon . pleaseeeeeeee help

#1
07/24/2006 (10:43 pm)
The best to try and figure things like this out is by picking apart the FPS Tutorial. I don't know the exact way to make this happen but crack open that fps tut you get with the engine and look around in there it can be to diffucult. Have you check the TDN? Most people are going to point you to tutorails or ask if you have searched first. Show your work first then ask.
#2
07/24/2006 (10:45 pm)
Show my work ??? it's just a simple M4A1 rifle . i will try to search for tutorials . thanks aniway
#3
07/25/2006 (2:32 am)
@gogu

I dont know which modeling program you are using there are Max, Blender and maya tuts avail but check this out I believ it has what your looking for in it ... been a while since I worked through it.

http://tdn.garagegames.com/wiki/DTS/3dsmax/Creating_a_Simple_Weapon

Good luck, if that doesnt help let me know I will dig deeper for ya.

The Trusted One
#4
07/25/2006 (2:41 am)
It doesn't matter what program i use ( ... i think ....) , anyway it's max in MAX but i need the scripts to replace the crosbow in the FPS START KIT ... :))
#5
07/25/2006 (3:51 am)
@gogu

*Pulls out a shovle* please stand by

the trusted one
#6
07/25/2006 (3:54 am)
Don't understand :D
#7
07/25/2006 (5:37 am)
Go here you can download the rifle cs.
http://www.garagegames.com/mg/forums/result.thread.php?qt=16716
You also can make copy of crossbow and rename it. Search cs for the word crossbow and replace with your weapon. Then replace the dts path with your and make adjustment as you want.

The default weapon is here in these two cs.
game.cs (server\scripts) about lines 304 to 307 Starting equipment
player.cs (server\scripts) about line 663 to 669 Allowable Inventory Items

This should get your weapon into the game.