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 04-27-2003, 11:32 PM
kenyonandelliot kenyonandelliot is offline
Registered User
Join Date: May 2002
Posts: 1,017
kenyonandelliot is on a distinguished road
CTF Event

Anyone know how to script a CTF event like the flags and how to keep the points straight? And like when you get hit you lose the flag?
Reply With Quote
  #2  
Old 04-28-2003, 07:49 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
It's policy to not ask for scripts, make your own and we'll be happy to help you with it.
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #3  
Old 04-28-2003, 01:49 PM
Pokilty Pokilty is offline
Registered User
Join Date: Nov 2002
Posts: 101
Pokilty is on a distinguished road
It's basically just server. flags and if (playerhit) but you gotta at least try the script yourself.
__________________
"I have not failed. I've just found 10,000 ways that won't work."
"Logic is in the eye of the logician."
Reply With Quote
  #4  
Old 04-28-2003, 10:34 PM
Pokilty Pokilty is offline
Registered User
Join Date: Nov 2002
Posts: 101
Pokilty is on a distinguished road
Quote:
Originally posted by Kaimetsu
Using serverflags for this stuff is not cool :-/
It is if the event spans over several levels like I was thinking =p
__________________
"I have not failed. I've just found 10,000 ways that won't work."
"Logic is in the eye of the logician."
Reply With Quote
  #5  
Old 04-28-2003, 11:28 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Pokilty

It is if the event spans over several levels like I was thinking =p
gmaps.
Reply With Quote
  #6  
Old 04-29-2003, 04:47 AM
Pokilty Pokilty is offline
Registered User
Join Date: Nov 2002
Posts: 101
Pokilty is on a distinguished road
Yea pretty much.
__________________
"I have not failed. I've just found 10,000 ways that won't work."
"Logic is in the eye of the logician."
Reply With Quote
  #7  
Old 04-29-2003, 06:05 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by Python523

gmaps.
Very few pw's use gmaps. and even fewer understand them. That is not a fair suggestion.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #8  
Old 04-30-2003, 04:06 AM
cynicalfree1 cynicalfree1 is offline
Registered User
Join Date: Mar 2003
Posts: 100
cynicalfree1 is on a distinguished road
Most of the main playerworlds use gmaps. PW's who dont have anyone to help construct a gmap or explain it to them dont have one to use.Maloria doesnt have a gmap. Someone should help them.
Reply With Quote
  #9  
Old 04-30-2003, 07:52 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
Give them a little invisible -ctfsystem npc and have it store the events instead
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #10  
Old 04-30-2003, 08:33 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
You will need multiple NPCs (ofcourse) for the flag etc.

First, you might need two stakes and if the guild (?) of the player is Red Team or Blue Team and he has the flag
(streqauls(#s(server.ctfowner),#a)){
his team get's a point.
You'll also need a sort of system npc, with
if (playerhurt){
and then the flag gets back at it's original place (?), setstring server.ctfowner,none.
then, the flag.
if the player touches the flag, setstring server.ctfowner,#a.
This hopefully helps you.
Oh and don't use this with your current CTF level ;P
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #11  
Old 05-01-2003, 06:18 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
GoZelda: strequals*
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #12  
Old 05-01-2003, 03:23 PM
Dude6252000 Dude6252000 is offline
More often known as Karsh
Dude6252000's Avatar
Join Date: May 2002
Location: USA.
Posts: 2,603
Dude6252000 is on a distinguished road
Send a message via AIM to Dude6252000
I have a question. Why are you making a CTF, when you don't know how to make the NPCs or levels? :x
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #13  
Old 05-01-2003, 05:46 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Oh yes iv've heard of a NPCserver but i only know addweapon and removeweapon and don't exactly know how they work :x
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #14  
Old 05-01-2003, 10:31 PM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
newfeatures.txt's will help you a lot if you read them
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #15  
Old 05-02-2003, 04:49 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
I haven't seen anything but then i didn't look for NPCserver commands, but i did browse trough for my commands file...
Is it 2001 or 2002?
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
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 06:14 AM.


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