Profile | Register | Calendar | FAQ | Search | Home 

VWBB : Powered by vBulletin version 2.2.6 VWBB > FreeSpace Watch > FreeSpace 1/2 MODs Discussion > Writing your own Sexps, courtesy of DaveB
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Dynamo
VWBB Admin

Registered: Jul 2000
Location: Dayton
Posts: 1430

Writing your own Sexps, courtesy of DaveB

For those of you who don't read the FS Watch front page, DaveB has released an article on how to create your own sexps in the source code. I suggest you all read it now and not later.

The article can be had [url=http://www.volitionwatch.com/articles/ArticleDisp.php?ID=53]here[/url].

Report this post to a moderator | IP: Logged

Old Post 05-03-2002 11:07 PM
Dynamo is offline Click Here to See the Profile for Dynamo Click here to Send Dynamo a Private Message Visit Dynamo's homepage! Find more posts by Dynamo Add Dynamo to your buddy list Edit/Delete Message Reply w/Quote
Dynamo
VWBB Admin

Registered: Jul 2000
Location: Dayton
Posts: 1430

Writing your own Sexps, courtesy of DaveB

For those of you who don't read the FS Watch front page, DaveB has released an article on how to create your own sexps in the source code. I suggest you all read it now and not later.

The article can be had [url=http://www.volitionwatch.com/articles/ArticleDisp.php?ID=53]here[/url].

Report this post to a moderator | IP: Logged

Old Post 05-03-2002 11:07 PM
Dynamo is offline Click Here to See the Profile for Dynamo Click here to Send Dynamo a Private Message Visit Dynamo's homepage! Find more posts by Dynamo Add Dynamo to your buddy list Edit/Delete Message Reply w/Quote
IceFire
VWBB Admin

Registered: Jul 2000
Location: The Cold Northland!
Posts: 8392

Sweet!

__________________
- IceFire
Volition Watch Project Manager
[url=http://www.volitionwatch.com]Volition Watch[/url], [url=http://freespace.volitionwatch.com/blackwater]BlackWater Operations[/url], [url=http://freespace.volitionwatch.com/babylon]The Babylon Project[/url], [url=http://terra.sourceforge.net]Machina Terra[/url], [url=http://www.3dap.com/hlp/hosted/ott/]Over The Top[/url]

Report this post to a moderator | IP: Logged

Old Post 05-04-2002 01:13 AM
IceFire is offline Click Here to See the Profile for IceFire Click here to Send IceFire a Private Message Visit IceFire's homepage! Find more posts by IceFire Add IceFire to your buddy list Edit/Delete Message Reply w/Quote
BabProj Team
I'm New! Laugh At Me!

Registered: Apr 2001
Location:
Posts: 1901

Sweet!

__________________
- The Babylon Project Team

Report this post to a moderator | IP: Logged

Old Post 05-04-2002 01:13 AM
BabProj Team is offline Click Here to See the Profile for BabProj Team Click here to Send BabProj Team a Private Message Find more posts by BabProj Team Add BabProj Team to your buddy list Edit/Delete Message Reply w/Quote
Sigma957
Babylon Project

Registered: Feb 2001
Location: South Australia,Australia,Sol
Posts: 1185

Great.....

__________________
"When it is time, come to this place, call our name, we will be here"-Walkers of Sigma957
[url=http://ifh.firstones.com]IFH[/url]-B5 free game
[url=http://freespace.volitionwatch.com/babylon/]The Babylon Project[/url]-Bringing Babylon 5 to Freespace2

Report this post to a moderator | IP: Logged

Old Post 05-04-2002 09:04 AM
Sigma957 is offline Click Here to See the Profile for Sigma957 Click here to Send Sigma957 a Private Message Find more posts by Sigma957 Add Sigma957 to your buddy list Edit/Delete Message Reply w/Quote
Kellan
BWO Team Member

Registered: Jul 2000
Location: Milton Keynes, UK
Posts: 1216

Now I need to understand all this (doesn't seem too super-hard) so I can make a #countdown sexp. In fact, I can probably just try and nick most of the supernova code, but without the flaming death element.

Come to think of it, is there another way to do this than fiddling the code? It'd be a shame to make people require a new exe for BWO as a result of one lousy sexp, used about twice. What I'm looking for is basically a backwards clock - a countdown timer that can be set with x seconds and when complete, does nothing.

__________________
"...And so the Sol rebellion was crushed by the mighty literary powers of Kellan."

[url="http://freespace.volitionwatch.com/blackwater"]BlackWater Ops[/url]

Last edited by Kellan on 05-05-2002 at 09:19 AM

Report this post to a moderator | IP: Logged

Old Post 05-05-2002 09:15 AM
Kellan is offline Click Here to See the Profile for Kellan Click here to Send Kellan a Private Message Find more posts by Kellan Add Kellan to your buddy list Edit/Delete Message Reply w/Quote
Kellan
BWO Team Member

Registered: Jul 2000
Location: Milton Keynes, UK
Posts: 1216

Now I need to understand all this (doesn't seem too super-hard) so I can make a #countdown sexp. In fact, I can probably just try and nick most of the supernova code, but without the flaming death element.

Come to think of it, is there another way to do this than fiddling the code? It'd be a shame to make people require a new exe for BWO as a result of one lousy sexp, used about twice. What I'm looking for is basically a backwards clock - a countdown timer that can be set with x seconds and when complete, does nothing.

__________________
"...And so the Sol rebellion was crushed by the mighty literary powers of Kellan."

[url="http://freespace.volitionwatch.com/blackwater"]BlackWater Ops[/url]

Last edited by Kellan on 05-05-2002 at 09:19 AM

Report this post to a moderator | IP: Logged

Old Post 05-05-2002 09:15 AM
Kellan is offline Click Here to See the Profile for Kellan Click here to Send Kellan a Private Message Find more posts by Kellan Add Kellan to your buddy list Edit/Delete Message Reply w/Quote
Dynamo
VWBB Admin

Registered: Jul 2000
Location: Dayton
Posts: 1430

I'm pretty sure you can do that in FRED2 by using a repeating sexp and varibles. I think I did something like that while trying to do a capture and hold mod for FS2 multi.

Report this post to a moderator | IP: Logged

Old Post 05-05-2002 06:24 PM
Dynamo is offline Click Here to See the Profile for Dynamo Click here to Send Dynamo a Private Message Visit Dynamo's homepage! Find more posts by Dynamo Add Dynamo to your buddy list Edit/Delete Message Reply w/Quote
Dynamo
VWBB Admin

Registered: Jul 2000
Location: Dayton
Posts: 1430

I'm pretty sure you can do that in FRED2 by using a repeating sexp and varibles. I think I did something like that while trying to do a capture and hold mod for FS2 multi.

Report this post to a moderator | IP: Logged

Old Post 05-05-2002 06:24 PM
Dynamo is offline Click Here to See the Profile for Dynamo Click here to Send Dynamo a Private Message Visit Dynamo's homepage! Find more posts by Dynamo Add Dynamo to your buddy list Edit/Delete Message Reply w/Quote
Kellan
BWO Team Member

Registered: Jul 2000
Location: Milton Keynes, UK
Posts: 1216

Hmmm...worth a look.

The visual display element would be the hardest to achieve, although I can have messages to show important times...

__________________
"...And so the Sol rebellion was crushed by the mighty literary powers of Kellan."

[url="http://freespace.volitionwatch.com/blackwater"]BlackWater Ops[/url]

Report this post to a moderator | IP: Logged

Old Post 05-06-2002 08:52 AM
Kellan is offline Click Here to See the Profile for Kellan Click here to Send Kellan a Private Message Find more posts by Kellan Add Kellan to your buddy list Edit/Delete Message Reply w/Quote
Kellan
BWO Team Member

Registered: Jul 2000
Location: Milton Keynes, UK
Posts: 1216

Hmmm...worth a look.

The visual display element would be the hardest to achieve, although I can have messages to show important times...

__________________
"...And so the Sol rebellion was crushed by the mighty literary powers of Kellan."

[url="http://freespace.volitionwatch.com/blackwater"]BlackWater Ops[/url]

Report this post to a moderator | IP: Logged

Old Post 05-06-2002 08:52 AM
Kellan is offline Click Here to See the Profile for Kellan Click here to Send Kellan a Private Message Find more posts by Kellan Add Kellan to your buddy list Edit/Delete Message Reply w/Quote
Avenger
Babylon Project

Registered: Jun 2001
Location: Birmingham
Posts: 227

u'd possibly need to have a new sexp, which i could add in very little time. They are reletivly easy to add a new one. If you want it done ask me. BTW the exe is only 2.2mb uncompressed. Added to a rar file and it is barely 400k, which i doubt is gonna greatly expand the size of the mod

__________________
None of my software ever has bugs...... it just develops random features!

Programmer for babylon Project

[url=http://www.themodplace.co.uk]The Mod Place[/url]

[url=http://unreal.themodplace.co.uk]Unreal Place[/url]

Report this post to a moderator | IP: Logged

Old Post 05-06-2002 10:24 AM
Avenger is offline Click Here to See the Profile for Avenger Click here to Send Avenger a Private Message Visit Avenger's homepage! Find more posts by Avenger Add Avenger to your buddy list Edit/Delete Message Reply w/Quote
Avenger
Babylon Project

Registered: Jun 2001
Location: Birmingham
Posts: 227

u'd possibly need to have a new sexp, which i could add in very little time. They are reletivly easy to add a new one. If you want it done ask me. BTW the exe is only 2.2mb uncompressed. Added to a rar file and it is barely 400k, which i doubt is gonna greatly expand the size of the mod

__________________
None of my software ever has bugs...... it just develops random features!

Programmer for babylon Project

[url=http://www.themodplace.co.uk]The Mod Place[/url]

[url=http://unreal.themodplace.co.uk]Unreal Place[/url]

Report this post to a moderator | IP: Logged

Old Post 05-06-2002 10:24 AM
Avenger is offline Click Here to See the Profile for Avenger Click here to Send Avenger a Private Message Visit Avenger's homepage! Find more posts by Avenger Add Avenger to your buddy list Edit/Delete Message Reply w/Quote
Kellan
BWO Team Member

Registered: Jul 2000
Location: Milton Keynes, UK
Posts: 1216

I wasn't so bothered about the size of the new exe as the complication of adding one. But I don't suppose that it would be much of a complication, really.

I realised that I can actually do a count-up already (when > mission-time "x seconds") but it doesn't have a visual display. I mean, I can create one using training messages if I'm willing to write 360 seperate time messages, or 36 for one every 10 seconds, etc.

__________________
"...And so the Sol rebellion was crushed by the mighty literary powers of Kellan."

[url="http://freespace.volitionwatch.com/blackwater"]BlackWater Ops[/url]

Report this post to a moderator | IP: Logged

Old Post 05-06-2002 11:22 AM
Kellan is offline Click Here to See the Profile for Kellan Click here to Send Kellan a Private Message Find more posts by Kellan Add Kellan to your buddy list Edit/Delete Message Reply w/Quote
Kellan
BWO Team Member

Registered: Jul 2000
Location: Milton Keynes, UK
Posts: 1216

I wasn't so bothered about the size of the new exe as the complication of adding one. But I don't suppose that it would be much of a complication, really.

I realised that I can actually do a count-up already (when > mission-time "x seconds") but it doesn't have a visual display. I mean, I can create one using training messages if I'm willing to write 360 seperate time messages, or 36 for one every 10 seconds, etc.

__________________
"...And so the Sol rebellion was crushed by the mighty literary powers of Kellan."

[url="http://freespace.volitionwatch.com/blackwater"]BlackWater Ops[/url]

Report this post to a moderator | IP: Logged

Old Post 05-06-2002 11:22 AM
Kellan is offline Click Here to See the Profile for Kellan Click here to Send Kellan a Private Message Find more posts by Kellan Add Kellan to your buddy list Edit/Delete Message Reply w/Quote
All times are EST. The time now is 05:24 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Subscribe to this Thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 
Contact Us - Volition Watch >
Powered by: vBulletin Version 2.2.6 - Copyright ©2000-2002, Jelsoft Enterprises Limited.