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 08-16-2012, 05:58 PM
GoDoT GoDoT is offline
Coder
GoDoT's Avatar
Join Date: Jul 2012
Location: Level Editor
Posts: 37
GoDoT is an unknown quantity at this point
Send a message via AIM to GoDoT
Arrow Baddy NPC

Hello, I am creating a level online in which I need the Arrow shooting baddy. I would get the code from the NPC offline, but I somehow cant access the script window for that certain NPC. If you could leave it in the posts below, that would be great.
Thanks
GoDoT
__________________
Origumu Godu (Forge)
iZone Levels Team
Email: [email protected]

Last edited by GoDoT; 08-16-2012 at 05:59 PM.. Reason: Grammatical Error
Reply With Quote
  #2  
Old 08-16-2012, 06:13 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Baddies in previous versions have been hardcoded, so there's no NPC script for them. I suggest making your own.
__________________
Reply With Quote
  #3  
Old 08-17-2012, 07:33 PM
PeterGraal PeterGraal is offline
Server Developer
Join Date: Jul 2012
Location: USA
Posts: 4
PeterGraal is on a distinguished road
Hmm, I had one in a server somewhere... I'll look it up for ya.
Reply With Quote
  #4  
Old 08-17-2012, 09:43 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Crow View Post
Baddies in previous versions have been hardcoded, so there's no NPC script for them. I suggest making your own.
To expand on this:

Things like signs, baddies, and chests are all not actually scripts, just special parts of the level format that the server or client interprets. They're actually part of the game client, not scripted, which makes them a bad choice to be used (first because they're effectively deprecated or not working, although I think Dusty disagrees that signs are; second because you have little control over them).

Place one in a level using the level editor and open the level with a text editor.
__________________
Reply With Quote
  #5  
Old 08-17-2012, 09:48 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by cbk1994 View Post
although I think Dusty disagrees that signs are;
Hmm? That was quite random lol.
Reply With Quote
  #6  
Old 08-17-2012, 09:56 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DustyPorViva View Post
Hmm? That was quite random lol.
For some reason I was thinking you'd disputed that signs are effectively deprecated in the past. If not, never mind .
__________________
Reply With Quote
  #7  
Old 08-17-2012, 09:59 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by cbk1994 View Post
For some reason I was thinking you'd disputed that signs are effectively deprecated in the past. If not, never mind .
They're just not flexible from a scripting position. As far as I know there is absolutely no way to gather sign data from the level from either serverside or clientside, so it's either default signs or completely customized signs from the ground up. If you could at least get sign data on the serverside you could work default signs(which are simple to use when designing levels) into a custom script, but you can't.
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 01:27 AM.


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