UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: iPlayZ- on November 22, 2018, 08:10:27 pm

Title: How do I change camo on wunderwaffe and raygun
Post by: iPlayZ- on November 22, 2018, 08:10:27 pm
I tried putting camo on wunderwaffe and raygun, but it wouldn't work. I copied the original view and world models for the wunderwaffe and ray so I can put the custom camos on them. But for some reason when I load up, it doesn't appear even when I put those xmodels on the mod.csv and the weapon files.
Title: Re: How do I change camo on wunderwaffe and raygun
Post by: gympie6 on November 22, 2018, 08:42:09 pm
I tried putting camo on wunderwaffe and raygun, but it wouldn't work. I copied the original view and world models for the wunderwaffe and ray so I can put the custom camos on them. But for some reason when I load up, it doesn't appear even when I put those xmodels on the mod.csv and the weapon files.
Have you put the camo on the worldmodel and viewmodel in the weaponfile(s)?

(https://i.gyazo.com/2c4f8cb397ab307e823c10ebf37b0b15.png)

(https://i.gyazo.com/7173e0d7a0f5d82eb09d25c06c241739.png)
Title: Re: How do I change camo on wunderwaffe and raygun
Post by: iPlayZ- on November 23, 2018, 04:19:04 am
(https://cdn.discordapp.com/attachments/389845112840126475/515385740751011862/unknown.png)(https://cdn.discordapp.com/attachments/389845112840126475/515385881302007809/unknown.png)
(https://cdn.discordapp.com/attachments/389845112840126475/515381584615047184/unknown.png)


Title: Re: How do I change camo on wunderwaffe and raygun
Post by: gympie6 on November 23, 2018, 06:05:42 am
(https://cdn.discordapp.com/attachments/389845112840126475/515385740751011862/unknown.png)(https://cdn.discordapp.com/attachments/389845112840126475/515385881302007809/unknown.png)
(https://cdn.discordapp.com/attachments/389845112840126475/515381584615047184/unknown.png)
And when you start the game what will happen?
Do you see the default camo or do you see nothing? 
Title: Re: How do I change camo on wunderwaffe and raygun
Post by: iPlayZ- on November 23, 2018, 11:45:09 pm
Well for the wunderwaffe, camo works for viewmodel, but not worldmodel. The PAP'd raygun viewmodel is now invisible for some reason.

EDIT: The PAP'd raygun isn't invisible anymore since I compiled my map. But it is now the same as the wunderwaffe. I made copies of the original ray gun and wunderwaffe xmodels and it still doesn't work. I made sure to check the weapon files's viewmodel and worldmodel. I even put the xmodels in the mod.csv and put the weapon files in my weapons/sp folder in my map folder. I also tried compiling my map, but the same issue persists.

(https://cdn.discordapp.com/attachments/389845112840126475/515700853018066957/unknown.png)(https://cdn.discordapp.com/attachments/389845112840126475/515700902473236490/unknown.png)
Title: Re: How do I change camo on wunderwaffe and raygun
Post by: gympie6 on November 24, 2018, 12:49:17 pm
Well for the wunderwaffe, camo works for viewmodel, but not worldmodel. The PAP'd raygun viewmodel is now invisible for some reason.

EDIT: The PAP'd raygun isn't invisible anymore since I compiled my map. But it is now the same as the wunderwaffe. I made copies of the original ray gun and wunderwaffe xmodels and it still doesn't work. I made sure to check the weapon files's viewmodel and worldmodel. I even put the xmodels in the mod.csv and put the weapon files in my weapons/sp folder in my map folder. I also tried compiling my map, but the same issue persists.

(https://cdn.discordapp.com/attachments/389845112840126475/515700853018066957/unknown.png)(https://cdn.discordapp.com/attachments/389845112840126475/515700902473236490/unknown.png)
It's hard to say what's going wrong but maybe it's one of these:
1: If you are using a scriptplacer have you added (if it exists) the raygun to your DLC3_Weapons IWD file?
2: I don't what will happen if you place the weapon from radiant as pickable weapon in the game. I think it will pick the rawfile of the raygun.
3: Have you tried the command 'give all'? If that weapon is your upgraded raygun then I guess it is fine. You can test it with the Third Person command.
Title: Re: How do I change camo on wunderwaffe and raygun
Post by: iPlayZ- on November 25, 2018, 09:33:39 pm
I did the "give all" command and the ray gun camo still doesn't change. Do I need to change the view and world models of the raygun and wunderwaffe on the raw/weapons/sp folder?
Title: Re: How do I change camo on wunderwaffe and raygun
Post by: gympie6 on November 26, 2018, 06:54:18 am
I did the "give all" command and the ray gun camo still doesn't change. Do I need to change the view and world models of the raygun and wunderwaffe on the raw/weapons/sp folder?
You can do it there but everytime you make a new map
The raygun and wunderwaffle with that camo will be loaded.

What you need to do is first find the raygun or wunderwaffle. If they are located in the DLC3 IWD you need to change it there in the weaponfile otherwise yourmod/weapons/sp/

Btw edit your weaponfiles before starting up launcher otherwise your settings will be reverted.
Title: Re: How do I change camo on wunderwaffe and raygun
Post by: iPlayZ- on November 26, 2018, 05:30:04 pm
So when I changed the raw/sp ray gun view and world model, for some reason, the viewmodel is invisible but not the world model after I build and compiled the map
Title: Re: How do I change camo on wunderwaffe and raygun
Post by: gympie6 on November 26, 2018, 09:32:46 pm
So when I changed the raw/sp ray gun view and world model, for some reason, the viewmodel is invisible but not the world model after I build and compiled the map
I also got that before but I solved it somehow.
If I remember it has to do something with adding the weapons in the _zombiemode_weapons maybe you removed it by mistake or someting?
If that's not the problem you can always try to add the model or image to your mod.

simply by doing this:
xmodel,yourModel
material,yourImage 

I don't think I can help you any further if the problem still exist.
Maybe someone else knows how to solve your problem.
Title: Re: How do I change camo on wunderwaffe and raygun
Post by: iPlayZ- on November 27, 2018, 05:39:35 am
Alright, well thanks for your help!
Title: Re: How do I change camo on wunderwaffe and raygun
Post by: iPlayZ- on November 30, 2018, 03:16:30 am
Got it to work now. I replaced the ray gun weapon files in DLC3_Weapons.iwd with my current ones.