Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-03-2001, 04:15 AM
Wing Wing is offline
Registered User
Wing's Avatar
Join Date: Sep 2001
Posts: 727
Wing is on a distinguished road
Send a message via ICQ to Wing Send a message via AIM to Wing
NPC Level Generator

Make an NPC that can generate levels, and you can add things like "addobject x8 y8 table"

that would be neat.
__________________
Reply With Quote
  #2  
Old 10-03-2001, 04:20 AM
ZORG1986 ZORG1986 is offline
Registered User
ZORG1986's Avatar
Join Date: Jul 2001
Location: England - Yes thats the small Island in Europe that Ownz you all.
Posts: 783
ZORG1986 is on a distinguished road
Send a message via ICQ to ZORG1986 Send a message via AIM to ZORG1986
how exactly would taht work???
__________________


Zorg (Era Staff) - Contact : [email protected]
Reply With Quote
  #3  
Old 10-03-2001, 04:40 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~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...
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #4  
Old 10-03-2001, 04:46 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
thats what that new level type is for, its described in the newfeatures2001.txt file somewhere
Reply With Quote
  #5  
Old 10-03-2001, 05:50 AM
Lionel-Jonson Lionel-Jonson is offline
Fly away on my zephyr
Join Date: Jul 2001
Location: Never
Posts: 2,798
Lionel-Jonson is on a distinguished road
Send a message via ICQ to Lionel-Jonson Send a message via AIM to Lionel-Jonson Send a message via Yahoo to Lionel-Jonson
clownjet wing
Reply With Quote
  #6  
Old 10-03-2001, 08:57 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Re: NPC Level Generator

Quote:
Originally posted by Wing
Make an NPC that can generate levels, and you can add things like "addobject x8 y8 table"

that would be neat.
There is one!
Reply With Quote
  #7  
Old 10-04-2001, 04:00 AM
Darkspector Darkspector is offline
Registered User
Join Date: May 2001
Location: under the newjersey turnpike in a styrfoam box
Posts: 380
Darkspector is on a distinguished road
Send a message via ICQ to Darkspector
I made an npoc that when you said somthiong like laytable a table would apear above you
__________________
[img]ftp://dragonlance.keenspace.com/20020902.gif[/img]
Reply With Quote
  #8  
Old 10-04-2001, 05:49 AM
Lionel-Jonson Lionel-Jonson is offline
Fly away on my zephyr
Join Date: Jul 2001
Location: Never
Posts: 2,798
Lionel-Jonson is on a distinguished road
Send a message via ICQ to Lionel-Jonson Send a message via AIM to Lionel-Jonson Send a message via Yahoo to Lionel-Jonson
Quote:
Originally posted by Darkspector
I made an npoc that when you said somthiong like laytable a table would apear above you
no you didn't.
Reply With Quote
  #9  
Old 10-04-2001, 06:10 AM
spi spi is offline
mmm cookies..
spi's Avatar
Join Date: May 2001
Location: NOT CANADA
Posts: 2,769
spi is on a distinguished road
Send a message via AIM to spi Send a message via Yahoo to spi
Quote:
Originally posted by Lionel-Jonson


no you didn't.
Reply With Quote
  #10  
Old 10-04-2001, 05:38 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
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.
Reply With Quote
  #11  
Old 10-04-2001, 05:55 PM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
Quote:
Originally posted by entravial
~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...
putobject won't work online.
Reply With Quote
  #12  
Old 10-04-2001, 10:43 PM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
my friend is working on something that pretty much does that.
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #13  
Old 10-05-2001, 08:15 AM
Wing Wing is offline
Registered User
Wing's Avatar
Join Date: Sep 2001
Posts: 727
Wing is on a distinguished road
Send a message via ICQ to Wing Send a message via AIM to Wing
No no, I mean generate it in the game, like you use an npc and it generates a new level and stuff
__________________
Reply With Quote
  #14  
Old 10-05-2001, 08:36 AM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
yeah ya can...

yes u can, dl this... kai made it, run bedintro.graal, very good scripting if i may say so...
Attached Files
File Type: zip dream.zip (10.8 KB, 117 views)
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #15  
Old 10-05-2001, 08:51 AM
Wing Wing is offline
Registered User
Wing's Avatar
Join Date: Sep 2001
Posts: 727
Wing is on a distinguished road
Send a message via ICQ to Wing Send a message via AIM to Wing
Re: yeah ya can...

Quote:
Originally posted by Sep3kP2P
yes u can, dl this... kai made it, run bedintro.graal, very good scripting if i may say so...
I'm not talking about tiles!!! I'M TALKING ABOUT AN NPC GENERATING A .GRAAL LEVEL, MAKING A NEW ONE,
__________________
Reply With Quote
  #16  
Old 10-05-2001, 05:33 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Re: Re: yeah ya can...

Quote:
Originally posted by Wing


I'm not talking about tiles!!! I'M TALKING ABOUT AN NPC GENERATING A .GRAAL LEVEL, MAKING A NEW ONE,
You can't edit files in GScript, dude.
Reply With Quote
  #17  
Old 10-05-2001, 10:37 PM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
you cant do that no, but you can edit tiles, but if you updated the level, all changes would be lost...
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #18  
Old 10-06-2001, 06:43 AM
Wing Wing is offline
Registered User
Wing's Avatar
Join Date: Sep 2001
Posts: 727
Wing is on a distinguished road
Send a message via ICQ to Wing Send a message via AIM to Wing
Re: Re: Re: yeah ya can...

Quote:
Originally posted by Kaimetsu


You can't edit files in GScript, dude.
Exactly, wouldnt it be neat to add support for it?
Reply With Quote
  #19  
Old 10-06-2001, 11:06 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Re: Re: Re: Re: yeah ya can...

Quote:
Originally posted by Wing


Exactly, wouldnt it be neat to add support for it?
Yeah, and then scripters could become hackers.
Reply With Quote
  #20  
Old 10-06-2001, 11:42 PM
JeffTL JeffTL is offline
Registered User
Join Date: Sep 2001
Posts: 374
JeffTL is on a distinguished road
a lot of putnpcs on a black level would work.
__________________
Reply With Quote
  #21  
Old 10-07-2001, 01:09 AM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
1. that would lag bad
2. u wouldnt b able to walk anywhere
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #22  
Old 10-07-2001, 06:23 AM
JeffTL JeffTL is offline
Registered User
Join Date: Sep 2001
Posts: 374
JeffTL is on a distinguished road
It'd lag, yes, but dontblock and drawunderplayer would make it feel like a tile...just have a walkable bg
__________________
Reply With Quote
  #23  
Old 10-07-2001, 08:12 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
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.
__________________

subliminal message: 1+1=3

Last edited by Falcor; 10-07-2001 at 08:17 AM..
Reply With Quote
  #24  
Old 10-07-2001, 08:15 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
And then we would need another serverside command..

updatelevel;

and/or

udatelevel2 level;

Wich i might add is probably giving scripters TOO much freedom.
__________________

subliminal message: 1+1=3

Last edited by Falcor; 10-07-2001 at 08:24 AM..
Reply With Quote
  #25  
Old 10-07-2001, 11:31 AM
SagaTCN SagaTCN is offline
Registered User
Join Date: Aug 2001
Location: West Michigan
Posts: 190
SagaTCN is on a distinguished road
Send a message via ICQ to SagaTCN Send a message via AIM to SagaTCN Send a message via Yahoo to SagaTCN
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.
__________________

Rogue World
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 10:42 PM.


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