Campaign Tutorial

Discussion about Mods for Prison Architect

Moderator: NBJeff

Heffernan
level1
level1
Posts: 55
Joined: Tue Oct 01, 2013 7:57 pm

Campaign Tutorial

Postby Heffernan » Thu Oct 08, 2015 3:28 pm

curious

does anyone know of a Campaign tutorial or mod/tool??
User avatar
aubergine18
level2
level2
Posts: 231
Joined: Sun Jul 05, 2015 3:24 pm

Re: Campaign Tutorial

Postby aubergine18 » Fri Oct 09, 2015 10:33 pm

Could you clarify...

* Are you looking for a walkthrough guide to help you complete the campaign?
* Or are you looking for a guide that shows how to script your own campaigns?

If the latter, there's some stuff in the devwiki http://devwiki.introversion.co.uk/pa/index.php/Lua
Heffernan
level1
level1
Posts: 55
Joined: Tue Oct 01, 2013 7:57 pm

Re: Campaign Tutorial

Postby Heffernan » Sat Oct 10, 2015 1:03 am

aubergine18 wrote:Could you clarify...

* Are you looking for a walkthrough guide to help you complete the campaign?
* Or are you looking for a guide that shows how to script your own campaigns?

If the latter, there's some stuff in the devwiki http://devwiki.introversion.co.uk/pa/index.php/Lua


Thanks, was the second one, on another note i hope theres going to be a either dev made or selfmade tool to help you mod stuff :)
User avatar
aubergine18
level2
level2
Posts: 231
Joined: Sun Jul 05, 2015 3:24 pm

Re: Campaign Tutorial

Postby aubergine18 » Sun Oct 11, 2015 3:04 pm

It would be worth you copying and then unarchiving the main.dat file from the game - in it you'll find a data/campaigns IIRC that contains all the scripting of the campaigns that come with the game.
Heffernan
level1
level1
Posts: 55
Joined: Tue Oct 01, 2013 7:57 pm

Re: Campaign Tutorial

Postby Heffernan » Sun Oct 11, 2015 5:03 pm

tried to change some stuff myself but either i seem to have the wrong ID or i dont know

i tried to change

Game.VehicleCallout ( "RiotGuard", "RiotGuard1" )

Game.VehicleCallout ( "NationalGuard", "NationalGuard1" )

but the LUA page in the introversion wiki doesnt even have a page about VehicleCallout nor a Definition of RiotGuard as Vehicle since it has RiotVan, so im not sure what to put here :s
User avatar
aubergine18
level2
level2
Posts: 231
Joined: Sun Jul 05, 2015 3:24 pm

Re: Campaign Tutorial

Postby aubergine18 » Sun Oct 11, 2015 5:38 pm

The documentation on campaign scripting is badly lacking at the moment; you'll just have to play around with it and see if you can get it to work.

Note that most of the functions from campaign scripting (data/campaign/scenarioName/*.lua) and grant scripting (data/grants.lua) are not available for object scripting (data/scripts/*.lua)

If you find something that works, please post information to help others who want to do the same.

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 5 guests