Project X Forums



It is currently Sun Oct 25, 2020 5:38 pm

All times are UTC




Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Weapons & Utilities Inventory by rafa``2
PostPosted: Sun May 10, 2015 10:05 am 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
oO Epic update

_________________
http://twitch.tv/wormsdotam | http://worms.am/hl | http://worms.am/zombieshopper | http://worms.am/golf | http://worms.am/holywar


Top
 Profile  
Reply with quote  
 Post subject: Re: Weapons & Utilities Inventory by rafa``2
PostPosted: Tue Oct 06, 2015 6:12 am 
Offline
User avatar

Joined: Mon Dec 05, 2011 1:14 am
Posts: 242
Awesome stuff Rafa.....just awesome...such attention to detail....

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Weapons & Utilities Inventory by rafa``2
PostPosted: Tue Oct 06, 2015 3:18 pm 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
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.

_________________
http://twitch.tv/wormsdotam | http://worms.am/hl | http://worms.am/zombieshopper | http://worms.am/golf | http://worms.am/holywar


Top
 Profile  
Reply with quote  
 Post subject: Re: Weapons & Utilities Inventory by rafa``2
PostPosted: Tue Oct 06, 2015 3:54 pm 
Offline

Joined: Sat Aug 09, 2014 1:30 am
Posts: 40
-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


Top
 Profile  
Reply with quote  
 Post subject: Re: Weapons & Utilities Inventory by rafa``2
PostPosted: Tue Oct 06, 2015 8:21 pm 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
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!

_________________
http://twitch.tv/wormsdotam | http://worms.am/hl | http://worms.am/zombieshopper | http://worms.am/golf | http://worms.am/holywar


Top
 Profile  
Reply with quote  
 Post subject: Re: Weapons & Utilities Inventory by rafa``2
PostPosted: Thu Oct 08, 2015 7:49 pm 
Offline

Joined: Wed Sep 09, 2015 2:15 pm
Posts: 43
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: Weapons & Utilities Inventory by rafa``2
PostPosted: Thu Oct 08, 2015 9:36 pm 
Offline

Joined: Sat Aug 09, 2014 1:30 am
Posts: 40
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Weapons & Utilities Inventory by rafa``2
PostPosted: Fri Oct 09, 2015 2:18 pm 
Offline

Joined: Wed Sep 09, 2015 2:15 pm
Posts: 43
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 :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Weapons & Utilities Inventory by rafa``2
PostPosted: Fri Oct 09, 2015 2:57 pm 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
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

_________________
http://twitch.tv/wormsdotam | http://worms.am/hl | http://worms.am/zombieshopper | http://worms.am/golf | http://worms.am/holywar


Top
 Profile  
Reply with quote  
 Post subject: Re: Weapons & Utilities Inventory by rafa``2
PostPosted: Fri Oct 09, 2015 3:08 pm 
Offline

Joined: Wed Sep 09, 2015 2:15 pm
Posts: 43
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Skin by Lucas Kane