Pillboxes

Improving the artwork in Warzone2100 - not for mod discussions
User avatar
Mysteryem
Global Moderator
Global Moderator
Posts: 728
Joined: 22 Sep 2008, 19:44
Location: UK
Contact:

Re: Pillboxes

Post by Mysteryem »

For most defensive structures, one model makes up the base structure, with which the weapon is attached onto.
The weapon itself is usually made up of two parts, the turret, and the muzzle. The turret is the part which rotates left and right to face the target. And the muzzle is the part which rotates up and down and can have a recoil effect and a muzzle flash effect attached to it.

These are the file names you'll want to use:
Muzzle: gnhrckt.pie, Turret: trhrckt.pie, Structure: blhowmnt.pie


In your mod, the muzzle and turret pies will go in yourmod\components\weapons\ and the structure pie in yourmod\structs\
Attachments
Cyan: 'Muzzle'<br />Yellow: 'Turret'/'Mount'<br />Magenta: Structure
Cyan: 'Muzzle'
Yellow: 'Turret'/'Mount'
Magenta: Structure
"...If pure awesomeness were bricks, this would be the Great Wall of China...
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
swatspeedman
Trained
Trained
Posts: 62
Joined: 01 Apr 2011, 01:00
Location: North East England

Re: Pillboxes

Post by swatspeedman »

I've done all that, put it in a zip file and renamed .zip to .wz in notepad and put it into the 'autoplay' folder. Still hasn't worked, what's wrong?

EDIT: Just saw Jorzi's edit.
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: Pillboxes

Post by Jorzi »

It may be that your textures will need to follow the "page-XX-description.png" naming convention. All the texpage numbers from 32 to 79 should be free so you can pick any of those.
You also need to make sure that the pie files are using the correct texpages, you can edit the pie files in notepad and the texture name should be at the third row. it should read "TEXTURE 0 filename.png 0 0"
ImageImage
-insert deep philosophical statement here-
swatspeedman
Trained
Trained
Posts: 62
Joined: 01 Apr 2011, 01:00
Location: North East England

Re: Pillboxes

Post by swatspeedman »

Code: Select all

PIE 3
TYPE 200
TEXTURE 0 Rocket Pod Texture + Ambient Occlusion.png 0 0
LEVELS 1
LEVEL 1
POINTS 1020
Yup, seems to be showing that. It says that the mod doesn't actually exist...
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: Pillboxes

Post by Jorzi »

yeah, looks ok, but as I said, change the name to something like page-32-rocketpod1.png
ImageImage
-insert deep philosophical statement here-
zany
Trained
Trained
Posts: 303
Joined: 20 Sep 2011, 07:04

Re: Pillboxes

Post by zany »

swatspeedman wrote:I've done all that, put it in a zip file and renamed .zip to .wz in notepad and put it into the 'autoplay' folder. Still hasn't worked, what's wrong?

EDIT: Just saw Jorzi's edit.
you renamed .zip to .wz in notepad? O_o
can someone convert this to something we can look at in the game?
swatspeedman
Trained
Trained
Posts: 62
Joined: 01 Apr 2011, 01:00
Location: North East England

Re: Pillboxes

Post by swatspeedman »

zany wrote:you renamed .zip to .wz in notepad? O_o
can someone convert this to something we can look at in the game?
I'm going to do so off of what I've been told by Jorzi when I get home. Alternatively I could someone to do it for me and learn nothing?

So exactly how can't you turn to .wz? After all, .wz can be turned to .zip through notepad...

EDIT: I still can't get it to work. It either says the mod doesn't exist or doesn't change the model. I'll try on V2.3.
swatspeedman
Trained
Trained
Posts: 62
Joined: 01 Apr 2011, 01:00
Location: North East England

Re: Pillboxes

Post by swatspeedman »

Okay, I can't get it to work still. Here is all the files if someone wishes to give it a try themselves.
http://www.deviantart.com/download/2750 ... 4jr5t9.zip
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: Pillboxes

Post by Jorzi »

You see that? That's your ripple battery right there :P

Only thing is the scale is messed up and it's facing the wrong way, but don't worry, we're getting there
Attachments
ripple_1.jpg
ImageImage
-insert deep philosophical statement here-
swatspeedman
Trained
Trained
Posts: 62
Joined: 01 Apr 2011, 01:00
Location: North East England

Re: Pillboxes

Post by swatspeedman »

That's a cobra half-tracks?

EDIT: Oh wait, I see it :P It's a lil baby battery :P
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: Pillboxes

Post by Jorzi »

There you go, it actually looks pretty nice ingame (although it could use some texturing of course)
I took your .obj file, mirrored it along the z-axis (-z in wmit equals y in blender) and scaled it to 20. I also added a connector to your emplacement (or stand as you call it) which defines where the turret will be attached.
Attachments
swatspeedmanmod.wz
(2.62 MiB) Downloaded 329 times
ripple_2.jpg
ImageImage
-insert deep philosophical statement here-
swatspeedman
Trained
Trained
Posts: 62
Joined: 01 Apr 2011, 01:00
Location: North East England

Re: Pillboxes

Post by swatspeedman »

Good, just to perfect the textures now I guess now I know what the problem was
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: Pillboxes

Post by Jorzi »

A few more things about textures: The current maximum texture size is 1024x1024. Anything bigger will be downscaled.
Also, tangent space normal maps are unfortunately not currently supported, they have to be object space (converting in blender is not a big problem though)
ImageImage
-insert deep philosophical statement here-
swatspeedman
Trained
Trained
Posts: 62
Joined: 01 Apr 2011, 01:00
Location: North East England

Re: Pillboxes

Post by swatspeedman »

You're still better off making 2048x2048 and have it downscaled than having to redo it if it becomes supported
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: Pillboxes

Post by Jorzi »

Well yeah, it's just that it takes a while to download :P I usually use 256x256 or 512x512 for both turret and barrel. The difference is not huge, because you simply cannot zoom in to see more detail than that.
ImageImage
-insert deep philosophical statement here-
Post Reply