Ritualistic Forums

Go Back   Ritualistic Forums > Ritual Entertainment Games > Heavy Metal FAKK2

Reply
 
Thread Tools Display Modes
Old 12-13-2000, 12:27 PM   #1
claudec
Fanatic
 
Join Date: Feb 1999
Location: Chicago
Posts: 1,736
Default Is any of the scripting language used in Alice going to end up in future Ritual games

I noticed that Alice's scripting language uses dot notation And, it has commands very similiar to to Sinscript.

It also has a loop structure, something I have always wished was in Sinscript.
Take a look at this code snippit:

while( 1 )
{

smokeent.show();

puffent.time( 0.5 );

puffent.moveUp( dist );
puffent.rotateYdown( 270 );
waitfor( puffent );

puffent.time( wait_time );

puffent.rotateYdown( 710 );
waitfor( puffent );

smokeent.hide();

puffent.moveDown( dist );
puffent.rotateYdown( 710 );
waitfor( puffent );

// puffent.time( 1.0 );

// puffent.rotateYdown( 270 );
// waitfor( puffent );
}
}

Notice the while command. This causes everything between the {} to execute untill the condition is false. In this case it's an infinate loop since a constant was used.
IOW you can do:

while( a=3 )
{
YOUR COMMANDS
}

rather than

begin_loop:
a ifequal 3 goto finish_loop
YOUR COMMANDS
goto begin_loop
finish_loop:

Pretty neat

So is any of Rogues scripting language going to make it back to Ritual?


claudec is offline   Reply With Quote
Old 12-13-2000, 05:51 PM   #2
Wilka
Fanboy
 
Join Date: Jan 1999
Location: England
Posts: 532
Default Re: Is any of the scripting language used in Alice going to end up in future Ritual games

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
while( a=3 )
{
YOUR COMMANDS
}
<HR></BLOCKQUOTE>

Ick! I hope it's really going to be:

while( a==3 )
{
YOUR COMMANDS
}

cos "while( a=3 )" just hurts my head

Not that I'm planning on doing any map scripting anytime soon

Flags?
Wilka is offline   Reply With Quote
Old 12-13-2000, 11:33 PM   #3
kramer
Regular
 
Join Date: Oct 2000
Location: Arlington, TX
Posts: 58
Default Re: Is any of the scripting language used in Alice going to end up in future Ritual games

This is called C++

/insert sarcasm

Kramer
kramer is offline   Reply With Quote
Old 12-14-2000, 01:31 AM   #4
badman
Sheep Inspector
 
Join Date: Aug 1999
Location: London, UK
Posts: 4,247
Send a message via ICQ to badman Send a message via AIM to badman Send a message via MSN to badman
Default Re: Is any of the scripting language used in Alice going to end up in future Ritual games

That is likely, as Alice's scripting is based on SinScript .

------------------
Ritual Entertainment
badman@ritual.com
badman is offline   Reply With Quote
Old 12-14-2000, 03:01 AM   #5
claudec
Fanatic
 
Join Date: Feb 1999
Location: Chicago
Posts: 1,736
Default Re: Is any of the scripting language used in Alice going to end up in future Ritual games

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
Ick! I hope it's really going to be:

while( a==3 )
{
YOUR COMMANDS
}

cos "while( a=3 )" just hurts my head
<HR></BLOCKQUOTE>

OK when I searched the .scr files for while I only found ones like while (1) and while(a < 2) I assume the standard comparasion operators will apply. as for == well I am just used to pascal and there := is the assignment operator and = is the comparasion operator. But before that I had some Basic experience and ther = is both. I guess I just slipped


------------------
The Tutorial Index
http://www.claudec.com/lair_of_shaders/tutorials.shtml
A categorical index of tutorials available online. Making it easier for level designers to find the tutorials that contain the information they seek. So far it is for Q3A but many of the tutorials also apply to FAKK2.

FAKK2 CTF - Tiki Sheep http://www.fakkyou.com/ctf/
Sin Post http://www.sinpost.com/
claudec is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:39 PM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.