![]() |
NPC Level Generator
Make an NPC that can generate levels, and you can add things like "addobject x8 y8 table"
that would be neat. |
how exactly would taht work???
|
~AlphaFlame~
... and just why do you need an NPC to make levels for you? You have the level generator, you have the level editor... why oh why do you need an NPC... sheesh... lazy people... Oh, and they have something similar that's a command called PUTOBJECT... |
thats what that new level type is for, its described in the newfeatures2001.txt file somewhere
|
clownjet wing
|
Re: NPC Level Generator
Quote:
|
I made an npoc that when you said somthiong like laytable a table would apear above you
|
Quote:
|
Quote:
|
It's a pretty easy script. I made one that maintained object lists, moved them, deleted them, added them etc but it was pretty useless.
|
Quote:
|
my friend is working on something that pretty much does that.
|
No no, I mean generate it in the game, like you use an npc and it generates a new level and stuff
|
yeah ya can...
1 Attachment(s)
yes u can, dl this... kai made it, run bedintro.graal, very good scripting if i may say so...
|
Re: yeah ya can...
Quote:
|
Re: Re: yeah ya can...
Quote:
|
you cant do that no, but you can edit tiles, but if you updated the level, all changes would be lost...
|
Re: Re: Re: yeah ya can...
Quote:
|
Re: Re: Re: Re: yeah ya can...
Quote:
|
a lot of putnpcs on a black level would work.
|
1. that would lag bad
2. u wouldnt b able to walk anywhere |
It'd lag, yes, but dontblock and drawunderplayer would make it feel like a tile...just have a walkable bg
|
Would be cool
Timec onsuming though if where talking about NW files and there nice lil Shiz.. This is a good example of what that script command would look like... createlevel new_level.nw,{ GLEVNW01 BOARD 0 0 64 0 gJgKgJgKgJgKgJgKgJgKgJgKgJgKIdgJgKIdIdgJgKIdIdgJgK gZgagJgKIdIdgJgKgZgaIdIdgJgKgJgKIdIdIdgJgKIdIdIdgJ gKIdgJgKIdgJgKIdIdgJgKgJgKId BOARD 0 1 64 0 gZgJgKgagZgagZgJgKgagZgagZgJgKgZgagJgKgZgagJgKgZgJ gKgqgZgagJgKgZgagpgqgJgKgZgagZgJgKIdgJgKgagJgKIdgZ gJgKgZgaIdgZgaIdIdgZgagZgaId BOARD 0 2 64 0 gpgZgagJgKgJgKgZgagqgpgJgKgZgagJgKgZgagpgJgKgagJgK gagJgKgJgKgagJgKgJgKgZgagJgKgpgZgagJgKgJgKgZgagJgK gZgJgKgJgKgpgqgJgJgKgKgpgqgJ BOARD 0 3 64 0 gJgKgKgZgagZgagpgqNFNFgZgagpgqgZgagpgJgKgZgagqgZga gqgZgagZgagqgZgagZgagpgqgZgagJgKgqgZgagZgagpgqgZga gpgZgagZgagJgKgZgZgagagJgKgZ BOARD 0 4 64 0 gZgagagpgqgpgqNFNFNFNFgpgqNFNFgpgqNFgZgagpgqNFgpgq NFgpgqgpgqNFgpgqgpgqNFNFgpgqgZgaNFgpgqgpgqNFNFgpgq NFgpgqgpgqgZgagpgpgqgqgZgagp BOARD 0 5 64 0 gJgKgqNFNFNFNFNFNFNFNFNFNFNFNFNFNFNFgpgqNFNFNFNFNF NFNFNFNFNFNFNFNFNFNFNFNFNFNFgpgqNFNFNFNFNFNFNFNFNF NFNFNFNFNFgpgqNFNFNFgJgKgJgK ect ect ect. NPC light2.png -4 60 if (created) { setcoloreffect .5,1,0,0.99; setzoomeffect 2; dontblock; drawaslight; } NPCEND }; (some source taken from a level I made) Lots of script. Acually now that i think of it you can just make the level in the Level Editor and copy the source from Notepad Not a bad idea. An NPC creating new levels. Could be used fro timed events. Maybe overwrite a lvl with a newer one. such as a town being build. Lots of posibilities. But then again. Lots of disadvantages... Couldnt be used on non-p2p becuase hackers could overwrite exsisteing levels with blank ones. @.o On p2p however this could be a Server-Side operation. |
And then we would need another serverside command..
updatelevel; and/or udatelevel2 level; Wich i might add is probably giving scripters TOO much freedom. |
I r use script to play king.
change peoples names with npc is fun. and thier heads and stuff like that and warin them around and all that junk and changing the level tiles that's so ez to do. |
| All times are GMT +2. The time now is 11:01 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.