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 12-13-2008, 03:45 AM
[email protected] jamerson61894@yahoo.com is offline
Banned
Join Date: Jul 2008
Posts: 83
jamerson61894@yahoo.com is an unknown quantity at this point
Unhappy Tileset help needed.

Hello everyone, I have a question. I am learning to script and I decided to get an rc on Testbed Server. It's a pretty cool server. Basically you can go on there, give them your ip information, and they confirm it and give you personal folders. So, I decided to make a tileset to test the new gmap I made on there. Suppose the tileset's name is "Testtileset1.gif", I make a level using offline editor, and upload it to the file browser. I try doing that and it basically shows a messed up level from the classic tileset. How do I get it to show my tileset I made? Is it a weapon script I have to have? I would appreciate it .
Reply With Quote
  #2  
Old 12-13-2008, 04:12 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Well, on the Testbed Server, (If you don't have NC on there, skip down to the next paragraph) create a weapon npc named
"Personal/communityname/Tileset" and add something like..
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
addtiledef("Testtileset1.gif""testgmap_"1);
  
// Change "testgmap_" to what your gmap levels start with
  // Change 1 into 0 if your tileset is using the same setup as pics1.png does

And then add yourself that weapon by setting your attributes.



If you don't have NC on there, you would have to use a level npc.
Simply put the above script (The one in PHP tags) into your gmap level(s) and then try it out.

Oh, and if you haven't done this yet, ask Tig or some high admin to put your gmap name into server options. (This is important to get your gmap to work)
__________________
Reply With Quote
  #3  
Old 12-13-2008, 06:11 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Chompy View Post
Oh, and if you haven't done this yet, ask Tig or some high admin to put your gmap name into server options. (This is important to get your gmap to work)
loadmap("mapname"); does the same thing as putting it in serveroptions.
__________________
Follow my work on social media post-Graal:Updated august 2025.
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:41 PM.


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