Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-20-2001, 12:24 AM
Prentice Prentice is offline
Registered User
Join Date: Sep 2001
Posts: 2
Prentice is on a distinguished road
How do you make ganis with custom graphics?

I'm trying to make a cool NPC that makes it so that the character is piloting a huge mech but I need to make custom ganis....how do I import custom graphics into the Graalshop?
also I wanna know if theres a way that the player would be able to detect incoming objects (mechs,missiles,whatever...)and If it detects something I want it to play a certain .wav file....
Please tell me the script to do that....I've been trying to find it out.....but I couldn't...
__________________
Life is pain...anyone who says
otherwise is selling something...
Reply With Quote
  #2  
Old 10-20-2001, 12:37 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
for custom graphics your gonna need to use param1, param2 etc see the newfeatures2001.txt file for more help
Reply With Quote
  #3  
Old 10-20-2001, 02:15 AM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
Click on the big add button, then under image type the images name.
Fill out description however you want to.
For sprite index, put a sprite number down that is not being used up, hold your mouse over a sprite to see its index.
x,y,w,h are pretty much the same as setimgpart if you have ever used that command.
x being the x coordinate of the top left part of your wanted image, and y being the y coordinate of it.
w is the width in pixels, and h is the height in pixels.
Then click the add button closest to the top.

Now the image will appear on the side.
Reply With Quote
Reply


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 03:20 PM.


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