BCU main page Bridge Commander Universe
...welcome to the new world.
 
 FAQFAQ  RanksRanks  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Staff SiteStaff Site    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WarpFX.py - Stay in warp forever?

 
Post new topic   Reply to topic    Bridge Commander Universe Forum Index -> BC Scripting
View previous topic :: View next topic  
Author Message

Dante Leonhart

Lieutenant
Lieutenant


Age: 27
Zodiac: Pisces
Joined: 18 Jun 2006
Posts: 400

Offline

 

 



Reply with quote

Post Posted: 09-12-2006 06:05 AM Post subject: WarpFX.py - Stay in warp forever?

Is it possible to modify this file so that one could stay in warp indefinately? Heck, is it possible to make the ship come out of warp via your own command?


_________________

Back to top
View user's profile Send private message

tiqhud

Pro-Captain
Pro-Captain




Joined: 28 Aug 2004
Posts: 1067
Location: this Desktop
Offline

 

 



Reply with quote

Post Posted: 09-12-2006 01:22 PM Post subject:

Now I can uderstand , coming out at your command , but why would you want to be in warp all the time? The Navigational computer would take you out of warp when you got to your destination, you would not want to fly around a star system while at warp, to many things to bump into.


_________________
TiqHud - COE

I didn't do it
If we don't learn from our Mistakes, we will surely repeat them.
It is all the little details, that cause headaches.
According to the way society is going, I'll need a college Degree just to change a light bulb

Back to top
View user's profile Send private message Send e-mail MSN Messenger

MLeo

Fleet Admiral
Fleet Admiral


Age: 22
Zodiac: Aquarius
Joined: 26 Nov 2002
Posts: 11439
Location: Netherlands
Offline

 

 



Reply with quote

Post Posted: 09-12-2006 05:10 PM Post subject:

Not without a lot of code changes.

The entire warp process is sequence based and it expects that it ends somewhere outside the warp set.


_________________

How to beat the Black Screen Of Death and Script problems Also handles Console/Screen/Error report/dump.
BC Technical FAQ [Last updated 26/12/2005]
"Trust me, I'm a con artist" - Moist von Lipwig, "Going Postal, Discworld"

Back to top
View user's profile Send private message Send e-mail MSN Messenger

Dante Leonhart

Lieutenant
Lieutenant


Age: 27
Zodiac: Pisces
Joined: 18 Jun 2006
Posts: 400

Offline

 

 



Reply with quote

Post Posted: 09-12-2006 05:27 PM Post subject:

I'm... experimenting with some things... lol Wink

Is there a way to set it for an obscenely long time, in that case? Using NanoFX's control panel, it seems to max out at 199 or 299 (I can't remember) seconds.


_________________

Back to top
View user's profile Send private message

MLeo

Fleet Admiral
Fleet Admiral


Age: 22
Zodiac: Aquarius
Joined: 26 Nov 2002
Posts: 11439
Location: Netherlands
Offline

 

 



Reply with quote

Post Posted: 09-12-2006 07:30 PM Post subject:

Search for this line:
Code:
iTimeToWarp = App.g_kSystemWrapper.GetRandomNumber(Custom.NanoFXv2.NanoFX_Config.wFX_MaxRandomDistance)

Abd replace hte part after iTimeToWarp = with and insanely large number which will make it impossible to exist Warp without crashing BC.
I'd say a number in the order of 9e99 would do the trick.


_________________

How to beat the Black Screen Of Death and Script problems Also handles Console/Screen/Error report/dump.
BC Technical FAQ [Last updated 26/12/2005]
"Trust me, I'm a con artist" - Moist von Lipwig, "Going Postal, Discworld"

Back to top
View user's profile Send private message Send e-mail MSN Messenger

Dante Leonhart

Lieutenant
Lieutenant


Age: 27
Zodiac: Pisces
Joined: 18 Jun 2006
Posts: 400

Offline

 

 



Reply with quote

Post Posted: 09-12-2006 09:17 PM Post subject:

So something like:

"iTimeToWarp = 99999999999999"

? I don't REALLY need it to be forever lol An hour would be more than long enough to get what I need done.


_________________

Back to top
View user's profile Send private message

MLeo

Fleet Admiral
Fleet Admiral


Age: 22
Zodiac: Aquarius
Joined: 26 Nov 2002
Posts: 11439
Location: Netherlands
Offline

 

 



Reply with quote

Post Posted: 09-12-2006 09:34 PM Post subject:

Yeah, though 9e99 is way bigger.Razz


_________________

How to beat the Black Screen Of Death and Script problems Also handles Console/Screen/Error report/dump.
BC Technical FAQ [Last updated 26/12/2005]
"Trust me, I'm a con artist" - Moist von Lipwig, "Going Postal, Discworld"

Back to top
View user's profile Send private message Send e-mail MSN Messenger

cds7318

Lieutenant Commander
Lieutenant Commander


Age: 22
Zodiac: Gemini
Joined: 08 Feb 2004
Posts: 686
Location: St. Marys Ga
Offline

 

 



Reply with quote

Post Posted: 09-15-2006 03:43 AM Post subject:

if you dont mind me asking.. what would you need to use it for? understandable for the come out of work command but then you'd need to set a "random" point in which you'd come out of work, and seeing how random just isnt possible with bc you'd have to set a list of systems that you'd drop out of.. is that what your trying to do?


_________________
http://twistedforums.com/forums/showthread.php?t=213

Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger

Dante Leonhart

Lieutenant
Lieutenant


Age: 27
Zodiac: Pisces
Joined: 18 Jun 2006
Posts: 400

Offline

 

 



Reply with quote

Post Posted: 09-15-2006 04:00 AM Post subject:

lol no

Nothing like that. Give me about a week or two and you'll have your answer. It's not a mod or anything... in fact, the current project doesn't even need it, but a future project might.


...You'll see lol I know that's vague.


_________________

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic

All times are GMT

Page 1 of 1
   Bridge Commander Universe Forum Index -> BC Scripting
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group
Bridge Commander Universe is a Nightsoft company. All rights reserved.