[Solved] How to increase Number of Weapons on a fortress?

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Post Reply
REZ
Trained
Trained
Posts: 93
Joined: 16 Dec 2009, 11:49
Location: Pattensen, Germany

[Solved] How to increase Number of Weapons on a fortress?

Post by REZ »

Hello,

I did add a new Fortress called X4 Fortress to my test07 MOD.
Finally it shall carry 4 Weapons.
For my example I chose the Tank Killer.
I added 2 Tank Killers to it ... but both at the center... they are laying each other.

structureweapons.txt

Code: Select all

X-Super-Missile_copy1,Rocket-HvyA-T,0,0,0,0
X-Super-Missile_copy1,Rocket-HvyA-T,0,0,0,0
How can I edit the stwpfcan.pie (Fortress pie), so that it carrys 2 or even 4 weapons.
Is that possible with WMIT?
I could not set that up.
How does that work to set up mounting-points for weapons?

Might someone know help?

Have a nice day,

C.U. R.E.Z.
Attachments
Fortress.zip
Original Fortress Pie from original MP.WZ with the associated textures from the original BASE.WZ
(100.05 KiB) Downloaded 214 times
test07.wz
test07 MOD works with 2 Tank Killers added to the Fortress but both at the center over each other :-(
(421.44 KiB) Downloaded 230 times
Last edited by REZ on 12 Sep 2013, 23:13, edited 2 times in total.
User avatar
Goth Zagog-Thou
Regular
Regular
Posts: 1582
Joined: 06 Jan 2007, 08:08
Location: Delta Base
Contact:

Re: How to increase Number of Weapons placed on a fortress?

Post by Goth Zagog-Thou »

The maximum number of weapons anything can have is 3 -- and this limit is hard-coded.

Second, the .pie file you want to use for the structure would need to specify that it has 3 weapon mount points. How that is done I have no idea.

That's the best answer I can give. Anyone?
User avatar
Berg
Regular
Regular
Posts: 2204
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: How to increase Number of Weapons placed on a fortress?

Post by Berg »

You will need to add connectors for each weapon.
http://developer.wz2100.net/wiki/PIE_format#CONNECTORS
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: How to increase Number of Weapons placed on a fortress?

Post by NoQ »

Goth Zagog-Thou wrote:The maximum number of weapons anything can have is 3 -- and this limit is hard-coded.
I think i had 4 machineguns in a bunker in some version of wzmini. Not sure what is the real limit for structures.
User avatar
Goth Zagog-Thou
Regular
Regular
Posts: 1582
Joined: 06 Jan 2007, 08:08
Location: Delta Base
Contact:

Re: How to increase Number of Weapons placed on a fortress?

Post by Goth Zagog-Thou »

Really? o.O First I've heard of more than 3 on an item. Heh. Learn something new every day! :P
REZ
Trained
Trained
Posts: 93
Joined: 16 Dec 2009, 11:49
Location: Pattensen, Germany

Re: How to increase Number of Weapons placed on a fortress?

Post by REZ »

Hello,

@ Berg, NoQ and Goth Zagog-Thou
thank You :-) :-) :-)

I will look for that.
Trying to change the PIEs.

Have a nice day,
R.E.Z.
REZ
Trained
Trained
Posts: 93
Joined: 16 Dec 2009, 11:49
Location: Pattensen, Germany

Re: How to increase Number of Weapons placed on a fortress?

Post by REZ »

Hello,

a fortress with 4 mounts fot weapons.
In this case 4 Tankkiller Rocketlauncher :-) :-) :-)

@ NoQ
The wzmini MOD was a great help for comparing how your bunker with 3 MGs is set up.
Cool. THANK YOU A LOT :-)

Now the changes I did to my test07 MOD are (perhaps this might help other people with the same purpose like me):

structures.txt

Code: Select all

X-Super-Missile_copy1,DOOR,Level All,HARD,0,2,2,Concrete,1600,3,15,3200,10,1600,10,100,255,1,ZNULLECM,FortressSensor,4,STWPFCAN5.PIE,0,0,4
structureweapons.txt

Code: Select all

X-Super-Missile_copy1,Rocket-HvyA-T,Rocket-HvyA-T,Rocket-HvyA-T,Rocket-HvyA-T,0
and the fortress PIE manually added the connectors with Notepad++
stwpfcan.pie

Code: Select all

...
200 3 65 64 62 64 0 127 50 63 100
	200 3 65 62 63 64 0 63 100 0 50
CONNECTORS 4
	0 50 129
	50 0 129
	0 -50 129
	-50 0 129
I do attach the test07 MOD file, incase someone might take a look at it for own experiments.
Second I do attach 2 screens of this new Fortress.

Rock On ;-)
C.U. R.E.Z.
Attachments
Kopie von Fortress4Tankkiller_2.jpg
Kopie von Fortress4Tankkiller_2.jpg (55.25 KiB) Viewed 4339 times
Kopie von Fortress4Tankkiller.jpg
Kopie von Fortress4Tankkiller.jpg (74.48 KiB) Viewed 4339 times
test07.wz
test07 MOD with a fortress, carrying 4 Tankkiller Rocket Launchers
(529.84 KiB) Downloaded 221 times
Post Reply