Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 06-26-2001, 03:26 AM
Solareon Solareon is offline
Registered User
Solareon's Avatar
Join Date: Jun 2001
Location: In a corn field
Posts: 548
Solareon is on a distinguished road
Send a message via AIM to Solareon
maybe even

linking the games together so you can have multiplayer. but that would be difficult without an npc server. not sure if possible but maybe.

here the basic concept for the Graalboy

the game script is as follows

if (abuttonpressed) {
scripted part of what happens when presses a
}
if (dbuttonpressed) {
scripted part of what happens when presses d
}

to add more functionality to the game it would be something like after an event runs and changes the image shown, it sets a flag saying the current state of the game. and does all the changes internally.

etc. for s and any other buttons you want.
The Game Engine is what calls the functions of the script. By doing

putnpc graalboy_game1.txt,0,0; //loading part of game engine
callnpc... with the name of the event which is called

at the end of the game it calls destroynpc or whatever the command is to remove an npc from the level. it would have to have somethign to make the player like invunerable to damage so they don't get pked while playing.
__________________
-Solareon Doll, thanks to BirdBird_0 for making it
-
First person to choke on a gummi bear and cough it up =)

AIM: SolareonX
flame me 24/7 roffel
-- l33t
JubieSaotomeX < Me
Reply With Quote
 


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:52 AM.


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