 |
|
 |
 |
 |
My ship, event, tech, invasion files making me crash...
|
 |
|
 |
 |
I cant see the problem it keeps crashing whenever I make them. Ill show my files see if theres something wrong... ( I made my own picture files)
//------------------------------------------------------------------------
SHIP CapitolShip
//------------------------------------------------------------------------
Name "Capitol Ship"
Model "Newship"
Description "we got it!!! Self-supporting, powerful, inter-galactic mayhem!"
HitPoints 400
Attack 100
Defense 35
Speed 10
Ability "Survey"
Cost 4000
SensorRange 5
Tech_Requirement "Excalibur"
Maintenance 0
Range 5
Weapon "WPhasor"
ENDSHIP
//------------------------------------------------------------------------
EVENT GiantInsects
//------------------------------------------------------------------------
Title "Giant Insects"
Description "An in-depth scan of the planet's oceans has uncovered a small cluster of underwater cities enclosed in airtight domes. The inhabitants appear peaceful, but their underwater location would make the domes ideal for advanced research. What are your orders?"
Image "Gfx\\insect_events.pcx"
EventType 0
GoodOption "Follow the first come first serve rule, theres enough space for all."
NeutralOption "Take enoguh room for a comfortable and productive colony" (+5 Population bonus)"
EvilOption "Fear of man is essential for keeping those aliens under control! Kill, Kill !!!" (+25 MILL Population bonus)"
GoodAttribute 1
NeutralAttribute 1
EvilAttribute 1
GoodValue 0
NeutralValue 0
EvilValue 0
GoodPopChange 0
NeutralPopChange 5
EvilPopChange 25
MoralityWeight 4
Probability 100
DescStr01 0
DescStr02 0
DescStr03 0
DescStr04 0
GoodOptStr01 0
GoodOptStr02 0
NeutralOptStr01 10
NeutralOptStr02 0
EvilOptStr01 9
EvilOptStr02 0
ENDEVENT
//------------------------------------------------------------------------
TECH Precursor Captol Ship
//------------------------------------------------------------------------
Name "Precursor Capitol Ship"
Model ""
Tech_Requirement "Excalibur"
Research_Cost 6000
Description "We just found the documents on how to build the Precursors most powerful ship!!!"
Overview "Aliens Beware! The Humans are coming!"
Tech_Category 2
AI 10
ENDTECH
//------------------------------------------------------------------------
INVTACTIC Poison Supplies
//------------------------------------------------------------------------
DisplayName "Poison Supplies"
Description "A week before we go we will send in a small team who will promptly poison as much of the enemies supplies as possible. Unfortunately this will spread to much of the planet rendering many resources toxic."
Tech_Requirement ""
Image "Event_spy"
Cost 1500
LuckFactor 20
PreRequirement 0
PreReqValue 0
BonusType 1
BonusValueMin 100
BonusValueMax 200
PlanetQualityPenaltyMin 8
PlanetQualityPenaltyMax 40
InfluencePenaltyMin 0
InfluencePenaltyMax 0
ImprovementPenaltyMin 60
ImprovementPenaltyMax 150
ENDINVTACTIC
Well thats them I hope someone can figure this out its reall annoying. The only 1 ive seen work is the event file and that showed about half the sentences and at least showed the picture.
| |
|
Looking at your event, I'd change the following:
1) Set GoodAttribute, NeutralAttribute, EvilAttribute all to 0. Looks like you are just using PopChanges, so no attributes are needed.
2) There is no need to set NeutralOptStr01 and EvilOptStr01 as you aren't using wild cards in the option text. Set these to zeros.
3) Make sure you don't have any line breaks in any fields surrounded by quotes, IOW the Description and Option fields. If you would like a line break, use "\n". Not saying you DO have line breaks (can't tell from looking at it on the boards), just that when I tried it using a line break it would crash on the event. Sort of like you describe.
Lastly, a bit of friendly advice. When troubleshooting multiple problems, you are best off doing them one at a time. If you change 5 things and then it crashes, there's no way to tell which of the 5 caused the crash. I would go one at a time, IOW first get the event working 100%. Then get the Invasion Tactic working. Then the first ship, and so on. Don't mean to be pedantic with this last paragraph, just trying to help.
| |
|
thanx. I dont know, ive been using examples and they arent all designed for the same thing.
| |
|
#3
by Senator CariElf - 4/14/2003 5:32:22 PM
Also, no spaces in the titles.
For example
TECH Precursor Captol Ship
should be
TECH PrecursorCaptolShip
or something like that.
| |
|
npb equalizer,
Try changing:
TECH Precursor Captol Ship
to:
TECH PrecursorCapitolShip
and:
INVTACTIC Poison Supplies
to:
INVTACTIC PoisonSupplies
I don't think the game will accept spaces in the titles of ships, events, etc.
Also I would avoid changing SurveyShip, ColonyShip, Constructor or any of the other coreship titles... you can change thier names and stats, but I would leave the titles alone because the game looks for them during setup.
Good Luck on your interesting ideas!!!
| |
|
EvilOption "Fear of man is essential for keeping those aliens under control! Kill, Kill !!!" (+25 MILL Population bonus)"
You have three quotation marks here. You can't use quotation marks inside quotation marks. When quoting speech inside a quoted option, use 'text', not "text". Otherwise, your modification will crash every time.
Also, I'll second McGarrett's advice: make one change at a time, it's way easier to troubleshoot.
End transmission.
| |
|
"TECH Precursor Captol Ship"
The tech has no ID number, and has spaces in its TechName.
Try "TECH 700 PrecursorCapitolShip" (number chose to avoid conflicts with the base techs and known mods, any number not already used below 65535 seems to be valid as an ID, at this time)
| |
|
|
|
|
|
 |
 |
|
 |
Copyright 1995-2026 Stardock Corporation. All rights reservered.
Site created by Pixtudio and Stardock, designed by Pixtudio.
|
 |