.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old November 28th, 2006, 05:06 PM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Units are running

During my testing I built a light cruiser with a shuttle bay in it. I didn’t bother with the shuttle just an empty bay. I then went to the simulator and sent it against 2 lighter units (destroyers). The two smaller units ran away. I tried it with ten lighter units and they ran away. Then I tried it with a light cruiser against a light cruiser. They ran away from each other. I have searched through the strategies and can’t figure out what to change to stop this silly running away! If I remove the shuttle bay all units engage as expected. The weapons the units mount are able to target shuttles but as I said at the start I have never loaded a unit with shuttles. What needs to be adjusted to get them to beat the heck out of each other again?
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
Reply With Quote
  #2  
Old November 28th, 2006, 09:54 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Units are running

You need to create a new strategy.

The defaults have garbage orders for the "shuttle carrier" type of ship. Which essentially means "don't get hurt" strategy.

When you add a new unit type (called, "XYZ" for example), the strategies get two new entries;
1) XYZ
2) XYZ Carrier Ship

You'll have to edit the default strategies.txt to include something for those two in order to get sane results
You can also delete your existing strategies and then create new ones in an existing game; the new strategies will have entries for the new unit types.

For reference, I had to have the following lines in GGmod's strategies:
Code:
Target Type 11 Name                         := Militia Carrier Ship
Target Type 11 Engage Distance := Medium Range
Target Type 11 Damage Amount := 100%
...
Target Type 15 Name := Ground Base Carrier Ship
Target Type 15 Engage Distance := Medium Range
Target Type 15 Damage Amount := 100%
...
etc

Reply With Quote
  #3  
Old November 29th, 2006, 01:00 AM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Units are running

Oh!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

That’s why I didn’t see the lines! Man now I feel dense! That one was right in front of my nose the whole time. I even edited the Strategies.txt. Man SJ you wouldn’t like to know how dense I feel right now!
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
Reply With Quote
  #4  
Old November 29th, 2006, 02:40 AM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Units are running

Now that I have had a look under the hood I must agree; the default strategies really do suck. Now I think I will write off to Aaron and ask him if we can get more control over the “Engage Distance”. A formula would be really nice for that section.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
Reply With Quote
  #5  
Old November 29th, 2006, 04:18 AM

se5a se5a is offline
First Lieutenant
 
Join Date: Aug 2003
Location: New Zealand
Posts: 776
Thanks: 0
Thanked 0 Times in 0 Posts
se5a is on a distinguished road
Default Re: Units are running

give us a chance to hit thingy in the engage distance
__________________
[img]/threads/images/Graemlins/Flag_NewZeland.gif[/img]
Reply With Quote
  #6  
Old November 29th, 2006, 07:36 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Units are running

Don't worry, it took me ages to figure it out the first time too.
Reply With Quote
  #7  
Old November 29th, 2006, 10:04 AM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Units are running

I added Target Type 36 “Shuttle” and 37 “Shuttle Carrier” last night before bed, ran a test battle, and the DD still ran from the LC. I will take a look at setting them into order later today. Another thing I am wondering about is how the game is using that file. The LC and the DD are both to Short Range Strategy and are set as attack ships; even the LC with its single shuttle bay.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
Reply With Quote
  #8  
Old November 29th, 2006, 02:44 PM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Units are running

The default strategies for an empire are created when the empire itself is generated; either by the player or the mods creator. So if we want our adjustments to take (such as my Shuttle Carrier or your Militia Carrier Ship) we have to build the empire for the player or delete all empires forcing the player to take our modded Startigies.txt file.

Now I need to copy this thread into the Knowledge Base sub-forum. I can’t admin here can you move the whole thing there SJ? If not I will do it the old fashioned way, copy and paste with credit given.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
Reply With Quote
  #9  
Old November 30th, 2006, 12:02 AM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Units are running

Ok, I have completed the Strategy file. At this rate I will no longer be able to call it a mod; a total conversion. I will try to copy all this to the Knowledge Base later tonight.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
Reply With Quote
  #10  
Old November 30th, 2006, 07:27 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Units are running

You can also delete your existing strategies and then create new ones in an existing game; the new strategies will have entries for the new unit types.
If you want to fix an existing game, just delete and add new ones in the empire options.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:42 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.