Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-15-2001, 04:25 AM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
Inserting ganis

K guys i need some help. Im makin a futuristic playerworld and im makin it first weapon and its a gun.
I dont exactly know y im doin this coz im a dumb scripter, hopefully i will get better. I made all the gun gifs, all the bullet gifs and all the ganis.
i have this so far:

// NPC made by Death_Link
if (playertouchsme) {
toweapons chaingun;
destroy;
}

if (weaponfired) {
shootfireball playerdir;
}

lol. sorry i laugh every time i look at this crap script.
Now i need 2 add em all. The whole bunch. I need to add the bullets and the gun ganis. How i insert em?
Reply With Quote
  #2  
Old 09-15-2001, 10:28 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Exclamation ganis

its pretty easy if you know what the script is, its setani ganinamehere.gani,; (yes the comma has to be there)
if you can't get that to work, here's a script that you can use to figure it out
if (playertouchsme) {
toweapons Suicide;
hidelocal;
}

if (weaponfired) {
freezeplayer 1.5;
setani suicide1,;
sleep 1;
playerhearts=0;
}
Reply With Quote
  #3  
Old 09-15-2001, 10:30 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
my mistake

I've been making too many mistakes today :grrr: you don't need to put .gani in the setani
Reply With Quote
  #4  
Old 09-16-2001, 04:59 AM
fireball_dolphonia fireball_dolphonia is offline
Registered User
Join Date: Sep 2001
Location: Graalistan
Posts: 73
fireball_dolphonia is on a distinguished road
its easy just
setani ganiname,;
no .gani ok
__________________

ages.ccs.com/ccsimages/cat_
Reply With Quote
  #5  
Old 09-16-2001, 07:28 PM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
cool. Thanx guys
Reply With Quote
  #6  
Old 09-16-2001, 07:37 PM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
K guys that is all well and good., but i made a gun gif and put it into the gani. When i use the gani it don't show up!

What i do now?
Reply With Quote
  #7  
Old 09-16-2001, 10:43 PM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
um........................hello????? HELLO?? HHEEELLOOO????? this thing on. HHHHHEEEEEELLLLLLLLOOOOOOOOO!!!!!!????????
Reply With Quote
  #8  
Old 09-16-2001, 11:47 PM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
u should use parameters.. that would be neat cuz then u could have many diff types of guns..
ill xplain here how :
make the image of ur gun 1 long image..
goto the gani editor then type in for def param1 the name of ur image (make sure its in ur gani folder)
then goto the add button (to add a sprite)
the first box should be PARAM1 then the next gun or whatever.. then ur gonna need to section each frame out (u know in ur image how u made all the diff perspectives of the gun in 1 long image? u need to section them out when u add the sprites)
then u just add it to ur gani and when you call your gani you do
setani yourgani,yourgun.gif;
or whatever .gif u want .. each diff .gif will look like a diff gun ..
(confusing)
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #9  
Old 09-17-2001, 12:20 AM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
Do i need 2 make the gun gifs so that they will fit into the same param the bow does?
Look im gunna try this liquid but keep checkin the thread coz im gunna need help ok?
Reply With Quote
  #10  
Old 09-17-2001, 01:37 PM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
hheeeeeeeeeeeellllllllloooooooooooooo????????????
Reply With Quote
  #11  
Old 09-17-2001, 10:41 PM
Krakken_2001 Krakken_2001 is offline
Posts: 1337
Krakken_2001's Avatar
Join Date: Mar 2001
Location: Staffs, England Quote: "Bomy in Progress" Looks: Amazingly Stunning Popularity: 10,000%
Posts: 1,325
Krakken_2001 is on a distinguished road
Quote:
Originally posted by Kaimetsu


Shut the heck up. People won't help you if you act like an idiot.
Hahah! Kai, I have NEVER heared you say anything like that to someone =)

That was cool!
__________________
------------------------


- UnOfficial Graalian Story Teller
- Holder Of The 1000th Upgraded Graalian Account (Not This One)
------------------------------------------------------------------------------
"The Fairy Princess - Zorro" - A New Beggining
Reply With Quote
  #12  
Old 09-17-2001, 11:39 PM
Krakken_2001 Krakken_2001 is offline
Posts: 1337
Krakken_2001's Avatar
Join Date: Mar 2001
Location: Staffs, England Quote: "Bomy in Progress" Looks: Amazingly Stunning Popularity: 10,000%
Posts: 1,325
Krakken_2001 is on a distinguished road
Quote:
Originally posted by Kaimetsu


He deserved it. Acting like I have some duty to help him and stuff.
Heh, yeah.
__________________
------------------------


- UnOfficial Graalian Story Teller
- Holder Of The 1000th Upgraded Graalian Account (Not This One)
------------------------------------------------------------------------------
"The Fairy Princess - Zorro" - A New Beggining
Reply With Quote
  #13  
Old 09-17-2001, 11:47 PM
Death_Link Death_Link is offline
Registered User
Join Date: Aug 2001
Posts: 51
Death_Link is on a distinguished road
k guys chill. I didnt mean 2 fry u that much. geez..
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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:18 PM.


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