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 06-17-2003, 02:25 AM
aaronwclark aaronwclark is offline
Registered User
Join Date: Jun 2003
Posts: 2
aaronwclark is on a distinguished road
baddies and tileobjects

ok im having trouble with baddies. i have created my own in psp7 but i cant figure out how to get them to work on editor mode. and i also need help with the tileobjects, i have them made on 16x16 tiles and i can use them on editor as well, but you cant walk on them, its like they are all wall pieces, wuts up with that, how do i fix that.
Reply With Quote
  #2  
Old 06-17-2003, 03:29 AM
Pokilty Pokilty is offline
Registered User
Join Date: Nov 2002
Posts: 101
Pokilty is on a distinguished road
I'm fairly sure you have to script the baddy yourself. I never heard of any built-in Graal baddy-skins where you can just stick a skin on top of the baddy...
__________________
"I have not failed. I've just found 10,000 ways that won't work."
"Logic is in the eye of the logician."
Reply With Quote
  #3  
Old 06-17-2003, 03:49 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
putnewcomp baddyname,x,y,imgname,power; - puts a baddy on the board (with the specified image and power).

NPC Code:

putnewcomp graysoldier,x,y,<imgname>,<power>;



Wouldnt this help? x.x'
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #4  
Old 06-17-2003, 03:13 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Re: baddies and tileobjects

As osrs said, you need to use some script commands to place custom baddies.
Also, for tiles, you need to understand that Graal has no way to realize wether you imagined your graphics as floor tiles, or wall tiles, or whatever.
You need to either use the as a graphic for an NPC and do dontblock; and drawunderplayer;, or learn how to use the addtiledef commands.
Reply With Quote
  #5  
Old 06-21-2003, 03:14 AM
TripleE TripleE is offline
Down with GK Corruption
Join Date: Jun 2003
Posts: 1,005
TripleE is on a distinguished road
Re: Re: baddies and tileobjects

Quote:
Originally posted by Loriel
As osrs said, you need to use some script commands to place custom baddies.
Also, for tiles, you need to understand that Graal has no way to realize wether you imagined your graphics as floor tiles, or wall tiles, or whatever.
You need to either use the as a graphic for an NPC and do dontblock; and drawunderplayer;, or learn how to use the addtiledef commands.
If i understand what you said about tiles right couldnt you learn to edit off the current tileset,or a good guideline that delph made for the Era tileset shows the blocking,non-blocking,water,and the otehr things.
Reply With Quote
  #6  
Old 06-21-2003, 04:25 AM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
As Loriel stated, addtiledef is something you should learn. It is indeed easier and more efficient than editing the entire tileset because then, assuming you would make the tileset available for download, it would be bulky(50 kb isn't it?). As opposed to a normal 16x16 tile, which is less than 1kb.
Reply With Quote
  #7  
Old 06-21-2003, 03:45 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
tilesets will only get bigger.

Quote:
----------------------------
New features/bug fixes in v3
----------------------------

v3 has several little improvements over the old Graal,
more will be added soon. Here a list of the
new things:

- polygons and texts can be transparent, so
you can use the script commands showpoly and
showtext together with changeimgcolors and
changeimgmode
- onwall2(x,y,width,height) to test a rectangular area
for blocking things
- more efficient speach support, it should work on Linux
too when microphone support is installed
- support for 24bit-pngs and jpegs

Things that are not supported anymore:
- setbackpal
- playersays()
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #8  
Old 06-21-2003, 11:07 PM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
HAHAHA YES!!@!!@!!

No more FRICKING BACKPAL!
I can not EMPHASIZE HOW HAPPY I AM THAT BACKPALS ARE FINALLY PUT TO THE DEATH THEY DESERVE!

Nothing is more ANNOYING than opening a LAT tryout level with a backpal in it.
Reply With Quote
  #9  
Old 06-24-2003, 09:10 PM
DarkDragoon_Lloyd DarkDragoon_Lloyd is offline
Registered User
Join Date: Aug 2002
Posts: 157
DarkDragoon_Lloyd is on a distinguished road
Send a message via AIM to DarkDragoon_Lloyd
Quote:
Originally posted by osrs
putnewcomp baddyname,x,y,imgname,power; - puts a baddy on the board (with the specified image and power).

NPC Code:

putnewcomp graysoldier,x,y,<imgname>,<power>;



Wouldnt this help? x.x'
But when you use that online, doesn't it disconnect the player saying "#a added a baddie(hacker?)" or something?
Or is that just when you use it clientsided?
__________________
Quote:
Originally posted by protagonist
YES OF COURSE I AM SO MISTAKEN LOLOL I SUCK AT THE INTERNET!
Quote:
Originally posted by unixmad
Rome have not been build in 1 day !
Reply With Quote
  #10  
Old 06-24-2003, 09:30 PM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
Yeah, baddies are serverside I think.
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 01:05 AM.


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