Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Shooting fireballs

Author
Message
MTC Music
19
Years of Service
User Offline
Joined: 11th Sep 2005
Location: Montreal
Posted: 15th Aug 2007 16:30
Is it possible to have your player shoot fireballs from his hands? I have pack 5 with the fist weapons and I have the sprite pack with the fireballs. The problem I'm having is getting the fireballs to shoot from the fists! Is it possible to have a sprite move as a projectile?

Thanks to anyone who could offer some help!

www.mtcmusic.ca
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 15th Aug 2007 16:41
short answer is no.

long answer is yes.

you will need to re-animate the hands in milkshape and add a fireball flying out of the hand, straight ahead, in the fire animation.

Then you would need your specular map to make the fireball always appear lit.

It's not going to look great, but it's probably the only way to do it.. getting an enemy to shoot fireballs is another thing altogether, and is (comparitively) easier

Lon
20
Years of Service
User Offline
Joined: 12th Feb 2004
Location: Big Ass Castle
Posted: 15th Aug 2007 22:34
Make the fist weapon like the rocket launcher. Have the projectile model be a small box and texture it the fireball sprite image with a black (invisible) background so the only thing that will show when the box shoots out of the hand is the fireball sprite. The ammo for the hand could be called "Mana". I dont see a way to animate the sprite on the model though.

Lon

[url=http://webpages.charter.net/lflicking/]
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 15th Aug 2007 23:07
THat won't work because the flak is effected by ambience and lights, so if you shoot the fireball in a dark room, it will come out black

MTC Music
19
Years of Service
User Offline
Joined: 11th Sep 2005
Location: Montreal
Posted: 16th Aug 2007 04:18
Ok, scrap that idea.

Plan B:

How about a trigger zone that fires a fireball at the player when he enters it? A fireball trap. Is that possible using the fireball sprite from sprite pack 1? If so, how do I get the fireball to spawn on activate since it doesn,t have the same properties as a regular entity?

Thanks Lon & Butter fingers for your help with the last part!

www.mtcmusic.ca
Lon
20
Years of Service
User Offline
Joined: 12th Feb 2004
Location: Big Ass Castle
Posted: 16th Aug 2007 04:38
Perhaps an illumination map for the fireball texture would keep it bright.

[url=http://webpages.charter.net/lflicking/]
tyrano man
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location: Battle City - Kalspher :)
Posted: 16th Aug 2007 23:58
I made staffs, you could do the same idea with hands. Oh and these models are crap, cos I modeled them a long time ago

Link

If you used alpha on the projectiles and have some textureing and animating skill, you could make it look quite good.

DBZ by any chance?

TATBS 1.8 is now fully functional. Brilodis is having its districts extracted to Battle City. Krina and Karin are twice the size. And you’ll see 5 times as many breeds of monsters... It’s Kalspher V3.
MTC Music
19
Years of Service
User Offline
Joined: 11th Sep 2005
Location: Montreal
Posted: 17th Aug 2007 16:25 Edited at: 17th Aug 2007 17:10
Thanks Tyrano man. They look fine to me! I'll try them out. My design and animation skills are non existant. Are these staves FPSC-ready?

Thanks

EDIT: Just tried out the staves and they look great for what i'm doing. Only thing is, the projectile is just a black ball, and it explodes into a black puff of smoke. I can't figure out how to change this to at least a red ball exploding into a real explosion. I know this is probably very easy. Soory for the dumb question, but how can I change this??

Thanks!

www.mtcmusic.ca
tyrano man
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location: Battle City - Kalspher :)
Posted: 17th Aug 2007 23:16
I dont think any of the staves have black projectiles... the only ones that were there were red,light blue, dark blue and yellow. Maybe you deleted a texture or something accidently?

TATBS 1.8 is now fully functional. Brilodis is having its districts extracted to Battle City. Krina and Karin are twice the size. And you’ll see 5 times as many breeds of monsters... It’s Kalspher V3.
MTC Music
19
Years of Service
User Offline
Joined: 11th Sep 2005
Location: Montreal
Posted: 18th Aug 2007 02:01
I don't think I deleted anything. Here is a screenshot of the Fireball directory in the gamecore/flak directory. the dds file is as you put it. Maybe it's my lighting. I have very, very low ambient lighting. That must be it.

www.mtcmusic.ca

Attachments

Login to view attachments
tyrano man
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location: Battle City - Kalspher :)
Posted: 25th Aug 2007 17:08
yeah, only ambient lighting works on Vweaps and flak, static and dynaimc lights don't work on it I think.

Try it on a test level with default lighting, and you'll probably find it is textured

TATBS 1.8 is now fully functional. Brilodis is having its districts extracted to Battle City. Krina and Karin are twice the size. And you’ll see 5 times as many breeds of monsters... It’s Kalspher V3.

Login to post a reply

Server time is: 2024-11-23 20:43:53
Your offset time is: 2024-11-23 20:43:53