Page 1 of 1
[Solved] How to increase Number of Weapons on a fortress?
Posted: 09 Sep 2013, 23:40
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.
Re: How to increase Number of Weapons placed on a fortress?
Posted: 09 Sep 2013, 23:52
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?
Re: How to increase Number of Weapons placed on a fortress?
Posted: 10 Sep 2013, 00:37
by Berg
Re: How to increase Number of Weapons placed on a fortress?
Posted: 10 Sep 2013, 08:54
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.
Re: How to increase Number of Weapons placed on a fortress?
Posted: 10 Sep 2013, 09:06
by Goth Zagog-Thou
Really? o.O First I've heard of more than 3 on an item. Heh. Learn something new every day!
Re: How to increase Number of Weapons placed on a fortress?
Posted: 11 Sep 2013, 10:55
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.
Re: How to increase Number of Weapons placed on a fortress?
Posted: 12 Sep 2013, 23:07
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.