Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add Custom Camo's to mod?
#1
Figured I wont bother you in the chatbox anymore and made a topic about it.

After about 3 hours of errors and struggling, I manage to create a custom camo for for the L96a1. I added the files to my /mod/materials, material_properties and images folders.

This brings me to my question... How do I add the camo to my mod?

How do I precache the camo? (I added this: material,l96a1_custom to my mod.csv)

Is there a certain code that I need to add somewhere to make it spawn on the gun in game?

I saw eXI survival mod give custom camo's to VIP's.

Is it somehow possible to create some type of code in _rank like this:

if(self.VIP == 1)
l96a1camo =1

Or something similar to this.


Any scale of help is much appreciated.
[Image: enjin-103434-13169654251028747231-blue.png]
Reply

#2
First of all, just replace a camo that's already there

(12-02-2011, 21:05)frozenliquid Wrote: How do I precache the camo? (I added this: material,l96a1_custom to my mod.csv)
http://zeroy.com/script
check precache category

Quote:Is there a certain code that I need to add somewhere to make it spawn on the gun in game?
http://www.itsmods.com/forum/Thread-Tuto...-more.html
choose the one you replaced

Quote:Is it somehow possible to create some type of code in _rank
http://www.itsmods.com/forum/Thread-Tuto...-more.html
Reply

#3
Where can I find the current camo's? They in some .iwd in the main?

If I replace one with mine, will it permanently replace that camo, or is it possible to just have it in the mod?

EDIT:

Found weaponOptions in raw/mp.
If my camo is named l96a1_custom, is it possible to just add under 15,camo,gold, this:
16,camo,l96a1_custom,,,,,,,,,,,,,,,,,,,,,

?
[Image: enjin-103434-13169654251028747231-blue.png]
Reply

#4
(12-02-2011, 22:14)frozenliquid Wrote: Where can I find the current camo's? They in some .iwd in the main?

If I replace one with mine, will it permanently replace that camo, or is it possible to just have it in the mod?

EDIT:

Found weaponOptions in raw/mp.
If my camo is named l96a1_custom, is it possible to just add under 15,camo,gold, this:
16,camo,l96a1_custom,,,,,,,,,,,,,,,,,,,,,

?

IDK, try it out i guess
Reply

#5
Says something about invalid image when I load the mod.
I'm done with this ;D Thx for the help.
[Image: enjin-103434-13169654251028747231-blue.png]
Reply

#6
Ok I got it working by adding the custom camo as the same name as the gun file in raw/images into my mod's images folder.

The problem is, that now everyone who use the gun, get that camo.

How do I make it so that only certain people have that material in their gun?

Note my first post, as the link that Jariz gave, was of no use in that scenario, as it is not actually a camo.

If I'd replace a camo with it, I'm pretty sure the camo would go for every gun which uses that particular camo, which is a problem when it's a sniper skin. (Like if I replace camo_gold_c.iwi with the sniper camo, every gun that has gold camo, would have the sniper camo on it.)

Here's what my first try on the sh*tty camo looks like:
[Image: enjin-103434-13169654251028747231-blue.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Black Ops 2 Custom background? jotape99 10 11,683 10-29-2013, 07:22
Last Post: xInfinity.
Wink [Release] se7en_ace's I'm On A Bus [Nuketown Texture Mod + Camo] Ace 12 12,830 09-22-2013, 02:58
Last Post: Ace
  Custom xanims DidUknowiPwn 8 6,683 08-28-2013, 08:17
Last Post: RaZ
  Help Make ac130 shoot custom bullets Ra3shed 0 2,573 07-23-2013, 13:02
Last Post: Ra3shed
  [Tutorial] Custom gametype HUD iAegle 17 14,267 07-14-2013, 01:16
Last Post: Nekochan
Video Custom Facepaints? Cuddlyedits 5 4,171 07-01-2013, 14:58
Last Post: iPaddie
  Help dedicated servers and custom dvars mattyman 0 2,354 06-22-2013, 07:33
Last Post: mattyman
Information [Tutorial] Adding DLC Maps as Custom Maps. Nekochan 151 138,989 05-25-2013, 01:05
Last Post: Nero Z zero
  QS Mod by GeKKo v 6.5 with Custom Maps GeKKoFL0X 35 28,853 05-21-2013, 19:30
Last Post: [HARD] Tony.
  [Request] custom gun mod ColorCorrects 2 2,936 05-18-2013, 22:19
Last Post: mitchhacker

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.