.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old November 24th, 2007, 08:26 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Hyperdrives and Stargates (IRC remix)

Consider a hyperdrive component for ships and a stargate component for bases.

This would be given either a unique name or a unique AI Tag ability, whichever is more convenient.

Each turn a script will run and search for spaceobjects with hyperdrives or stargates.
If the name of the parent object contains a special substring: "([{######}])" where the # are arbitrary digits, then the player is attempting to dial the gate or activate the hyperdrive.
An energy cost will be subtracted from the player's reserves, and the script will open a warppoint to the appropriate destination if possible.

For Hyperdrives, the numbers would indicate which direction and how far the warppoint destination will be. It will then take only 1 move point to traverse the warppoint and effectively increase the speed of the ship.

If ships are limited to speed 1 as "sublight", hyperdrives would need a range of only 3 to 5 to be hugely effective. Cloaked ships could use hyperdrives, but it would be obvious that something happened when a warppoint opens and closes as the cloaked ship transits.

For stargates, the numbers would indicate the destination's map coordinates (which system and which hex). If a stargate exists in that destination hex, and a stargate warppoint is not already present in either hex, then a new warppoint will be opened. Otherwise an appropriate error message can be posted to the log (incoming wormhole, destination not available, destination busy, etc).

Hyperdrive type warppoints would always be closed on the following turn, while stargate type warppoints could be given a 50% chance of closing each month.

Stargates could also be modelled as units, and thus be placed in planetary cargo, or loaded on to ships and flown around. The parent object's name would be searched for the dial code each month (Option; only functions if the parent object is a planet)
Build one, and try to dial the enemy homeworld from your military base, or build two, and shuffle military forces between your borders.
Reply With Quote
  #2  
Old November 25th, 2007, 04:39 AM
Kana's Avatar

Kana Kana is offline
Captain
 
Join Date: Apr 2004
Location: Texas
Posts: 962
Thanks: 0
Thanked 3 Times in 3 Posts
Kana is on a distinguished road
Default Re: Hyperdrives and Stargates (IRC remix)

Is this actually in the code?
Reply With Quote
  #3  
Old November 25th, 2007, 05:43 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Hyperdrives and Stargates (IRC remix)

Was this meant for the SE5 forum?
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #4  
Old November 25th, 2007, 02:09 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Hyperdrives and Stargates (IRC remix)

Oops, yeah. My bad.

It should be doable using the scripts, given that the functions listed in the docs all work.
Reply With Quote
  #5  
Old November 25th, 2007, 04:18 PM
Kana's Avatar

Kana Kana is offline
Captain
 
Join Date: Apr 2004
Location: Texas
Posts: 962
Thanks: 0
Thanked 3 Times in 3 Posts
Kana is on a distinguished road
Default Re: Hyperdrives and Stargates (IRC remix)

The guys working on the Battlestar Galactica mod are working on FTL drive scripts. I'm sure you have seen them at SE.net SJ.
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 11:47 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.