Problem with weapon modding.

Started by ZioN, April 09, 2015, 07:32:20 AM

Previous topic - Next topic

ZioN

I am messing about with mod making, as I am a noob in that regard, and for some reason I can't get the game to load the texture I got for the gun I was making. The dropbox is here if anyone can help me out or tell me what I am doing wrong

-> https://www.dropbox.com/sh/p9la54ilabi2isw/AABqYtdMEqrT1V4Lo570Ub5ra?dl=0
"My colonists are always edgy.
Don't ever run a colony like me, I tend to play recklessly."
- CodyRex123

---

"I like how this game can result in quotes that would be quite unnerving when said in public, out of context."
- StorymasterQ

skullywag

your image is named gun_mp5.png.png, remove one of those file extensions, should be fine after that.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

ZioN

Any idea how to get the bullet texture? I couldn't get that to work either.
"My colonists are always edgy.
Don't ever run a colony like me, I tend to play recklessly."
- CodyRex123

---

"I like how this game can result in quotes that would be quite unnerving when said in public, out of context."
- StorymasterQ

ZioN

I tried removing the second .png, but when I went in to the game it still isn't showing the texture.
"My colonists are always edgy.
Don't ever run a colony like me, I tend to play recklessly."
- CodyRex123

---

"I like how this game can result in quotes that would be quite unnerving when said in public, out of context."
- StorymasterQ

mrofa

<graphicPath>/Textures/Things/Items/Gun_Mp5</graphicPath>
its wrong :P

Game witll automaticly search textures in Texture folder and it will also add its own "/"
So this is the proper line
<graphicPath>Things/Items/Gun_Mp5</graphicPath>
All i do is clutter all around.

skullywag

Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

ZioN

Quote from: mrofa on April 09, 2015, 09:24:00 AM
<graphicPath>/Textures/Things/Items/Gun_Mp5</graphicPath>
its wrong :P

Game will automatically search textures in Texture folder and it will also add its own "/"
So this is the proper line
<graphicPath>Things/Items/Gun_Mp5</graphicPath>

Thanks for that, it is working now, and I also fixed the bullet graphic path so it shows that too.
Now I know how to make a basic weapon :)
"My colonists are always edgy.
Don't ever run a colony like me, I tend to play recklessly."
- CodyRex123

---

"I like how this game can result in quotes that would be quite unnerving when said in public, out of context."
- StorymasterQ

ZioN

Can anyone edit the white background out of a weapon .jpg I am going to use? it is here
->https://www.dropbox.com/s/0x9grxxri9oyn1u/Deagle.png?dl=0
(You might need photoshop or something like that)
"My colonists are always edgy.
Don't ever run a colony like me, I tend to play recklessly."
- CodyRex123

---

"I like how this game can result in quotes that would be quite unnerving when said in public, out of context."
- StorymasterQ

mrofa

You can do that in gimp or photoshop in 15 sec ;p
All i do is clutter all around.

ZioN

#9
I don't have either, thanks though!

I'm going to see if I can get gimp.
"My colonists are always edgy.
Don't ever run a colony like me, I tend to play recklessly."
- CodyRex123

---

"I like how this game can result in quotes that would be quite unnerving when said in public, out of context."
- StorymasterQ