PDA

View Full Version : can someone tell me what's wrong


Starcrusade
March 4th, 2004, 07:47 PM
Space Empires is telling me I have no value in here for the abilites. It is probably something rather minor (I'm hoping), but it is really vexing me. If it matters I upgraded to 1.91 (though I don't see any changes in the 1.91 vehicle designs)

Thanks,
Starcrusade


Name := Escort
Short Name := Escort
Description :=
Code := ES
Primary Bitmap Name := Escort
Alternate Bitmap Name := Escort
Vehicle Type := Ship
Tonnage := 150
Cost Minerals := 550
Cost organics := 0
Cost Radioactives := 0
Engines Per Move := 1
Number of Tech Req := 1
Tech Area Req 1 := Ship Construction
Tech Level Req 1 := 1
Number of Abilities := 1
Ability 1 Type := Combat To Hit Defense Plus
Ability 1 Descr := Small size makes ship 45% harder to hit in combat.
Abitliy 1 Val 1 := 45
Ability 1 Val 2 := 0
Requirement Must Have Bridge := True
Requirement Can Have Aux Con := True
Requirement Min Life Support := 1
Requirement Min Crew Quarters := 1
Requirement Uses Engines := True
Requirement Max Engines := 128
Requirement Pct Fighter Bays := 0
Requirement Pct Colony Mods := 0
Requirement Pct Cargo := 0

geoschmo
March 4th, 2004, 07:56 PM
Here's the problem:
</font><blockquote><font size="1" face="sans-serif, arial, verdana">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">Abitliy 1 Val 1 := 45</pre><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">You mispelled Ability. http://forum.shrapnelgames.com/images/icons/icon7.gif

Starcrusade
March 4th, 2004, 08:19 PM
lol and I thought it was going to be something difficult to fix! That's what I get for working on it late Last night. http://forum.shrapnelgames.com/images/icons/icon10.gif Thanks

Atrocities
March 4th, 2004, 09:27 PM
That is ok, I have been modding for just over a year and the other day, yesterday, I was pulling may hair out trying to figure out an interesting problem.

The AI did not have access to ship construction in the design window, nor did it have access to its own custom racial trait.

I checked everything, twice to be safe, and still nothing. Finally I gave up, after hours of banging my head against the monitor, and asked Fyron.

His first statement was "Check the racial trait."

I tell ya, when miss something as simple as that, a misspelling of a word in one of the most obvious places, you really feel the hurt.

I had not checked the racial trait. The ONLY file I had not checked. And sure enough that was the culprit.

One of the most common problems are misspellings and extra spaces between entries. And often more than not, a fresh pair of eyes can find the problem in second whereas we have exhausted hours.

http://forum.shrapnelgames.com/images/icons/icon7.gif