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 01-08-2007, 07:11 PM
HazeOfTime HazeOfTime is offline
Registered User
Join Date: Dec 2006
Posts: 44
HazeOfTime is on a distinguished road
Changing Sprites

Not sure if this was a graphics or NPC post, but I posted here since its implementing the sprite sheet and not making one.
Is it possible to script it so I can use a custom sprites sheet instead of the default one?
Reply With Quote
  #2  
Old 01-08-2007, 07:47 PM
MegaMasterX90875 MegaMasterX90875 is offline
Retired Graalian (2009)
MegaMasterX90875's Avatar
Join Date: Feb 2006
Location: North Carolina
Posts: 132
MegaMasterX90875 is on a distinguished road
Send a message via AIM to MegaMasterX90875
You can do that by editing the GANIs with the Sprite sheet, but rename them something besides Walk.gani (for example), name them like Serv-walk.gani and upload them.

Then you can do a script in your system NPC like:

PHP Code:
function onCreated()
{
   
replaceani(walk,"Serv-Walk");

I can't recall wether to put .gani in that second parameter or not
__________________
Mess with the best, Die like the rest.



Reply With Quote
  #3  
Old 01-08-2007, 10:51 PM
HazeOfTime HazeOfTime is offline
Registered User
Join Date: Dec 2006
Posts: 44
HazeOfTime is on a distinguished road
I mean the things like thrown bushes, signs and leaps.
Reply With Quote
  #4  
Old 01-08-2007, 10:58 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
I don't think its a command for it, there was a thread about it.
__________________
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 10:58 AM.


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