Galactic Conqurest in Star Wars Empire at War Forces of Corruption

  • Chevron
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
07 Dec 2012 12:56 #53646 by Chevron

AC-Suchti wrote: You could try to implement you story plot file into another GC and test if it loads there.

All work!
More over, I changed events another GK for mine events and it works too!
AC-Suchti, Locutus,
Big thanks for help!
The topic has been locked.
  • Chevron
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
22 Dec 2012 18:05 #54583 by Chevron
Hello. Can you help me with some questions?
1. How I can remove button "New Campaign" In singer player menu?
2. Some ships don't want attack enemy. For example: I have planet with eight corvettes. I attack it by one capital class ship. Corvettes attack it as if it is not their target.
I edited file SpaceUnitTargetingPriorities.xml but I have no results.
3. When I started my GC Rebel AI worked very good, but Empire AI don't work on the galaxy map(I writed BasicEmpire for Empire in this campaing)
The topic has been locked.
  • Locutus
  • Locutus's Avatar
  • Offline
  • Administrator
  • Administrator
  • [SGMG] Project Co-Lead, Lead Coder, 3D-Artist
More
22 Dec 2012 20:41 #54589 by Locutus
1. GUIDialogs.rc (can be extracted from the source megs with the meg extractor)
Before you ask again take some time to look at it;)

2. I'm not sure if it only affects campaign maps but I recommend to set the space maps' faction owner to "branched".
Also, make sure that your ships have the correct affiliation (in the ships' code and in the GC file).
Or does it only affect corvettes?

3. I'm not a GC scripter so someone more qualified than me shall answer this;)
The topic has been locked.
  • Chevron
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
23 Dec 2012 07:25 #54592 by Chevron

Locutus wrote: 1. GUIDialogs.rc (can be extracted from the source megs with the meg extractor)
Before you ask again take some time to look at it;)

Thank you. I edited this file and unnecessary buttons were removed.

Locutus wrote: Also, make sure that your ships have the correct affiliation (in the ships' code and in the GC file).
Or does it only affect corvettes?

Not only corvettes. Some fighters, some capitals ships...


Edit: Sometimes frigates attack my ships as if they are not their target too.
The topic has been locked.
  • Chevron
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
28 Dec 2012 17:18 #54846 by Chevron

Chevron wrote: 3. When I started my GC Rebel AI worked very good, but Empire AI don't work on the galaxy map(I writed BasicEmpire for Empire in this campaing)

EXAMPLE AI ACTIONS in GC (REBEL and EMPIRE)
Warning: Spoiler! [ Click to expand ]
The topic has been locked.
  • Chevron
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
31 Mar 2013 14:54 - 31 Mar 2013 14:57 #57432 by Chevron
AI now works good, but now I have some problems with story scripts.

Could you help me?

File Attachment:


For example: If I write Star_destroyer, script works good, but if I write name one of new units
script doesn't find it unit. I don't understand why.
Last edit: 31 Mar 2013 14:57 by Chevron.
The topic has been locked.
  • Locutus
  • Locutus's Avatar
  • Offline
  • Administrator
  • Administrator
  • [SGMG] Project Co-Lead, Lead Coder, 3D-Artist
More
31 Mar 2013 15:27 #57433 by Locutus
In some cases (even though I don't know if that helps here) you need to capitalize all letters, like "SHIPNAME".
The topic has been locked.
  • Chevron
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
31 Mar 2013 15:47 #57434 by Chevron

Locutus wrote: In some cases (even though I don't know if that helps here) you need to capitalize all letters, like "SHIPNAME".

Unfortunately it did not help.
The topic has been locked.
  • Locutus
  • Locutus's Avatar
  • Offline
  • Administrator
  • Administrator
  • [SGMG] Project Co-Lead, Lead Coder, 3D-Artist
More
01 Apr 2013 22:14 #57462 by Locutus
Since it works with the Star Destroyer you code must be correct.
The only thing that's left is the ship you're trying to spawn.
Are you sure you didn't misspell anything and the name of the ship in the code is correct? Did you add to the GameObjectFiles and/or did you use it ingame already? That's all I can think of...
The topic has been locked.
  • Chevron
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
02 Apr 2013 13:50 #57467 by Chevron

Locutus wrote: Since it works with the Star Destroyer you code must be correct.
The only thing that's left is the ship you're trying to spawn.
Are you sure you didn't misspell anything and the name of the ship in the code is correct? Did you add to the GameObjectFiles and/or did you use it ingame already? That's all I can think of...

Correct. I added in GameObjectFiles file with this ship and it's work in game. But this script doesn't see it.
The topic has been locked.
Time to create page: 0.137 seconds