Troubles with recievers

Talk about your new mod or map here

Moderators: jelco, bert_the_turtle

User avatar
Major Cooke
level4
level4
Posts: 670
Joined: Mon Apr 03, 2006 1:35 am

Troubles with recievers

Postby Major Cooke » Wed Apr 12, 2006 4:59 am

I have a map in my mod which has quite a few recievers in it, but when it seems the darwinians all take up the recievers, jsut a few minutes later it crashes... I have them ALL connected to lead straight to the processor and then the recieverlink at the trunkport, and my system is set up to the point where i have no recieverlinks other than the one at the trunkport (and one underneath the processor, since it gives it a cool little effect of "processing" by going into the processor before zooming out to the trunk port), so theres no reciever links between the receivers and processor... is there a problem with that? or do i just have too many, and some being too close by, therefore crashing due to too many spirits geting caught in midair?
User avatar
trickfred
level5
level5
Posts: 1691
Joined: Sat Jul 24, 2004 5:01 am
Location: The Great White North, Eh?
Contact:

Postby trickfred » Wed Apr 12, 2006 12:52 pm

It's been a while since I set up one of those systems, but check your Global variables.
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Apr 12, 2006 4:11 pm

You can link a SpiritProcessor directly to a ReceiverLink (and vice versa), so I doubt that the problem lies there. Without a blackbox file, there are two problems that you may be having.

1) As trickfred suggested, ensure that the SpiritProcessor is global. To do that, open up the map file (it will be in the levels/ directory of your mod), and make sure that there is a 1 in the global column for that building.

2) Open up your mission file (again, in the levels/ directory) and create a mission objective that looks like this:

Code: Select all

   BuildingOnline :level_name,20    string_name   script_name.txt

"level_name" should be the name of your level, and the 20 should be changed to the ID of your SpiritProcessor. The "string_name" should be a tag from strings_default.txt that describes your mission... i.e.

Code: Select all

objective     Bring the SprirtProcessor Online

and "script_name.txt" should be a script file that describes the mission. If you don't have either of those, leave the markers in the mission file, and create them later. It is possible that when the SpiritProcessor comes online, it is trying to trigger a mission complete, but can't, as no mission is set. I know this can cause problems with Generators, and may cause problems with SpiritProcessors, as well.

xander
User avatar
Major Cooke
level4
level4
Posts: 670
Joined: Mon Apr 03, 2006 1:35 am

Postby Major Cooke » Wed Apr 12, 2006 8:38 pm

Ok, but what should be in the script_name.txt?

Edit: I need more in-depth help... I want to set it to say... 65 souls a minute, and when I load the mission I want Dr. Sepulveda to say, "We need to get the unprocessed souls to the Processor. Use the darwinians and bring the recievers online." But I dont know what to put in the processord_objective.txt
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Apr 12, 2006 8:42 pm

Major Cooke wrote:Ok, but what should be in the script_name.txt?

You don't need to have anything there. When you set up the mission, you should direct it to a script, but you don't actually have to have a script. If you wish to make a script for the mission objective, I would suggest reading through Icepick's modding guide. The script will explain the objective when you click on it on the objectives screen.

xander
User avatar
Major Cooke
level4
level4
Posts: 670
Joined: Mon Apr 03, 2006 1:35 am

Postby Major Cooke » Wed Apr 12, 2006 8:51 pm

So it can look just like:

Code: Select all

BuildingOnline :level_name,20    string_name

without the string_name.txt? yes ive set all the rest of this up and got it ready..
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Apr 12, 2006 8:52 pm

Do you have an scripts that are triggered when the SpiritProcessor comes online?

xander
User avatar
Major Cooke
level4
level4
Posts: 670
Joined: Mon Apr 03, 2006 1:35 am

Postby Major Cooke » Wed Apr 12, 2006 8:54 pm

Also, can you help me by laying down all commands that can be used like... destroy all red darwinians?
User avatar
Major Cooke
level4
level4
Posts: 670
Joined: Mon Apr 03, 2006 1:35 am

Postby Major Cooke » Wed Apr 12, 2006 8:55 pm

xander wrote:Do you have an scripts that are triggered when the SpiritProcessor comes online?

xander


No i dont. I jsut want it to say Objectives Completed like it would normally do at the end of a level.
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Apr 12, 2006 8:57 pm

Read Icepick's guide. Nearly all of that stuff is in there.

Also, when Darwinia crashes, what error does it give? Does it create a blackbox file?

xander
User avatar
Major Cooke
level4
level4
Posts: 670
Joined: Mon Apr 03, 2006 1:35 am

Postby Major Cooke » Wed Apr 12, 2006 9:05 pm

Well, after when i "half" created the mission objective and it looks like this:

Code: Select all

ERROR (processord)                                        Incomplete
                                                                         Throughput: 88.56

and its supposed to be measuring souls, not electricity...

Its not crashing now that theres "half" of an objective...
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Apr 12, 2006 9:07 pm

Then your problem was solved by linking the SpiritProcessor to a mission objective, as I suggested several posts ago? Why didn't you just say so...

xander
User avatar
Major Cooke
level4
level4
Posts: 670
Joined: Mon Apr 03, 2006 1:35 am

Postby Major Cooke » Wed Apr 12, 2006 9:13 pm

I'm trying to finish the objective so it says it normally...
Also, when i clicked on the objective, it shone a beam on the processor and was like "What I need you to do is open up this trunkport for me."
script.... thats messed up... I'm trying to have the mission objective be completed when the Souls per minute reaches 50... NOT THROUGHPUT, and not so it reads "ERROR (processord)"!!!!!
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Apr 12, 2006 9:16 pm

Read. Icepick's. Guide.

Bottom of the page.

xander
User avatar
Major Cooke
level4
level4
Posts: 670
Joined: Mon Apr 03, 2006 1:35 am

Postby Major Cooke » Wed Apr 12, 2006 9:24 pm

I read it, but thats not helping me out here... It's because i dont know the COMMAND for COMPLETEING AN OBJECTIVE for a LIMITATION such as the PROCESSOR GETTING 50 spirits.

Not meaning to yell... It just wont work. Here's what I have in my strings_default.txt

Code: Select all

#ProcessorD
processord_objective1                  Collect 55-60 souls per minute.


Now here's what I have in my mission_processord

Code: Select all

PrimaryObjectives_StartDefinition
   BuildingOnline :map_processord,46 processord_objective1
PrimaryObjectives_EndDefinition

REMEMBER: I don't have a help file or script for this objective, could that be the problem?
Last edited by Major Cooke on Wed Apr 12, 2006 9:31 pm, edited 1 time in total.

Return to “Mod Projects”

Who is online

Users browsing this forum: No registered users and 5 guests