Problem with ammobox
Problem with ammobox
Hello
We are trying remake the freestyle we use but for some weird reason when we try to compress(UCC-COMP-V2 and U-MAKE) all files the ammobox refuse to use the texture in the pack and get the same with PCX and BMP ?
We are trying remake the freestyle we use but for some weird reason when we try to compress(UCC-COMP-V2 and U-MAKE) all files the ammobox refuse to use the texture in the pack and get the same with PCX and BMP ?
- papercoffee
- Godlike
- Posts: 10448
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
- Contact:
Re: Problem with ammobox
looks like the server doesn't have this texture and therefore the client as well.
- Chamberly
- Godlike
- Posts: 1963
- Joined: Sat Sep 17, 2011 4:32 pm
- Personal rank: Dame. Vandora
- Location: TN, USA
- Contact:
Re: Problem with ammobox
That probably using the default texture so the texture wasn't defined to the ammobox per code?
Just a thought if papercoffee's post didn't pass up.
Just a thought if papercoffee's post didn't pass up.
- sektor2111
- Godlike
- Posts: 6410
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Problem with ammobox
Sometimes these skins must be in MultiSkins - see HealthVial by example...
Just my two cents.
You should drop that in a cube and try to figure what is changed and how through multiple tries in Editor first.
Just my two cents.
You should drop that in a cube and try to figure what is changed and how through multiple tries in Editor first.
Re: Problem with ammobox
the only thing I did whas changing one img for the rifle dint do any thing for ammo box
in the cript its looks ok
its so weard
in the cript its looks ok
its so weard
- sektor2111
- Godlike
- Posts: 6410
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Problem with ammobox
Well we tried it in so many ways for weeks now with no luck so if someone will have a go at it its greatly appreciated, and if so tell what the hell was wrong?
- Attachments
-
- UMSniperRifleV5.zip
- (412.67 KiB) Downloaded 11 times
Re: Problem with ammobox
I'm not sure I really understand it all but ... you've got 2 ammo classes - the UMSniperRifleV5 class has AmmoName=Class'UMClanBullets'.
In the UMClanBullets.uc you have "#exec TEXTURE IMPORT NAME=BulletBoxT FILE=Textures\BulletBoxT.bmp GROUP=Rifle" - then in the default properties you have "Skin=Texture'Botpack.Skins.BulletBoxT'" which appears to be the default bullet box skin. Don't you want to import WolfBullets0.bmp/pcx?
Or is that the problem? UT won't import WolfBullets0.bmp/pcx? I tried that in UEd 2.2 in 469 and the pcx imports OK - it looks to have the same properties as the default bullet box, except that the LODset in the WolfBullets0.pcx is LODset_World, when it should be LODSet_Skin, so the pcx is OK.
In the UMClanBullets.uc you have "#exec TEXTURE IMPORT NAME=BulletBoxT FILE=Textures\BulletBoxT.bmp GROUP=Rifle" - then in the default properties you have "Skin=Texture'Botpack.Skins.BulletBoxT'" which appears to be the default bullet box skin. Don't you want to import WolfBullets0.bmp/pcx?
Or is that the problem? UT won't import WolfBullets0.bmp/pcx? I tried that in UEd 2.2 in 469 and the pcx imports OK - it looks to have the same properties as the default bullet box, except that the LODset in the WolfBullets0.pcx is LODset_World, when it should be LODSet_Skin, so the pcx is OK.
Re: Problem with ammobox
So I just made a simple subclass of TournamentAmmo and imported WolfBullets0.pcx into it - I think this demonstrates that the texture is OK and can be imported without problems.
I think that these lines from UMClanBullets.uc should read :-
#exec TEXTURE IMPORT NAME=BulletBoxT FILE=Textures\BulletBoxT.bmp GROUP=Rifle
#exec TEXTURE IMPORT NAME=WolfBullets0 FILE=Textures\WolfBullets0.bmp GROUP=Rifle
Skin=Texture'Botpack.Skins.BulletBoxT'
Skin=Texture'UMSniperRiflev5.WolfBullets0'
Or perhaps you have tried that and it didn't work?
I think that these lines from UMClanBullets.uc should read :-
#exec TEXTURE IMPORT NAME=BulletBoxT FILE=Textures\BulletBoxT.bmp GROUP=Rifle
#exec TEXTURE IMPORT NAME=WolfBullets0 FILE=Textures\WolfBullets0.bmp GROUP=Rifle
Skin=Texture'Botpack.Skins.BulletBoxT'
Skin=Texture'UMSniperRiflev5.WolfBullets0'
Or perhaps you have tried that and it didn't work?