Search found 19 matches
- Sun Mar 15, 2015 3:50 pm
- Forum: Modding
- Topic: [Tool] Sprite Editor for Mods
- Replies: 31
- Views: 7998
Re: [Preview] PA Sprite Editor
Ok yes this is perfect, I had completely forgot about the interaction markers, they are such as pain in the backside to adjust about and this looks soooooo easy ... *WANT* The interaction markers have always been the hardest part of the whole process for me and now that this interface highlights the...
- Sun Mar 15, 2015 3:37 pm
- Forum: Modding
- Topic: Object not spawning
- Replies: 16
- Views: 2027
Re: Object not spawning
I was just pointing out that the code works for most things but for some reason it wont work for everything. It can spawn something but then not detect it after, so even If the code is correct, it still might not work. For your situation it should work.
- Wed Mar 11, 2015 10:57 pm
- Forum: Modding
- Topic: [Tool] Sprite Editor for Mods
- Replies: 31
- Views: 7998
Re: [Preview] PA Sprite Editor
I have a painfully obvious solution to the multiple materials.txt files. Just open it in notepad and resize the windows or use dual monitors. Like I said none of the points raised are important, they can easily be worked around. I don't think I hvae mentioned how good the instructional video is, in ...
- Sun Mar 08, 2015 10:14 am
- Forum: Modding
- Topic: Electrical Detector Object?
- Replies: 5
- Views: 1022
Re: Electrical Detector Object?
Yes I find myself using door times more for other things rather than doors, they should just rename them to electrical timers or just timers. you can control your utilities distribution with timers ie only power workshop during work hours, execution chair at night ect, so that you don't blow your po...
- Sun Mar 08, 2015 10:04 am
- Forum: Modding
- Topic: [Tool] Sprite Editor for Mods
- Replies: 31
- Views: 7998
Re: [Preview] PA Sprite Editor
It looks like a good tool and the video provides a good guide, would be helpful to the people just starting out in PA modding. I however like to mod in my own format using Notepad++ (ie using tab indentation rather than spacing ect), It would be cool if you could change the output of materials.txt s...
- Tue Mar 03, 2015 10:16 pm
- Forum: Modding
- Topic: Using specific doors and materials in rooms
- Replies: 9
- Views: 1556
Re: Using specific doors and materials in rooms
you can search for something that isnt their by setting a value ie a=1 while get nearby objects ( door, 1 ) a=2 end if a=1 then ... dont allow room if a=2 then ... do allow room else ... end This is just a basic concept but you could tell it to spawn an invisible, un-usable, non blocking object (pos...
- Sat Feb 28, 2015 3:43 pm
- Forum: Modding
- Topic: Using specific doors and materials in rooms
- Replies: 9
- Views: 1556
Re: Using specific doors and materials in rooms
I would aggree with muahaa with that option; Zone the tile containing the door as part of the room. Done. The only alternative would be to create a lua code that takes the room dimensions and includes checks X+1, X-1, Y+1, Y-1 to scan around the room looking for nearby objects that match the desired...
- Sun Feb 15, 2015 1:59 pm
- Forum: Modding
- Topic: How to add a new type of guard?
- Replies: 3
- Views: 1431
Re: How to add a new type of guard?
It would seem that all mods so far alter existing guard files and replace them but keeps the name (changes name in the language file). I would assume that there is an extra list or code that checks the object name against the guard property and if the name doesn't match it crashes for what ever reas...
- Sun Feb 15, 2015 1:52 pm
- Forum: Modding
- Topic: Map for PA
- Replies: 3
- Views: 951
Re: Map for PA
From the sounds of it, most of what you want to do has been done in the Prisoners of War mod / mods (all except the day night cycle alteration). Within this mod they re texture almost all of the objects and characters, rename them and re code them, you could look at what they have done and do someth...
- Sun Feb 15, 2015 11:00 am
- Forum: Modding
- Topic: Map for PA
- Replies: 3
- Views: 951
Re: Map for PA
For a start I would copy the people.png, objects.png, tilesets.png and objects.spritebank Okay personally I find the best way to edit the image files are through Gimp (the free imaging software). You can do most of the things that you can do in photoshop, and other things you can do in photoshop. Yo...
- Sun Feb 15, 2015 10:29 am
- Forum: Modding
- Topic: Only day at my graphic mod
- Replies: 2
- Views: 606
Re: Only day at my graphic mod
The scripts that control the sun and shadows are in the shaders folder I think, I haven't looked too much at it at the moment, but I know there is a small script that controls the shadows over the time of day, problem is it references another script, and that script probably references another.
- Sat Feb 14, 2015 5:47 pm
- Forum: Modding
- Topic: Object not spawning
- Replies: 16
- Views: 2027
Re: Object not spawning
You can spawn almost anything however I have noticed that there are some things that you cannot spawn, the code below works and spawns 3 prisoners: function Create() local x = Object.GetProperty("Pos.x") local y = Object.GetProperty("Pos.y") Object.Sound("__RiotAssault"...
- Sat Feb 14, 2015 5:01 pm
- Forum: Modding
- Topic: fire detector problem
- Replies: 9
- Views: 1374
Re: fire detector problem
Ok after A little testing the code, the code below detects the workman who just built the object and then it spawns 2 trees alongside ... it works (funny note you can kill a workman if you spawn objects all around the object they just built without deleting it as it uses up all of the squares - the ...
- Sat Feb 14, 2015 3:05 pm
- Forum: Modding
- Topic: fire detector problem
- Replies: 9
- Views: 1374
Re: fire detector problem
Ok the code you will use is generic, however some of the code is unnecessary for example this code will work just as well; function Create() local x = Object.GetProperty("Pos.x") local y = Object.GetProperty("Pos.y") local NAME_OF_YOUR_SCRIPT = Object.GetNearbyObjects ("Fire...
- Fri Feb 13, 2015 2:53 am
- Forum: Modding
- Topic: Object not spawning
- Replies: 16
- Views: 2027
Re: Object not spawning
I dont like the way that the spawn code is written, it may work that way but its not how I code. local currentDrink = Object.Spawn( "WaterBottle", Object.GetProperty("Pos.x"), Object.GetProperty("Pos.y")); some thing like this works as i have used it to spawn stuff. fun...
