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-27-2006, 11:31 PM
Vega001 Vega001 is offline
.
Join Date: Aug 2004
Posts: 92
Vega001 is on a distinguished road
Scripting Ganis into npcs offline

sorry if this has already been asked but i am looking for some help in scripting a gani and the image of a weapon onto an npc "statue" in an offline level. the gani file in question is zodiac_newswordidle.gani i believe and the filename of the weapon is zodiac_topazkatana.png . If anyone could help me i would greatly appreciate it
__________________
Reply With Quote
  #2  
Old 10-28-2006, 04:22 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 think you could ask some staff on Zodiac like Yen,
but I think it has something with gani params/attrs
tried like:
PHP Code:
setani("zodiac_newswordidle""zodiac_topazkatana.png"); //GS2

setani zodiac_newswordidlezodiac_topazkatana.png//GS1 
?
__________________
Reply With Quote
  #3  
Old 10-28-2006, 05:49 PM
Vega001 Vega001 is offline
.
Join Date: Aug 2004
Posts: 92
Vega001 is on a distinguished road
i used that

it made my player have the attributes (no weapon image) and after i moved the gani stopped

can i make the npc have the gani?
__________________
Reply With Quote
  #4  
Old 10-28-2006, 05:52 PM
Magadal Magadal is offline
Banned
Join Date: Jan 2005
Location: Germany
Posts: 942
Magadal will become famous soon enough
Quote:
Originally Posted by Vega001 View Post
i used that

it made my player have the attributes (no weapon image) and after i moved the gani stopped

can i make the npc have the gani?
Yea, just use setcharani instead of setani.
Reply With Quote
  #5  
Old 10-28-2006, 05:53 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
setcharani instead of setani.
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
  #6  
Old 10-28-2006, 09:56 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Its offline so.. this should work.
PHP Code:
//#CLIENTSIDE
if (created) {
 
showcharacter;
 
setcharprop #P2,zodiac_topazkatana.png;
 
setcharani zodiac_newswordidle,0;

__________________
Quote:
Reply With Quote
  #7  
Old 10-29-2006, 02:08 AM
Vega001 Vega001 is offline
.
Join Date: Aug 2004
Posts: 92
Vega001 is on a distinguished road
wow thanks alot you guys, all of your input really helped <3
__________________
Reply With Quote
  #8  
Old 10-30-2006, 01:25 AM
_Z3phyr_ _Z3phyr_ is offline
Banned
Join Date: Sep 2003
Location: Louisiane
Posts: 390
_Z3phyr_ is an unknown quantity at this point
yo man -- use replaceani(); !!!1!
replaceani idle,newswordidleganihere;
replaceani walk,newswordwalk;
etc
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 12:35 AM.


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