![]() |
Ideal scripting tool
Has anyone tried to write an editor control NPC that would put random things all over the pure grass of the level, to save time from placing all those little ambient objects like flowers and grass tufts around?
|
Re: Ideal scripting tool
Quote:
|
Murasamune made one of those...
Posted by Cyanide SR71 |
that would be cool and easy to make :P
|
I personally have one, thugh it's not an actual editor CNPC as much as just some NPC in a level. Bah, I could probably attach the whole thing but I'm lazy.
|
I WAS thinking about making one, but since it is already made I'll just get it from someone
|
Quote:
i find it funny |
I actually made a few that not only did that, using server arrays, but also did things like use the board command to tile ugly looking levels. I just made it so that every time a playerentered and level it would check the level and add a few things, i should post it...
|
Quote:
|
Yes, please do share with the less enlightend of us
|
Quote:
i will post it when i get home. |
Re: Re: Ideal scripting tool
Quote:
it would be cool to make a like gscripting engine that you could run scripts on, like make it in c and it would work like an npc served graal...hmmmmm....ideas. |
There already is something like that in the normal graal exe.
Infact its exactly like that. However you need to know how to make graal 2002 styule levels for it to work. |
Quote:
|
Quote:
|
Quote:
Its not even an NPC its coded into the tile. Wouldn't it be better to make new things instead of exsisting stuff, or at least make the exsisting stuff better? |
do you know specifically what we are talking about?
Quote:
|
Yes.
You want an auto detailer for empty grass. Things like long grass, swamp, bushes etc would be added into the correct place. And if you had read my message saying that we already have that, you just need to know how to make 2k2 levels to be able to use it. This is not an NPC which means no lag. It is coded into the tile. |
I made one
Looks sorta like 2k1 grass, I was going to make a custome one for Faheria, becasue we have like 3 or so types of normal grass not including long grass and other decorative things. |
whats with the lvl thing on the left
|
No one post any scripts that will help people tile ther elevel faster.
More Newbies Making Servers |
If I had wanted an NPC like the G2K2 one, I would have said so. I mean an editor control NPC that actually puts the tiles on the level. But you probably all knew that, except for the people in this thread. I AM making a server, but I am not a newb, and the server is not the reason for this post, rather:
1. I don't post here much because I only recently started caring about other people's opinions. 2. The script would be good enough to allow Stefan to add it as another editor-control NPC in the Dev pack. So, I think this one script, posted by some kindly soul, would be helpful to EVERYONE in Graal, instead of just the few that are keeping it to themselves. Please, just don't insult something you know would be a welcome addition to the Graal world, and don't insult me either, because, as I said, I don't post here (or read here) much. |
Sure, go ahead, make an auto tiler and more editor NPCs, ruin the purpose for LATs existing :rolleyes:
It will just have more people using them to become a LAT on a server without doing anything but opening a crappy level |
Quote:
|
1 Attachment(s)
I have hacked together a version from the sandpath script. Put it in your NPCs folder, and enjoy! :cool:
Just please don't mock how horrible this is. |
Quote:
|
I'm really trying to figure that out right now. Anyone know?
|
LOL hex has nothing to do with tiles in graal =D
|
this question wasn't directed at me, but I feel compelled to answer
Hex is a 16-digit number system (as opposed to our 10-digit system) so, in Hex 1 is 16^0 10 is 16^1 100 is 16^2 where in standard 1 is 10^0 10 is 10^1 100 is 10^2 to have these extra 6 digits, the letters A-F are used Hex to Standard conversions 5 - 5 9 - 9 A -10 C - 12 F - 15 10 - 16 In graal, to show a number is hex, we start off this number with 0x 0x1AF 0xFF the good thing about hex, is that every value that can be stored in a byte is a two digit number in hex, because "FF" is 255, and that is the max a byte can hold...so and two digits will be a byte I am bored, so hey |
yes, especially how it is 0-15 and stuffs, but whatever
|
Quote:
|
Quote:
|
Quote:
Quote:
Quote:
|
I think you people are missing the point of the hex codes here. LOOK at the script and see that those tiles are listed. I think I've halfway figured it out, in that it counts downwards until 64 then loops, but I stil can't figure out the hex codes for some of the later grasss tiles. Oh well. :(
|
1 Attachment(s)
Hello. I have figured out the hex codes, and updated the script so now it puts down more of the misc. grass tiles, plus it randomly puts waves in the water. It's called "Ambience" by the way.
|
Quote:
|
I figured out the tile layering thing:
0xABC, where A = Section, vertical, of 256 tiles in a 16x16 block dividing Pics1.png into 16 sections: 0 2 4 6 8 A C E 1 3 5 7 9 B D F B = Y plane of each array from A. C = X plane of each array from A. Also, I have added random tree placing, but I'm not giving that out, as it took too long. Anyway, I'm posting an image of what the script does to an empty level: http://img.z0.ca/gfx/Ambience.png |
nice bud somehow the script wont work with me:confused:
|
So did you put it in your 'npcs' folder? And to use it, just select it from the editor NPCs and left click once on the map.
|
Quote:
|
| All times are GMT +2. The time now is 01:21 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.