Search found 14 matches

by NativeFighter
Sat Jan 06, 2018 5:31 pm
Forum: Modding
Topic: [Inquiry] Can this be done with lua ?
Replies: 0
Views: 7392

[Inquiry] Can this be done with lua ?

Hey, I would need to use the following things, but Aubergine's beautiful guide can't help me (nothing of that sort found)... so I was wondering if any of the developers or modders here could help out. I need to: 1. Find nearby room(s) (I want my guy to go to a security room). 2. Allow for the user t...
by NativeFighter
Wed Aug 03, 2016 5:15 pm
Forum: Modding
Topic: Modifying Needs Error -- Help Needed
Replies: 5
Views: 2374

Re: Modifying Needs Error -- Help Needed

We do "funky" stuff with metatables in Lua for access our variables. Can you give me an example of the loop you're using so I can reproduce the problem locally and get a fix? This is my code: local rdm = math.random local happynessFactor = 0 local needsList = { "Freedom", "...
by NativeFighter
Sun Jul 31, 2016 3:45 pm
Forum: Modding
Topic: Modifying Needs Error -- Help Needed
Replies: 5
Views: 2374

Re: Modifying Needs Error -- Help Needed

murgh wrote:Check if the value is nil instead of 0. That should help I guess.

Nope... didn't work.

I can set a need the same way... but it seems to refuse for me to get that need.

EDIT: This happens also when I try to get a StatusEffect.
by NativeFighter
Sun Jul 31, 2016 12:21 am
Forum: Modding
Topic: Modifying Needs Error -- Help Needed
Replies: 5
Views: 2374

Modifying Needs Error -- Help Needed

Greetings, I was trying to use a loop to go through all needs and do stuff with them when I fell upon this error here: ScriptSystem Error : RUNTIME ERROR : [string "function this.Needs.NeedsMetaTable:__index(..."]:3: attempt to index field 'UNUSED' (a nil value) Now, this error appeared ev...
by NativeFighter
Sat Jul 30, 2016 11:38 pm
Forum: Modding
Topic: Mod Not Updating [Solved]
Replies: 3
Views: 1978

Re: Mod Not Updating -- Error Included

Hey there, So these errors are a bit weird. The first is a "Busy" error, and the second is a "Not Logged Into Steam" error. It might be that the Steam servers were a bit wonky when you tried to upload the error. Could you please try once more (now it's a day later). If you still...
by NativeFighter
Fri Jul 29, 2016 12:01 am
Forum: Modding
Topic: Mod Not Updating [Solved]
Replies: 3
Views: 1978

Mod Not Updating [Solved]

Cheers, I was trying to update my french town mod as I noticed the cells were not working anymore... However, I now need to confront this error which I know not how to solve... when I try to update the mod, it sais it failed... so I looked into the debug.txt file and found a few interesting lines. (...
by NativeFighter
Thu Jun 16, 2016 12:45 pm
Forum: Modding
Topic: Mod no longer shows as published? Can't update now?
Replies: 1
Views: 765

Re: Mod no longer shows as published? Can't update now?

Hey, I'm native. I've had the same problem a few weeks ago. If you give me the name of your mod and an email adress (I don't know if you can PM in this forum but it might be better if you can). I will send you the files back and if you need help putting it back into your mod's file I can also explai...
by NativeFighter
Sat May 07, 2016 3:26 pm
Forum: Modding
Topic: [Question] Adding Prison Staff
Replies: 5
Views: 1766

Re: [Question] Adding Prison Staff

I tried adding guards, sadly they crash my game everytime, but doesnt say anything in the blackbox :/ . I'm also having a problem where it says object_(name) for everything I add, Any help would be great! Hey there, It is possible to create your own staff, but it's very hard. If you just create you...
by NativeFighter
Tue Apr 26, 2016 3:27 pm
Forum: Modding
Topic: [MOD] Total conversion - possible?
Replies: 3
Views: 1490

Re: [MOD] Total conversion - possible?

Hey theHax, It is indeed possible to create such mod... I myself already have some ideas on how to stop your prisoners (students) from escaping, and the needs shouldn't be a problem neither... Just to let you know, with my current programming knowledge and PA modding skills, I would personnaly be ab...
by NativeFighter
Fri Oct 09, 2015 4:58 pm
Forum: Modding
Topic: [MOD] Dispatch Mod
Replies: 8
Views: 2432

Re: [MOD] Dispatch Mod - please add link

dr.phees wrote:I would love to use your link, but I don't use steam. Could you also provide a download link in the first post?


If anyone could upload it on dropbox would be good as I cannot myself (or any other sites).
by NativeFighter
Thu Oct 01, 2015 7:37 pm
Forum: Modding
Topic: [MOD] Dispatch Mod
Replies: 8
Views: 2432

Re: [MOD] Dispatch Mod

Also the first line "this.GetNearbyObjects ( "Guard", 30)" doesn't seem useful to me... Is it needed because your doing the stuff immediately from create? Or is it a remnant of unfinished testing or development?[/quote] First of all, you are great! Thanks to you the mod is now up...
by NativeFighter
Mon Sep 28, 2015 7:16 pm
Forum: Modding
Topic: [MOD] Dispatch Mod
Replies: 8
Views: 2432

Re: [MOD] Dispatch Mod

Good stuff! I haven't tried your mod or seen your code... But... for skipping guards escorting prisoners you could maybe check if their Carrying.Id.i / Id.u are -1 before you decide to set a NavigateTo(x, y). So with guard types try; if obj.Carrying.Id.i == -1 then obj.NavigateTo(x, y) end Anyway t...
by NativeFighter
Fri Sep 25, 2015 11:28 am
Forum: Modding
Topic: [MOD] Dispatch Mod
Replies: 8
Views: 2432

[MOD] Dispatch Mod

Annoyed of having to search for guards around your prison? Annoyed of seeing wounded prisoners and no one healing them? Then this mod is for you! Call anyone, anytime! Features: -Dispatch a doctor to the scene (New update: Doctors will come even if very far away). -Dispatch nearby guards to scene. -...
by NativeFighter
Tue Sep 08, 2015 1:12 am
Forum: Modding
Topic: [MOD] Town Re-Converssion Mod
Replies: 0
Views: 1347

[MOD] Town Re-Converssion Mod

http://i59.tinypic.com/wbbd3s.png Hey everyone! I decided to post this topic today for the simple reason I have created two mods now, one of which is getting really really cool, and I felt not enough people knew about it. My town mod, also known as: French police and city mod , aims at modifying th...

Go to advanced search