Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
    • Core Products
    • Game Mods
    • Helper Applications
    • issues
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 3 users and 166 guests online.

Online users

  • GambitUK
  • RedArgo
  • Romulus68

Languages

  • English English
  • French French

Browse archives

« September 2008  
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
Home » projects & downloads » Core Products » Space Empires V » issues

Retrofit Minister moving space stations

Unole's picture
Submitted by Unole on Fri, 2006-11-10 11:11.
Project:Space Empires V
Version:1.13
Component:Miscellaneous
Category:bug
Priority:minor
Assigned:Unassigned
Status:closed

Description

The retrofit minister issues a "Move to" to all ships so that they know where to go to retrofit. This minister also issues a "Move to" to any space stations needing retrofit. The destination is always the planet the space station is orbiting and besides the station can't move.

Workaround: Monitor orders to space stations and remove the "Move to" order. The station then retrofits normally on the next turn.

Updates

#1 submitted by Unole on Tue, 2006-11-14 10:27

Possible fix. THIS HAS NOT BEEN TESTED YET!!

//------------------------------------------------------------------------
// Order_Retrofit
//------------------------------------------------------------------------
function Order_Retrofit returns boolean
params
ship_id: long
vars
orders_given: boolean
ai_design_type: string
this_design_id: long
best_design_id: long
begin
set orders_given := FALSE

set ai_design_type := Sys_Get_Space_Object_Ai_Design_Type(ship_id)
set this_design_id := Sys_Get_Space_Object_Vehicle_Design_ID(ship_id)
set best_design_id := Sys_Get_Latest_Vehicle_Design_Of_AI_Type(sys_long_Player_ID, ai_design_type)

if (this_design_id <> best_design_id) then
if (Sys_Get_Vehicle_Design_Space_Movement(design_id) = 0) then
set orders_given := Sys_Give_Space_Object_Order_Retrofit(ship_id, best_design_id)
else
set orders_given := Ship_Order_Go_To_SY(ship_id)
if (orders_given) then
set orders_given := Sys_Give_Space_Object_Order_Retrofit(ship_id, best_design_id)
endif
endif
endif

return orders_given
end

#2 submitted by Unole on Mon, 2007-12-03 06:45
Status:active» closed

Submitted code corrected error and is included in current and previous patches.

» login or register to post comments

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • Ship Capture Issues
  • Space Empires V
  • Hows the current AI?
  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • SE5 Multimedia Pack

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • Making Custom Models
  • Memory Leak when generating map
  • BM1.08+SEV1.44 and wth happened to turn processing?
  • Bigger maps
  • "Add New Empire" crashes game
(c) Strategy First, Inc. All rights reserved.