Adding a NEW Structure

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Wesnc
New user
Posts: 5
Joined: 14 Mar 2010, 19:35

Adding a NEW Structure

Post by Wesnc »

I have been trying to add a new structure type. I added a new weapon type MG3Mk2 which has more range and more damage than the others. I tried to add it to researchables and added a new structure but nothing shows up period.

Any tips or tutorials for getting a new structure ingame? I'm just trying something simple right now for testing purposes but I intend on creating new models for the new structures if I ever figure this out.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Adding a NEW Structure

Post by NoQ »

I added a new weapon type
Adding structures is pretty much similar. You add an appropriate section in every file that looks relevant.
Something like structures.txt, structureweapons.txt, probably structurefunctions.txt (if you want wall alignment), and names.txt as usual. Then you'd need a research item for that if you like.
Wesnc
New user
Posts: 5
Joined: 14 Mar 2010, 19:35

Re: Adding a NEW Structure

Post by Wesnc »

Just added it

Code: Select all

SuperHeavyMGTower,MG3Mk2,NULL,NULL,NULL,168
That structure also exists in the structure file and so does that weapon in the right place.
Did not show up in the buildables menu.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Adding a NEW Structure

Post by NoQ »

Did not show up in the buildables menu.
Did you research it?
Is it available via cheats?
Wesnc
New user
Posts: 5
Joined: 14 Mar 2010, 19:35

Re: Adding a NEW Structure

Post by Wesnc »

Its not, no where to be found. Not sure what I completely need to do in order to add it.

Any sort of guide on this or steps taken?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Adding a NEW Structure

Post by NoQ »

Any sort of guide on this or steps taken?
No, apart from the obvious http://developer.wz2100.net/wiki/TxtEditing