Project X Forums
http://px.worms2d.info/forum/

How to move weapons between tabs
http://px.worms2d.info/forum/viewtopic.php?f=15&t=302
Page 1 of 1

Author:  Jarzka [ Sat Aug 27, 2011 10:19 pm ]
Post subject:  How to move weapons between tabs

How can I move weapons from tab 2 to tab 1? And how can I include some weapons like friendly mine and laser to my scheme? Those weapons are not in the weapons list o.o

Author:  Zed [ Sun Aug 28, 2011 12:11 pm ]
Post subject:  Re: How to move weapons between tabs

You can use Copy button on the weap from 2nd table, then go to 1st table, select the weapons you want to replace and press Paste button.

To include scripted weapons, you need to include lib with this weapon. For laser its lib: laser.pxl. This lib also requiring two another libs in code, so u should also add utils.pxl and laserray.pxl to your px scheme too.

Then u need to select the weapon you want to replace and use "Use from the lib" section in weapon table editor. It will move all parameters except row and icon (if the icon is not custom) from the lib weapon to current weapon,

Author:  Entuser [ Sun Aug 28, 2011 12:23 pm ]
Post subject:  Re: How to move weapons between tabs

Zed, nice explanation , but
Quote:
This lib also requiring two another libs in code, so u should also add utils.pxl and laserray.pxl to your px scheme too.

is not neccessary :)
Also it would move weapon icon in any case.

Author:  Jarzka [ Mon Aug 29, 2011 1:05 pm ]
Post subject:  Re: How to move weapons between tabs

So there is no way to move weapons between tabs without replacing the existing ones?

Anyway, thanks for the information.

Author:  Entuser [ Tue Aug 30, 2011 8:02 am ]
Post subject:  Re: How to move weapons between tabs

Quote:
So there is no way to move weapons between tabs without replacing the existing ones?


What? You can replace weapons in second table that exist in 1st table too, and you'll replace nothing in fact.

Author:  Jarzka [ Fri Sep 02, 2011 3:35 am ]
Post subject:  Re: How to move weapons between tabs

I mean it would me handy if I could move every new weapon I want to use to the first tab. So all weapons (old and new) in one single tab.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/