Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: WMCoolmon on June 07, 2004, 02:36:14 am
-
This should fix the warpout failure bug that's come up since 3.6 was released. It also contains some HUD code. Yes, the shield icon appears in the corner, this will be fixed sometime.
Edit: Attachment got FUBARed, will post in reply.
Edit 2: Screw that.
(URL removed because...)
Edit 3: Removed this build because there's a newer one (http://www.hard-light.net/forums/index.php/topic,24223.0.html). Get the first build in the thread for Maximum Reliability.
-
Is this working for people? There's been over fourty views but no replies. :)
-
What were the conditions that caused the problem in the first place? Was it simply playing on very easy?
-
I think so, this build changes the line of code that was causing "very easy" to disable warp.
-
It works well now.
Originally posted by WMCoolmon
Yes, the shield icon appears in the corner, this will be fixed sometime.
Soon I hope :)
-
I just commited the fix to CVS. :D
-
Where and what file did you change to fix the problem? I've already got a new interface in the 3.6 version and I really don't want to redo it all over. If you could please tell what file and where the change is I could just get that file from the CVS and update my version.
-
ship.cpp, in the ship_can_warp function or something like that.
-
Sorry I didn't thank you earlier but I've been on a bit of a vacation.
-
:)
-
"#¤%&"¤%£$€! I can't download that .exe! (Too late?) Grrah! Oh well, maybe I'll just have to learn to fly without training wheels for a while longer...
-
You can download the lastest build from fs2source.warpcore.org/exes/lastest/ anyway. The warpout bug is already been fixed.
-
I got a question about the warpout fix. With the way it is now: Game_skill_level == 0, the only time you can warp out is if the game is set to very easy any other level and you can't warp out. Was it meant to be this way to keep wimps from warping out on the harder levels? Because I changed the line to Game_skill_level >= 0 and all difficulty levels can warp out.
-
This is how it's supposed to be:
if ( (Game_skill_level == 0) || (engine_str >= SHIP_MIN_ENGINES_TO_WARP) ){
This way you can warp out *always* on Very Easy, but only on other skill levels if your engine is healthy.
-
I forgot to change the logical operator.
-
Link's as fubared as the attachment. Where else is this build mirrored? :P
-
http://www.hard-light.net/forums/index.php/topic,24223.0.html
:)