Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!

- Chatbox: For random chatting, mod questions/suggestions go in the actual forums.

Author Topic: Modding Help  (Read 3212 times)

0 Members and 1 Guest are viewing this topic.

October 13, 2012, 08:43:48 PM

melbournelad

  • Guest
Modding Help
« on: October 13, 2012, 08:43:48 PM »
Just have a quick question on coding, some space units i added in are able to fire, however they are not targetable and they do not move. Is there a line in the code i missed?

October 13, 2012, 08:45:26 PMReply #1

Offline Corey

  • Mod Leader
  • Administrator
  • Emperor
  • *****
  • Posts: 7,516
  • Approval: +410/-80
  • Dream Crusher
    • View Profile
Re: Modding Help
« Reply #1 on: October 13, 2012, 08:45:26 PM »
Are they selectable?
I also have a YouTube channel where I talk about mod development and gaming, do tutorials, and Let's Plays. If you like the content, consider supporting it on Patreon


October 14, 2012, 04:57:16 AMReply #2

melbournelad

  • Guest
Re: Modding Help
« Reply #2 on: October 14, 2012, 04:57:16 AM »
Well i couldn't actually test that as i added them to a new non playable minor faction, but when i am playing against them, the red icon to attack does not appear when hovering over the unit, just the normal FOC cursor. Oh and this is also the case with the vanilla underworld starbase i added back in.

October 20, 2012, 12:43:52 AMReply #3

melbournelad

  • Guest
Re: Modding Help
« Reply #3 on: October 20, 2012, 12:43:52 AM »
I fixed but have one more question, is it possible to change the victory conditions? instead of Galactic_All_Planets_Controlled, is it possible to make it that when a certain number of planets are controlled you win?

October 20, 2012, 01:08:03 AMReply #4

Offline Corey

  • Mod Leader
  • Administrator
  • Emperor
  • *****
  • Posts: 7,516
  • Approval: +410/-80
  • Dream Crusher
    • View Profile
Re: Modding Help
« Reply #4 on: October 20, 2012, 01:08:03 AM »
You can also do Galactic_Control_Named_Planets where if you control the named planets (listed in another line of code) the player will win. I'm not sure if you can directly do a victory condition based on a number, but you might be able to fudge it with a story script. Both are things we've actually thought about doing to address the freeze issue indirectly.
I also have a YouTube channel where I talk about mod development and gaming, do tutorials, and Let's Plays. If you like the content, consider supporting it on Patreon


October 20, 2012, 06:20:09 AMReply #5

melbournelad

  • Guest
Re: Modding Help
« Reply #5 on: October 20, 2012, 06:20:09 AM »
Okay thanks, yeah i saw the Galactic_Control_Named_Planets line in the code, but would that still work with 60-70 plantes listed instead of about 3?
I guess there is one limitation with that option even if it worked though, because it would have to be those specific planets instead of say 60% of random planets. Also, how do those effect the freeze issue?

October 21, 2012, 03:00:42 PMReply #6

Offline Corey

  • Mod Leader
  • Administrator
  • Emperor
  • *****
  • Posts: 7,516
  • Approval: +410/-80
  • Dream Crusher
    • View Profile
Re: Modding Help
« Reply #6 on: October 21, 2012, 03:00:42 PM »
Okay thanks, yeah i saw the Galactic_Control_Named_Planets line in the code, but would that still work with 60-70 plantes listed instead of about 3?

I can't think of any reason why it wouldn't.

Also, how do those effect the freeze issue?

It wouldn't directly, but it could allow us to focus the GC a bit more. From what we've read, the most common time for a freeze tends to be during the final cleanup of some insignificant planets, so if we focused it more around themajor ones, then it could be avoided.
I also have a YouTube channel where I talk about mod development and gaming, do tutorials, and Let's Plays. If you like the content, consider supporting it on Patreon


October 27, 2012, 03:14:36 AMReply #7

melbournelad

  • Guest
Re: Modding Help
« Reply #7 on: October 27, 2012, 03:14:36 AM »
Just have two more questions;

1. Ive added some troopers to a hero comapny as an escort. However ingame they appear as two seperate units, is there any way for them to be in the same green circle when you select them?
2. I gave a vehicle the ability to garrison units. But when i select an infantry squad to garrison inside, and hover the cursor over the vehicle it appears as the normal ingame mouse cursor, instead of the icon to garrison?

November 03, 2012, 05:12:44 PMReply #8

melbournelad

  • Guest
Re: Modding Help
« Reply #8 on: November 03, 2012, 05:12:44 PM »
Sorry to ask again if no one knows, but still haven't been able to figure out these two issues^^. What line in the code do i need to fix?

 

Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!