Project X Forums



It is currently Thu Mar 28, 2024 7:36 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Couple scripting questions
PostPosted: Mon May 25, 2015 3:03 pm 
Offline

Joined: Mon Jul 30, 2012 9:45 am
Posts: 194
I have some ideas about new weapons, but I would like to know if these things are possible to script:

1) Obviously it is possible making a custom sprite for the attacking worm with the custom weapon. Is it also possible creating a custom sprite for the worm being attacked? This way it would be possible to graphically display how the worm gets hurt by this specific weapon. (so not a generic sprite override of worm getting hurt, but only when he gets attacked by this specific weapon)

2) How would it be possible to attach a sprite to another sprite? This would for example allow for a worm or weapon to have an underlying glow attached, that could be manipulated through script (color, on/off,...)


I would really appreciate any help with this, with some help with the above I'm ready to create some cool weapons & sprites :)

_________________
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: Couple scripting questions
PostPosted: Wed Jul 08, 2015 5:24 pm 
Offline

Joined: Sat Aug 09, 2014 1:30 am
Posts: 43
1. like the sprite when a worm is being tazed ?, check killburn's tazer.pxl
2. AddSpriteEx(fixed z,fixed x,fixed y,int sprite,fixed frame,float rot,float scale)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 31 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