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

Weapons & Utilities Inventory by rafa``2
http://px.worms2d.info/forum/viewtopic.php?f=13&t=2009
Page 2 of 5

Author:  -raffie- [ Sun May 10, 2015 10:05 am ]
Post subject:  Re: Weapons & Utilities Inventory by rafa``2

oO Epic update

Author:  Curtis [ Tue Oct 06, 2015 6:12 am ]
Post subject:  Re: Weapons & Utilities Inventory by rafa``2

Awesome stuff Rafa.....just awesome...such attention to detail....

(Love how the wildfire blows the petrol farther than normal....nice touch).

Author:  -raffie- [ Tue Oct 06, 2015 3:18 pm ]
Post subject:  Re: Weapons & Utilities Inventory by rafa``2

Hey Rafa, after updating the libs I cant use Underwater bomb spawn code anymore, I was using this:
Code:
//Init Underwater Bomb
void overrides::FirstFrame()
{
for(int j = 1; j <= 1; j++) //underwaterbomb spawn

new CWaterbomb(0, RandomInt(0, GS->LevelSX),RandomInt(Env->Water+40, Env->Water +150));
 
}


and now I get following error when I use this code:

Code:
PXS : CError : TRZ:Process : fault to process symbol CWaterbomb@iii
at Lib: utils.pxl: Script: MissileIndex:0


When I remove the above code, there are no errors anymore.

Author:  rafa``2 [ Tue Oct 06, 2015 3:54 pm ]
Post subject:  Re: Weapons & Utilities Inventory by rafa``2

-raffie- wrote:
Hey Rafa, after updating the libs I cant use Underwater bomb spawn code anymore, I was using this:
Code:
//Init Underwater Bomb
void overrides::FirstFrame()
{
for(int j = 1; j <= 1; j++) //underwaterbomb spawn

new CWaterbomb(0, RandomInt(0, GS->LevelSX),RandomInt(Env->Water+40, Env->Water +150));
 
}


and now I get following error when I use this code:

Code:
PXS : CError : TRZ:Process : fault to process symbol CWaterbomb@iii
at Lib: utils.pxl: Script: MissileIndex:0


When I remove the above code, there are no errors anymore.



OK thanks, copy the code again

Author:  -raffie- [ Tue Oct 06, 2015 8:21 pm ]
Post subject:  Re: Weapons & Utilities Inventory by rafa``2

Ah, so there was a 4th parameter that needed to be passed, that's what I thought but didn't know what to add there ;)
Thanks for the fast help!

Author:  worminater [ Thu Oct 08, 2015 7:49 pm ]
Post subject:  Re: Weapons & Utilities Inventory by rafa``2

Hello.

I get this error:

PXS : CError : TES:MakeOperandSt error : Operator is not supported yet
at Scheme:Underwater Bombs:4

I have added to scripts in my scheme (to make underwater bomb appear auto) and have also enabled them as weapons to be used. Copied code as displayed on main post.

Also - What is fire_ext required for? Valerian fire or fire suit?

Author:  rafa``2 [ Thu Oct 08, 2015 9:36 pm ]
Post subject:  Re: Weapons & Utilities Inventory by rafa``2

worminater wrote:
Hello.

I get this error:

PXS : CError : TES:MakeOperandSt error : Operator is not supported yet
at Scheme:Underwater Bombs:4

I have added to scripts in my scheme (to make underwater bomb appear auto) and have also enabled them as weapons to be used. Copied code as displayed on main post.

Also - What is fire_ext required for? Valerian fire or fire suit?



delete white spaces in your script name, fire_extension is required for antifire suit to work properly

Author:  worminater [ Fri Oct 09, 2015 2:18 pm ]
Post subject:  Re: Weapons & Utilities Inventory by rafa``2

Thankyou. I have amended and will test shortly.

I now get this error after enabling the fire extension and the fire suit.

Code:
Error in library r2_fire_ext.pxl : fire_extension : failed to find library wp_lasergun.pxl
PXS : CError : TDP : ParseNext : Unexpected operator : ,
at Lib: r2_antifire_suit.pxl: Script: antifire_suit_s:6


I do not have a wp_lasergun.pxl file and never had one.

PS - I love the barrels you have done. Fantastic work all round.

PPS - I am still fairly new to PX stuff so apologies if my problems seem noobish. Learning as I go :)

Author:  -raffie- [ Fri Oct 09, 2015 2:57 pm ]
Post subject:  Re: Weapons & Utilities Inventory by rafa``2

It means the library has a dependability on another library, so you need to download the lasergun library.

http://worms.am/downloads/apps/px/libra ... sergun.pxl

Author:  worminater [ Fri Oct 09, 2015 3:08 pm ]
Post subject:  Re: Weapons & Utilities Inventory by rafa``2

Thanks, has sorted that one. I googled the lasergun.pxl but has no downloadable result for it.

I still get this message though in regards to underwater bombs:

PXS : CError : TES:MakeOperandSt error : Operator is not supported yet
at Scheme:Underwater_bomb:4

I have named the script underwaterbomb.

------

Can you confirm if the script is to be used inside the map editor, or scheme editor? At the moment I do the script inside the scheme editor.

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