Search found 77 matches

by dsdude123
Sun Sep 07, 2014 5:32 pm
Forum: Modding
Topic: [SOLVED] Jobs not being performed.
Replies: 9
Views: 1508

Re: Jobs not being performed.

Try removing the 'Tool Fists' line? If you don't need your workers to use a specific tool, you don't need to include a Tool line. Clarification: I don't know wether or not a prisoner actually has the fists equipped outside of combat. As far as I know, he doesn't spawn with them. And if he doesn't, ...
by dsdude123
Sun Sep 07, 2014 3:45 pm
Forum: Modding
Topic: [SOLVED] Jobs not being performed.
Replies: 9
Views: 1508

[SOLVED] Jobs not being performed.

Hello all, I've seemed to run into yet another problem. I have an LUA script in /scripts/printer.lua that is supposed to generate a job after a certain period of time and then spawn an object when the job is finished. Luckily that is working, the jobs are being created. However, the prisoners aren't...
by dsdude123
Sat Sep 06, 2014 3:33 pm
Forum: Modding
Topic: Deadlights Prison Overhall V7 (Benchmark)
Replies: 6
Views: 1343

Re: Prison Tweaks V4 (Law and Books update)

Please post a link to the mod here. Telling us about new updates to the mod is no good if we don't have a link to it!
by dsdude123
Fri Sep 05, 2014 4:05 am
Forum: Modding
Topic: Anyone been able to add functional staff?
Replies: 22
Views: 2950

Re: Anyone been able to add functional staff?

May I see the code? I'd like to run your mod and look for a few things in the .prison file. If you could give me a copy, I could probably determine where things were going wrong. Here is the code for the job: BEGIN Job Name MaintainComputer JobTime 30 Tool CircuitBoard Worker SystemAdministrator EN...
by dsdude123
Fri Sep 05, 2014 3:45 am
Forum: Modding
Topic: Anyone been able to add functional staff?
Replies: 22
Views: 2950

Re: Anyone been able to add functional staff?

May I see the code? I'd like to run your mod and look for a few things in the .prison file. If you could give me a copy, I could probably determine where things were going wrong. Here is the code for the job: BEGIN Job Name MaintainComputer JobTime 30 Tool CircuitBoard Worker SystemAdministrator EN...
by dsdude123
Fri Sep 05, 2014 12:06 am
Forum: Modding
Topic: Anyone been able to add functional staff?
Replies: 22
Views: 2950

Re: Anyone been able to add functional staff?

Here's what I mean: BEGIN Job Name TendVegetables JobTime 0.1 Tool Trowel Worker Prisoner Qualification Horticulture END This is from the Vegetable Patch example mod. You could change the "Worker" line to something like this: Worker SystemAdministrator That would call the Systems Administ...
by dsdude123
Wed Sep 03, 2014 12:13 am
Forum: Modding
Topic: Object contraband support
Replies: 12
Views: 757

Re: Object contraband support

Figured out the issue, it seems the game loads from a top to bottom basis meaning that if an object,contraband,etc. isn't loaded at the proper time it wont work. Not sure why I didn't think of it in the first place considering how much developing I do :P
by dsdude123
Tue Sep 02, 2014 11:21 pm
Forum: Modding
Topic: Object contraband support
Replies: 12
Views: 757

Re: Object contraband support

JASPer.Gamer.9.0 wrote:and if you can't tell us the room, we can't help you!


First of all, that room is not the room I am having an issue with. Second of all, it seems the contraband works perfectly fine in the secret room. Must be something wrong with computer room. Will post more as I figure it out.
by dsdude123
Tue Sep 02, 2014 10:44 pm
Forum: Modding
Topic: Object contraband support
Replies: 12
Views: 757

Re: Object contraband support

St0l3n_ID wrote:I think the parser is simply ignoring unkown tags, thats why it didnt crash.
Cant really help, but why dont u make the printer a required object?


The printer will be required in a new room. Cant tell much about this room yet, its a secret :)
by dsdude123
Tue Sep 02, 2014 3:12 pm
Forum: Modding
Topic: Anyone been able to add functional staff?
Replies: 22
Views: 2950

Re: Anyone been able to add functional staff?

Entities seem to have a "JobId" property, and all jobs are given a number. Unfortunately, I don't think you can actually get the JobId for a given job, as Object.CreateJob() doesn't return anything. There may still be other ways to assign jobs, which I am looking into right now. I'll upda...
by dsdude123
Tue Sep 02, 2014 3:11 pm
Forum: Modding
Topic: Object contraband support
Replies: 12
Views: 757

Re: Object contraband support

Yeah, I tried putting contraband code in an object and nothing changed. The game did start without crashing though.
by dsdude123
Tue Sep 02, 2014 12:44 am
Forum: Modding
Topic: Object contraband support
Replies: 12
Views: 757

Object contraband support

Can objects in game, like my computer for example, provide contraband instead of just the room? I had an idea of when a printer is added to a room, new contraband would become available.
by dsdude123
Tue Sep 02, 2014 12:41 am
Forum: Modding
Topic: Anyone been able to add functional staff?
Replies: 22
Views: 2950

Re: Anyone been able to add functional staff?

The reason he's sideways is because you probably set the rotatetype wrong and the reason he doesn't move is because he doesn't need to move. The is no reason for him to move as he's not coded to wander around when he's idle and probably doesn't have a job It seems that even when there is a job that...
by dsdude123
Mon Sep 01, 2014 11:00 pm
Forum: Modding
Topic: Anyone been able to add functional staff?
Replies: 22
Views: 2950

Re: Anyone been able to add functional staff?

Phraxas wrote:
dsdude123 wrote:Ah, what should it be set to?

0,0


Already was set to 0. Seems that setting it to 4 solved the problem.
by dsdude123
Mon Sep 01, 2014 10:54 pm
Forum: Modding
Topic: Anyone been able to add functional staff?
Replies: 22
Views: 2950

Re: Anyone been able to add functional staff?

The reason he's sideways is because you probably set the rotatetype wrong and the reason he doesn't move is because he doesn't need to move. The is no reason for him to move as he's not coded to wander around when he's idle and probably doesn't have a job Ah, what should it be set to? I never could...

Go to advanced search