.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Questions Re: My Mod (http://forum.shrapnelgames.com/showthread.php?t=21987)

Kana December 12th, 2004 03:03 AM

Re: Questions Re: My Mod
 
Quote:

Suicide Junkie said:
Nesting cargo can be risky though... Imagine if you had a dropship that could carry two more dropships as cargo! http://forum.shrapnelgames.com/images/smilies/laugh.gif

Yeah that could be bad...maybe some tag that won't allow certain sizes or types of cargo...?!?

Kana

Starhawk December 12th, 2004 01:49 PM

Re: Questions Re: My Mod
 
Is it possible to make a single weapon that both destroys and creates a planet in a single shot?

Suicide Junkie December 12th, 2004 03:25 PM

Re: Questions Re: My Mod
 
You can make a component that does both, but it won't be related to the weapon properties, and the player will only get to pick one function to use at a time.

Starhawk December 12th, 2004 03:41 PM

Re: Questions Re: My Mod
 
Anyway to set it to destroy it's self after two uses instead of one?

Oh and I've tried loading my "Terrenesi Tech" racial trait and some of my Weapons tech in the tech areas, plus the components into the devnull mod yet when I try to load it it says.

"Can not load blablahblah data/components.txt" How do I fix this so that I can test out the tech?

Suicide Junkie December 12th, 2004 03:49 PM

Re: Questions Re: My Mod
 
Quote:

Starhawk said:
Anyway to set it to destroy it's self after two uses instead of one?

Oh and I've tried loading my "Terrenesi Tech" racial trait and some of my Weapons tech in the tech areas, plus the components into the devnull mod yet when I try to load it it says.

"Can not load blablahblah data/components.txt" How do I fix this so that I can test out the tech?

You've got a mystery bug in there somewhere...

Try adding a double-blank line to the file (start in the middle) and do a binary search to find the offending component. (If the game loads, the bug is after the blank, if not, it is before)

I'd check the merge point of the two sets of components. Odds are that's where the problem is. If not, try the binary search until you get a more detailed error, or nail down the bad component.

Starhawk December 12th, 2004 03:56 PM

Re: Questions Re: My Mod
 
How do I do a binary search? (I know sounds stupid for a guy trying to make a mod but I'm learning how to script in components and race traits by making the mod so please bare with me http://forum.shrapnelgames.com/images/smilies/happy.gif)

Suicide Junkie December 12th, 2004 04:09 PM

Re: Questions Re: My Mod
 
Start in the middle
your test tells you the bug is either up or down from this position.
Ignore the half that you now know is OK, and try again from the middle of the remainder.

Each test removes half the remaining possibilities, and you very quickly get down to just one left.

Starhawk December 12th, 2004 04:18 PM

Re: Questions Re: My Mod
 
Well I fixed that the only problem is now I can't get the Terrenesi weapons or engines to appear on the components list of the game, even though I've set them up under a legit tech area that IS recognized?

Suicide Junkie December 12th, 2004 04:30 PM

Re: Questions Re: My Mod
 
Uncheck the "show only latest".
If you've got conflicting family numbers, they'll be hidden.

Also look for any extra double-blank lines above those weapons in the components file.


All times are GMT -4. The time now is 04:04 PM.

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