Graal Forums  

Go Back   Graal Forums > Development Forums > Gani Construction
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-17-2006, 04:31 AM
lancelot9 lancelot9 is offline
Registered User
lancelot9's Avatar
Join Date: May 2004
Posts: 618
lancelot9 is on a distinguished road
Laser

Soo ive been wondering how to do this for just about as long as ive been ganing my own guns

I was wondering if someone could tell me how i set lasers into the ganis.
I heard that i have to save it as a .txt and then script it in, but im not exactly sure how i would do it.
__________________


Im cool because I can make outside levels with a tileset.
Reply With Quote
  #2  
Old 08-17-2006, 05:18 PM
Sulukra Sulukra is offline
Registered Punmaster
Sulukra's Avatar
Join Date: Jul 2005
Location: That place north of the U.S.
Posts: 860
Sulukra is on a distinguished road
Laser firing (Like guns and stuff, atleast I think thats what you're talking about) is usually made as:
A gani of the projectile in four directions
A seperate part of the gun script with a 'shoot' command

Though I'm not sure what the command is in GS2 (Since I don't know GS2), I'm pretty sure thats how its done.
__________________
Quote:
Originally Posted by Valikorlia IRC Chat
Sulukra:You guys up for twenty questions?
Cor:Yeah.
-Twenty questions later-
Cor:Alright, so we all fail. What was it?
Sulukra:My handheld 20 questions game.
Cor:Curse you, you Canadian fiend.
Reply With Quote
  #3  
Old 08-17-2006, 09:35 PM
lancelot9 lancelot9 is offline
Registered User
lancelot9's Avatar
Join Date: May 2004
Posts: 618
lancelot9 is on a distinguished road
Ohh no sorry, i ment like a laser aimer for the gun, like the core electronics pistol or w/e
__________________


Im cool because I can make outside levels with a tileset.
Reply With Quote
  #4  
Old 08-18-2006, 02:52 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by lancelot9
Ohh no sorry, i ment like a laser aimer for the gun, like the core electronics pistol or w/e
Aka Laser pointer on a gun for aiming.
Reply With Quote
  #5  
Old 08-21-2006, 07:03 PM
shyguy2 shyguy2 is offline
Jave L. Cross
shyguy2's Avatar
Join Date: Aug 2005
Location: Canada
Posts: 40
shyguy2 is an unknown quantity at this point
Ok for adding lazers first off make your image that you want to use as the lazer light thing
and then save it as a regular gani with the lazer positioned where you want it,
like add it as a sprite def and put it where you want it, then once your done changing all that stuff, save it, and open it as a text document, near the bottom where the Default Sprites are defined, put in a couple lines that are like

PHP Code:
COLOREFFECT ID R B G ALPHA 
ex]
PHP Code:
SETBACKTO sog-xmcr-idle
DEFAULTATTR1 hat0
.png
DEFAULTHEAD head19
.png
DEFAULTBODY body
.png
COLOREFFECT 11 1 1 1 0.2
COLOREFFECT 12 1 1 1 0.2
COLOREFFECT 13 1 1 1 0.2
COLOREFFECT 44 1 1 1 0.2 
so that makes all the images with ID 11-13 +44
white with a alpha of .2
;o
hopefully that helps :]
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.