curious
does anyone know of a Campaign tutorial or mod/tool??
Campaign Tutorial
Moderator: NBJeff
- aubergine18
- level2
- Posts: 231
- Joined: Sun Jul 05, 2015 3:24 pm
Re: Campaign Tutorial
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
* 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
Re: Campaign Tutorial
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
- aubergine18
- level2
- Posts: 231
- Joined: Sun Jul 05, 2015 3:24 pm
Re: Campaign Tutorial
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.
Re: Campaign Tutorial
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
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
- aubergine18
- level2
- Posts: 231
- Joined: Sun Jul 05, 2015 3:24 pm
Re: Campaign Tutorial
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.
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.
Who is online
Users browsing this forum: No registered users and 12 guests