Adding New structures to the game

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Post Reply
User avatar
Millu30
New user
Posts: 5
Joined: 17 Mar 2019, 17:56
Contact:

Adding New structures to the game

Post by Millu30 » 17 Mar 2019, 18:05

Is there a way of adding new buildable structures to the game?
I have idea for mod but it requires some additional structures to make it work

User avatar
WZ2100ModsFAn
Trained
Trained
Posts: 360
Joined: 15 Apr 2018, 17:25
Location: United States.

Re: Adding New structures to the game

Post by WZ2100ModsFAn » 18 Mar 2019, 00:18

Millu30 wrote:
17 Mar 2019, 18:05
Is there a way of adding new buildable structures to the game?
I have idea for mod but it requires some additional structures to make it work
There is one however if you want custom structures you have to make your own models with Blender.
I use Ubuntu GamePack By UALinux for gaming. Best Ubuntu Distro for Warzone :D

User avatar
Berg
Regular
Regular
Posts: 2202
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Adding New structures to the game

Post by Berg » 18 Mar 2019, 01:29

There are many 3D model programs you can use as long as they export in object format you can convert them to pie

User avatar
Millu30
New user
Posts: 5
Joined: 17 Mar 2019, 17:56
Contact:

Re: Adding New structures to the game

Post by Millu30 » 18 Mar 2019, 02:24

Models are not the case, I just cant get my model to be available in construction tab
I've tried to modify Structure.json, rules.js and nothing works, is there another file that I have to modify to make it work?
Note: I want this tructure to be available from start without researching it, also my mod appears in top left corner of game window but structure is not appearing

User avatar
WZ2100ModsFAn
Trained
Trained
Posts: 360
Joined: 15 Apr 2018, 17:25
Location: United States.

Re: Adding New structures to the game

Post by WZ2100ModsFAn » 18 Mar 2019, 02:54

You can also try berg's pie conversion tool.
I use Ubuntu GamePack By UALinux for gaming. Best Ubuntu Distro for Warzone :D

User avatar
Berg
Regular
Regular
Posts: 2202
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: Adding New structures to the game

Post by Berg » 18 Mar 2019, 04:03

A good way to find out is maybe look at other folks mods the ultimate scav mod has many new structures try looking at that.

User avatar
Prot
Trained
Trained
Posts: 193
Joined: 29 Nov 2010, 12:41

Re: Adding New structures to the game

Post by Prot » 18 Mar 2019, 13:11

You need "enable" your structure to build, like it does in rules.js
enableStructure("A0LightFactory", playnum);
also, you need set all spec to structure, cost, hp, armor, etc..
Millu30 wrote:
18 Mar 2019, 02:24
Models are not the case, I just cant get my model to be available in construction tab
I've tried to modify Structure.json, rules.js and nothing works, is there another file that I have to modify to make it work?
Note: I want this tructure to be available from start without researching it, also my mod appears in top left corner of game window but structure is not appearing

User avatar
Millu30
New user
Posts: 5
Joined: 17 Mar 2019, 17:56
Contact:

Re: Adding New structures to the game

Post by Millu30 » 18 Mar 2019, 16:36

Prot wrote:
18 Mar 2019, 13:11
You need "enable" your structure to build, like it does in rules.js
enableStructure("A0LightFactory", playnum);
also, you need set all spec to structure, cost, hp, armor, etc..
I have already add them to rules.js and to Struct.json file
and ultimate scavenger mod is not much of a help due to its old format

User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 813
Joined: 26 Sep 2016, 19:56

Re: Adding New structures to the game

Post by Berserk Cyborg » 18 Mar 2019, 18:07

Attach your mod here and tell us what structure you are trying to make available.

User avatar
Millu30
New user
Posts: 5
Joined: 17 Mar 2019, 17:56
Contact:

Re: Adding New structures to the game

Post by Millu30 » 18 Mar 2019, 18:42

Here is Mod zip file: http://www.mediafire.com/file/6q7oagmmb ... d.zip/file
It add's only one placeholder structure for testing purpose

User avatar
Berserk Cyborg
Code contributor
Code contributor
Posts: 813
Joined: 26 Sep 2016, 19:56

Re: Adding New structures to the game

Post by Berserk Cyborg » 18 Mar 2019, 19:17

A0TestTower I presume. You need to fix the spelling of the skirmish folder (your mod has "skrimish"). Doing that I was able to build a purple and grey prototype of this tower you are making. There were some other warnings/errors but you could probably fix those.

User avatar
Millu30
New user
Posts: 5
Joined: 17 Mar 2019, 17:56
Contact:

Re: Adding New structures to the game

Post by Millu30 » 18 Mar 2019, 19:45

Ok I am an Idiot than
I have fixed most of the errors "It was just missing message files"
Now I have to make propper scale for this building so it dosent overlap other buildings in construction tab but other than that
thanks for help now I can start working on my mod :)

Post Reply