.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 > SEV Modders Knowledge Base

Reply
 
Thread Tools Display Modes
  #281  
Old October 26th, 2006, 10:01 AM

tmcc tmcc is offline
Corporal
 
Join Date: Sep 2006
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
tmcc is on a distinguished road
Default Re: Modding Process

Haven't tried yet but there are a bunch of debug flags which all default to FALSE in DebugSettings.txt
Reply With Quote
  #282  
Old October 26th, 2006, 10:52 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: Modding Process

I have been working with the debug text but have not had any luck getting it to go. I have also worked with the little log that pops up when you run the mod. Problem there is I can't read any of the four entries it is reporting. All four problems are parse problems but I can't tell where they are located at?

Is there any programs that will check formula for parse-ability? The script parse utility is for making csf files right? I have tried it to no avail.
__________________
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
  #283  
Old October 26th, 2006, 02:12 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 Did you know:

You can now have fractional engines for a ship. I made a ship with 2 engines, speed 8, by setting the engines per movement point to 0.25. Holds up in combat as well.
__________________
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
  #284  
Old October 26th, 2006, 02:22 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: Did you know:

If the parser can't read a formula it spits out an error - ie too many parenthesis or something like or invalid operator and so on...
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #285  
Old October 26th, 2006, 02:22 PM
Q's Avatar

Q Q is offline
Colonel
 
Join Date: Jan 2001
Posts: 1,661
Thanks: 0
Thanked 0 Times in 0 Posts
Q is on a distinguished road
Default Re: Did you know:

Checked modified sensor fuctions:
A modded tachyon sensor with short range and a basic sensor with high range (but low sight level) on the same ship together will give the ship the maximum range of the basic sensor combined with the sight level of the tachyon sensor, which should not be the case IMO.
Reply With Quote
  #286  
Old October 26th, 2006, 03:00 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 You\'re thoughts please!

@ CPT Kwok: I know you had a thread started for ship changes (modding) or something to that effect but I would like to start a new thread for posting general tricks that have been found. For example:

1. You can make ship sizes that call for fractional engines.

2. I don’t use bridges (or master computer) at all and have worked around the hard coded restriction in SE5. To do this I have given the hull the ability control center.

Maybe if SJ can make this a sticky and others start posting tricks we can lay the ground work for a tips and tricks page for the Wiki master page.

@Q: That has got to be wrong; I would report it to Aaron.

@ Phoenix-D (well all modders): You have a good idea with the thread you started about grouping together and making a “Masters of the Empires” mod. Does anyone else like the sound of this too? The thought of your mod going head-to-head with a Star Destroyer or wing of Tie Fighters does nothing to stir your blood? I’m considering doing my part and I have to work around a complication when it comes to sharing my mod; which happens to be one reason why I didn’t in SE4.

P.S. to CPT K: I did work around the formula errors. I had to cut out each component one at a time; start the game to see if it had the problematic formula; wash rinse repeat till errors found and corrected. It is up and running even though I haven’t included all 16 tech levels and the components with them or the small craft, or the ships, bases …

This is getting long but I have one more trick to share. In SE4 I was plagued with the problem of how to create an External Ordinance Rack (XO Rack). The trick is it must fire drones at a controlled rate, must be zero tonnage, absorb one point (kt) of damage so the ship won’t become invincible, get damaged first along with the armor, and best of all the player (or AI) must be restricted to only placing a certain number of them on their hull designs.

Ok, that said I came up with half an answer in SE4. Only half because the AI never wanted to do it right. In SE4Deluxe I came closer. In SE5 I have finally hit on a solution. Limit the total number by (a) Fyron’s AI Tag solution or better still (b) restrict the component to only Armor slots. Now the player will need to choose if they want armor or an XO Rack. The AI question I have not attacked yet but it should be a simple matter of telling it how many it wants on a ship.

That’s it for now…

More tricks yet to be tested: A component whose cost is based on the size of the hull the component is being placed in. Larger ship means you pay more!

Cost and bonuses based on iif statements based on your current level instead of the generic steady progression in stock.

Really have to go now but please, share your thoughts! Is any of this useful or should I just give it up?
__________________
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
  #287  
Old October 26th, 2006, 03:12 PM
Kana's Avatar

Kana Kana is offline
Captain
 
Join Date: Apr 2004
Location: Texas
Posts: 962
Thanks: 0
Thanked 3 Times in 3 Posts
Kana is on a distinguished road
Default Re: You\'re thoughts please!

Quote:
President_Elect_Shang said:
@ CPT Kwok: I know you had a thread started for ship changes (modding) or something to that effect but I would like to start a new thread for posting general tricks that have been found.

Maybe if SJ can make this a sticky and others start posting tricks we can lay the ground work for a tips and tricks page for the Wiki master page.

Really have to go now but please, share your thoughts! Is any of this useful or should I just give it up?
Sticky this thread as well. Always share your thoughts, especially if its something you dont think someone else may have thought of. Then they can use, or make them think of something else.

Speaking of which...I was reconsidering my Tholian web problem. From previous discussions, with the new damage types, I should be able to give web weapons the ability to slow down other ships/objects. To use them, it was disscused to use sats, drones, or even mines to be able to have a 'free standing web/terrain like feature'. Last night a thought came to me...

Can you set a seeker to have a zero speed? Then when launched, it would say in place, and basically be an obstacle to what ever is on its target list? Basically it would 'ram' any valid target that enters its 'square'. I havent tested it yet. Do you think it would work? Anyone else have a counter idea? Any way you think I can get this to work at range? IE: Shoot web out to range 10 and stay there as an obstacle?
Reply With Quote
  #288  
Old October 26th, 2006, 04:20 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: You\'re thoughts please!

Shooting a web to range 10 should be no problem and getting the seeker to sit still should also be easy. The problem I see is getting the seeker to ram. I think it will need movement of some kind to complete a ram attempt.

If I want to combine two statements in one formula; specifically Get_Design_Specific_Component_Count(“A”); how would I do that?

I have tried the OR operator and it doesn’t seem to work. What I am trying to accomplish is limit a player to placing a certain number of engine component A on a ship or a certain number of engine component B but not both. So far I can get the ship in the Vehicle Size text to recognize one or the other but not both. In other words I can restrict the number that can be placed by putting the restriction in two formulas but you can still place the max number of A and the max number of B. See what I am saying/asking? I don’t’ want that, I want either but not both.
__________________
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
  #289  
Old October 26th, 2006, 05:04 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: You\'re thoughts please!

That is the way OR works. If at least one side is true, then the result of ORing them is true.

The simplest way to make it exclusive would be to add a requirement of (count(A)=0 OR count(B)=0)

If you want to handle more than just two types, then try checking to ensure that the maximum of the counts (IE the type with the most components installed) is equal to the sum of the number of engines installed of all types.
Eg: max(a, max(b, max(c,d))) = (a+b+c+d)
Reply With Quote
  #290  
Old October 26th, 2006, 05:25 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: You\'re thoughts please!

I thought about it more and decided to toss the idea out. There are a number of reasons why the “Paper” game works well with two different types of engines. I could mod both types to “almost” meet the paper game, but just “almost”. The problem comes from the military engine; which should allow a player to run them at full power but if they do so it would mean a random chance of the engine failing and needing to be repaired. The benefit to full power is double the strategic movement speed. It goes into a little more detail than this but the essential is I would need to create an engine that can be used to produce double speed (when the player or AI’s chooses to) with a chance to fail every turn. I don’t see a way to do that so I have tossed it out and built the restriction on max speed for the hull instead.

This could come in handy for other moders which want to use more than one engine type but control how many and in what combinations they may be legally used by the player and AI.
__________________
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
Reply

Bookmarks


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:26 AM.


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