Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-16-2001, 06:59 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
SxriptGanis

They dont work. Even something as simple as

SCRIPT
showimg 0,block.png,this.x,this.y;
SCRIPTEND

wont work. am i doing something wrong? How are you suppose to do this?
__________________

subliminal message: 1+1=3
Reply With Quote
  #2  
Old 11-16-2001, 07:03 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
you havent stated where this.x and this.y are
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #3  
Old 11-16-2001, 07:08 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
I have int he acual code. (i even checked 0,0 on the level to see if the imgs were there)
__________________

subliminal message: 1+1=3
Reply With Quote
  #4  
Old 11-16-2001, 07:10 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
hmm
well i havent actuall tried any ofthis myself but ill give it a go and see what i can come up with
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #5  
Old 11-16-2001, 07:14 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
=\ On the editor i see it creates a new npc at 0,0 which totally defeates the purposer of this gani... since i wanna define where my shoimgs are relitive to the npc that is using the gani =(
__________________

subliminal message: 1+1=3
Reply With Quote
  #6  
Old 11-16-2001, 07:17 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
yea i noticed that
cause thats what i would have used it for
to define the position from where the gani played
hmm
stefan needs to read this and tell us how to work this
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #7  
Old 11-16-2001, 07:27 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
If I wanted a brand new nopc id put it on the lvl. so far i see script ganis are worthless
__________________

subliminal message: 1+1=3
Reply With Quote
  #8  
Old 11-16-2001, 06:32 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
like
NPC Code:

SCRIPT
if (playerenters || timeout) {
showimg 1,beer.gif,playerx+0.5,playery-1;
timeout = 0.05;
}
SCRIPTEND



If you put that into idle.gani then all players
who stand still have a beer on the head.
Reply With Quote
  #9  
Old 11-16-2001, 08:11 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
Quote:
Originally posted by Stefan
like
NPC Code:

SCRIPT
if (playerenters || timeout) {
showimg 1,beer.gif,playerx+0.5,playery-1;
timeout = 0.05;
}
SCRIPTEND



If you put that into idle.gani then all players
who stand still have a beer on the head.
have you decided if free playerworlds may use scripted ganis?
__________________
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
  #10  
Old 11-17-2001, 05:29 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Quote:
Originally posted by Stefan
like
NPC Code:

SCRIPT
if (playerenters || timeout) {
showimg 1,beer.gif,playerx+0.5,playery-1;
timeout = 0.05;
}
SCRIPTEND



If you put that into idle.gani then all players
who stand still have a beer on the head.
True but what if I want the gani script to show images where the nPC is? Like if i have an NPC using a certain gani and i want ti to display light2.png on top of it... Can i do that?
__________________

subliminal message: 1+1=3
Reply With Quote
  #11  
Old 11-17-2001, 07:06 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
the same way (playerx/y points to the gani object
(npcs are player object internally))
Reply With Quote
  #12  
Old 11-17-2001, 08:00 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
ahg.. Il have to try that
__________________

subliminal message: 1+1=3
Reply With Quote
  #13  
Old 11-17-2001, 08:18 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
I wish you could also read playerrupees (not change them)
__________________

subliminal message: 1+1=3
Reply With Quote
  #14  
Old 11-17-2001, 09:03 AM
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
Quote:
Originally posted by Falcor
I wish you could also read playerrupees (not change them)
Can you send params to the gani then read them?
for example
setani whatever,#v(playerrupees);

then

SCRIPT
showimg 0,@#p(0),playerx,playery;
SCRIPTEND

well u get the point..
__________________
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
  #15  
Old 11-17-2001, 09:31 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
You still must use #P. There is only a little improvement:
you can do showimg 1,sprite,playerx,playery; shows the
sprite of the specified number (102 -> player head)
Reply With Quote
  #16  
Old 11-17-2001, 09:43 AM
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
Quote:
Originally posted by Stefan
You still must use #P. There is only a little improvement:
you can do showimg 1,sprite,playerx,playery; shows the
sprite of the specified number (102 -> player head)
so if you added a sprite linked to Param1 for example and you did

setani whatever,beer.gif;

then it would show that sprite as the Param1 if you specified it in the showimg?

you cant do all player variables though?
__________________
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
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 09:07 AM.


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