UGX-Mods

Call of Duty 5: World at War => Help Desk => Modding => Topic started by: pvtseacow on August 28, 2014, 10:46:20 pm

Title: Want to make a copy of a weapon
Post by: pvtseacow on August 28, 2014, 10:46:20 pm
I want to make a copy of the ray gun and make it a separate weapon, how can I do that? I tried but I get errors stating that there is no model of "sea_ray_gun", which is the devname of my gun. But when I went to edit the model in the weapon file it says the model for the normal ray gun. Im so confused. I'll see about getting a logfile.

EDIT: Now its saying
Code Snippet
Plaintext
unknown item 'sea_ray_gun': (file 'maps/_zombiemode_weapons.gsc', line 40)
 PrecacheItem( weapon_name );
               *
Error: called from:
(file 'maps/_zombiemode_weapons.gsc', line 306)
 add_zombie_weapon( "sea_ray_gun",         &"Hold &&1 to buy Sea Cow's Ray Gun [Cost: 15000]",     15000, "vox_raygun", 6 );
 *
Error: called from:
(file 'maps/_zombiemode_weapons.gsc', line 7)
 init_weapons();
 *
Error: called from:
(file 'maps/_zombiemode.gsc', line 59)
  maps\_zombiemode_weapons::init();
  *
Error: called from:
(file 'maps/zombie_backyard.gsc', line 130)
 maps\_zombiemode::main();
 *
Error: started from:
(file 'maps/zombie_backyard.gsc', line 9)
main()
*

Im not sure if Im doing things right

EDIT 2:
I did the give all command and the upgraded version is there but not the non-upgraded
Title: Re: Want to make a copy of a weapon
Post by: Dust on August 28, 2014, 11:08:27 pm
Did you add the weapon,sp/sea_ray_gun to the mod.csv in launcher and check the weapon file name in the list
Title: Re: Want to make a copy of a weapon
Post by: pvtseacow on August 28, 2014, 11:13:10 pm
Did you add the weapon,sp/sea_ray_gun to the mod.csv in launcher and check the weapon file name in the list
Yes I did
Title: Re: Want to make a copy of a weapon
Post by: Dust on August 28, 2014, 11:37:14 pm
since the non upgraded is not there but the upgraded one is just copy the upgraded one and of course leave out the _upgraded part and then try it
Title: Re: Want to make a copy of a weapon
Post by: pvtseacow on August 28, 2014, 11:48:39 pm
Still doesn't work  :fuuu:
Title: Re: Want to make a copy of a weapon
Post by: Dust on August 28, 2014, 11:55:18 pm
Hmm makes no sense how one of them works but the other one doesnt even when they are set up the same