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-29-2001, 09:46 AM
yoshee15 yoshee15 is offline
fah baddy below :O
yoshee15's Avatar
Join Date: Jul 2001
Location: Ontario, Canada
Posts: 1,480
yoshee15 is on a distinguished road
Send a message via ICQ to yoshee15 Send a message via AIM to yoshee15
HELP ME!!!!!!!1

Ok, i cannot get my addtiledef to work, i copied the script from the one stefan released changed the png to mine, and the level name.

//#CLIENTSIDE
if (playerenters) {
addtiledef2 tiles_cement.png,cryptmain.graal,928,256;
}

Whats wrong?
__________________



my name is mmmmkay ok?

Last edited by yoshee15; 10-29-2001 at 09:54 AM..
Reply With Quote
  #2  
Old 10-29-2001, 09:55 AM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Re: addtiledef2 command

Quote:
Originally posted by yoshee15
Ok, i cannot get my addtiledef to work, i copied the script from the one stefan released changed the png to mine, and the level name.

//#CLIENTSIDE
if (playerenters) {
addtiledef2 tiles_cement.png,cryptmain.graal,928,256;
}

Whats wrong?
you just need the starting name of the leve not the entire filename...
__________________
Reply With Quote
  #3  
Old 10-29-2001, 10:00 AM
yoshee15 yoshee15 is offline
fah baddy below :O
yoshee15's Avatar
Join Date: Jul 2001
Location: Ontario, Canada
Posts: 1,480
yoshee15 is on a distinguished road
Send a message via ICQ to yoshee15 Send a message via AIM to yoshee15
Re: Re: addtiledef2 command

Quote:
Originally posted by G_yoshi


you just need the starting name of the leve not the entire filename...
Ok, I got it, the problem was while messing around, i screwed some stuff up in the offline txt in tiledefs. I fixed it and now it works =)

this thread can be closed
__________________



my name is mmmmkay ok?
Reply With Quote
  #4  
Old 10-29-2001, 10:23 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
my scripter made a script that is like addtiledef2 ,which is only available for p2p servers, but doenst use the command which can be used on a non-p2p server!!
Reply With Quote
  #5  
Old 10-29-2001, 08:38 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally posted by royce
my scripter made a script that is like addtiledef2 ,which is only available for p2p servers, but doenst use the command which can be used on a non-p2p server!!
probably uses setimg or setimgpart since there is no other way to replace tilesets unless you use addtiledef, addtiledef2, or just simply saving over pics1.png.

could have even used showimg and then changeimgpart.
__________________
Reply With Quote
  #6  
Old 10-30-2001, 07:58 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
smoking crack may impair your scripting knowledge
Reply With Quote
  #7  
Old 10-30-2001, 08:36 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by G_yoshi


probably uses setimg or setimgpart since there is no other way to replace tilesets unless you use addtiledef, addtiledef2, or just simply saving over pics1.png.

could have even used showimg and then changeimgpart.
You could actually use showimg, although it would lag far too much when you replace more then 200 tiles. (In a level, not in a tileset)
__________________

Reply With Quote
  #8  
Old 10-30-2001, 08:43 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by grim_squeaker_x
You could actually use showimg, although it would lag far too much when you replace more then 200 tiles. (In a level, not in a tileset)
why are you smoking that drugs on these forums ???
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 11:45 PM.


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