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 11-23-2001, 11:58 AM
Knight_Vincent Knight_Vincent is offline
Registered User
Knight_Vincent's Avatar
Join Date: Aug 2001
Location: Troy, MI
Posts: 682
Knight_Vincent is on a distinguished road
Send a message via ICQ to Knight_Vincent Send a message via AIM to Knight_Vincent Send a message via Yahoo to Knight_Vincent
plz help me

Hi,

I know your all probly gonna yell at me but i have been working on a house that if touched by fire would catch on fire. My problem is that it is very very very laggy... is there anyway to make it jut ramdomly place fire on the house with out locking it up? I realy need help on this... plz.

-Knight_Vincent
__________________
"Did you write the Book of Love And do you have faith in God above If the Bible tells you so Do you believe in rock 'n roll Can music save your mortal soul And can you teach me how to dance real slow Well, I know that you're in love with him 'Cause I saw you dancin' in the gym You both kicked off your shoes Man, I dig those rhythm and blues I was a lonely teenage broncin' buck With a pink carnation and a pickup truck But I knew I was out of luck The day the music died" --Don McLean 'American Pie'
Reply With Quote
  #2  
Old 11-23-2001, 02:23 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
i'll just give you some hints ....
first of all use random variables to place it thoughout the house .... then make sure after it places a new one t deletes an old one to keep lag down ....

Last edited by nyghtGT; 11-23-2001 at 02:42 PM..
Reply With Quote
  #3  
Old 11-23-2001, 02:27 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: plz help me

Quote:
Originally posted by Knight_Vincent
Hi,

I know your all probly gonna yell at me but i have been working on a house that if touched by fire would catch on fire. My problem is that it is very very very laggy... is there anyway to make it jut ramdomly place fire on the house with out locking it up? I realy need help on this... plz.

-Knight_Vincent
If you used putnpc, don't use it and find a better way
Reply With Quote
  #4  
Old 11-23-2001, 09:50 PM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Re: Re: plz help me

Quote:
Originally posted by Python523

If you used putnpc, don't use it and find a better way
yes putnpc can be laggy.
but if there is no other resort dont hesitate to use it.
If you want to make the fire disappear after the player re-enters the level, then you could do it locally using showimg with over index of 199, or global using a index below 200.
If you would like the fire to stay and use showimg, you could always save the random fire positions to the string, and when the player re-enters the level the script checks them out and shows the fireimg on the house again.
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #5  
Old 11-24-2001, 03:30 AM
Knight_Vincent Knight_Vincent is offline
Registered User
Knight_Vincent's Avatar
Join Date: Aug 2001
Location: Troy, MI
Posts: 682
Knight_Vincent is on a distinguished road
Send a message via ICQ to Knight_Vincent Send a message via AIM to Knight_Vincent Send a message via Yahoo to Knight_Vincent
Ok,

I have gotten the house and fire done but how could i make light efects and have it check if you have a certain wepon and that its fired?

-Knight_Vincent
__________________
"Did you write the Book of Love And do you have faith in God above If the Bible tells you so Do you believe in rock 'n roll Can music save your mortal soul And can you teach me how to dance real slow Well, I know that you're in love with him 'Cause I saw you dancin' in the gym You both kicked off your shoes Man, I dig those rhythm and blues I was a lonely teenage broncin' buck With a pink carnation and a pickup truck But I knew I was out of luck The day the music died" --Don McLean 'American Pie'
Reply With Quote
  #6  
Old 11-24-2001, 04:05 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
Post ...

dude, those are easy scripts! The lighting effect script is even in the predefined NPC section. I suggest you do some studying on newfeatures.txt and commands.rtf Those will help you in the long run. Experiment untill something works.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #7  
Old 11-24-2001, 04:19 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: ...

Quote:
Originally posted by mikepg
dude, those are easy scripts! The lighting effect script is even in the predefined NPC section. I suggest you do some studying on newfeatures.txt and commands.rtf Those will help you in the long run. Experiment untill something works.
The problem with the commands.rtf file is that it tells you the command and the different sections to it, but if you don't know what to put in index as an example, it's almost useless
Reply With Quote
  #8  
Old 11-24-2001, 09:00 AM
Knight_Vincent Knight_Vincent is offline
Registered User
Knight_Vincent's Avatar
Join Date: Aug 2001
Location: Troy, MI
Posts: 682
Knight_Vincent is on a distinguished road
Send a message via ICQ to Knight_Vincent Send a message via AIM to Knight_Vincent Send a message via Yahoo to Knight_Vincent
:confused:

Eh,

Come on people get it and play on the lvl... the sign tells you what to do... oh and its the building on the right that starts the fire, the one with the sign. The whole thing is 6 secounds long .
Oh and tell me what ya think of it... oh and i know the fires over kill .

-Knight_Vincent
Attached Files
File Type: nw test-fire.nw (40.0 KB, 163 views)
__________________
"Did you write the Book of Love And do you have faith in God above If the Bible tells you so Do you believe in rock 'n roll Can music save your mortal soul And can you teach me how to dance real slow Well, I know that you're in love with him 'Cause I saw you dancin' in the gym You both kicked off your shoes Man, I dig those rhythm and blues I was a lonely teenage broncin' buck With a pink carnation and a pickup truck But I knew I was out of luck The day the music died" --Don McLean 'American Pie'

Last edited by Knight_Vincent; 11-24-2001 at 12:07 PM..
Reply With Quote
  #9  
Old 11-24-2001, 12:00 PM
Knight_Vincent Knight_Vincent is offline
Registered User
Knight_Vincent's Avatar
Join Date: Aug 2001
Location: Troy, MI
Posts: 682
Knight_Vincent is on a distinguished road
Send a message via ICQ to Knight_Vincent Send a message via AIM to Knight_Vincent Send a message via Yahoo to Knight_Vincent
Burn Baby Burn!

Eh hahahah! Heres a screan shot of the buildings on fire... the whole procses is timed and takes about 6 secs to run through it. Heres a screanshot of it done.

-Knight_Vincent
Attached Images
File Type: bmp burn baby burn.bmp (681.7 KB, 190 views)
__________________
"Did you write the Book of Love And do you have faith in God above If the Bible tells you so Do you believe in rock 'n roll Can music save your mortal soul And can you teach me how to dance real slow Well, I know that you're in love with him 'Cause I saw you dancin' in the gym You both kicked off your shoes Man, I dig those rhythm and blues I was a lonely teenage broncin' buck With a pink carnation and a pickup truck But I knew I was out of luck The day the music died" --Don McLean 'American Pie'

Last edited by Knight_Vincent; 11-24-2001 at 12:02 PM..
Reply With Quote
  #10  
Old 11-24-2001, 06:03 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
sorry to be so rude, but that does not look right .... it looks retarded ...
Reply With Quote
  #11  
Old 11-24-2001, 08:48 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
Quote:
Originally posted by Knight_Vincent
Burn Baby Burn!

Eh hahahah! Heres a screan shot of the buildings on fire... the whole procses is timed and takes about 6 secs to run through it. Heres a screanshot of it done.

-Knight_Vincent
this is better
Attached Images
File Type: bmp burn baby burn[1].bmp (681.7 KB, 153 views)
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #12  
Old 11-24-2001, 10:45 PM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
...

make you attachments .png, they are WAY smaller than .bmp
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #13  
Old 11-24-2001, 10:49 PM
Knight_Vincent Knight_Vincent is offline
Registered User
Knight_Vincent's Avatar
Join Date: Aug 2001
Location: Troy, MI
Posts: 682
Knight_Vincent is on a distinguished road
Send a message via ICQ to Knight_Vincent Send a message via AIM to Knight_Vincent Send a message via Yahoo to Knight_Vincent
Ok,

That was all just a test with lighting... the real fire does not look like that... i just wana make it if you have a torch and to kept it on a house for about 1 min... it would burn for a sec...

-Knight_Vincent
__________________
"Did you write the Book of Love And do you have faith in God above If the Bible tells you so Do you believe in rock 'n roll Can music save your mortal soul And can you teach me how to dance real slow Well, I know that you're in love with him 'Cause I saw you dancin' in the gym You both kicked off your shoes Man, I dig those rhythm and blues I was a lonely teenage broncin' buck With a pink carnation and a pickup truck But I knew I was out of luck The day the music died" --Don McLean 'American Pie'
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:13 PM.


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