Author Topic: How do I edit a CRPG?  (Read 639 times)

e.g to add more jobs 'n such
i'm not experienced with any form of scripting at all, so no clue if i should be doing this or not.
i just need a way to add jobs to a roster that people can join and be able to do things.

If you want to add a new job it's pretty easy. Copy and paste a job from the jobs folder and just edit inside the ""s as to what you want to add. Once you finish that go back to the main foder and open up scripttoobject. Scroll down in that file a little ways until you see a list of jobs. Just add another line under the last one and title it to yours. You have to remember though that the list of jobs in scripttoobject is in a special order, so do not mix them around, only add to the bottom.




sweet.
now how do i make jobs be able to do certain things like sell pardons or sell a certain type of thing.

sweet.
now how do i make jobs be able to do certain things like sell pardons or sell a certain type of thing.
Inside the job files theres options like
Code: [Select]
canpardon = true;

change that to
Code: [Select]
canpardon = false;
if you want them unable to pardon others.

i see
alright, thanks
i'll probably be running a CRPG p soon with added jobs n stuff

actually nevermind, i edited the jobs.cs and the scripttoobject folder and now when i load up the CRPG gamemode it doesnt work

Can you post the error you get?

no error, it just doesnt load anything in the CRPG folder anymore

nevermind, just a small syntax error.
one last question, how do I have certain jobs spawn with guns or such? how would i load their datablock in to the .cs?

If you want to edit The Jobs, go to Documents\Blockland\Add-Ons\GameMode_CityRPG (May be something else pretty close to that)\jobs.
 If you want to edit the jobs now, you can drag the file to your desktop, than open with notepad.. after that, You'll see information and such   
  about the jobs. You can edit the jobs, the pay line should look something like this:";;(number);"
   If you are finished editing the job, save it... than delete the one in the folder and drag the one from your desktop int the folder..
    If you're looking to create a new job, simply drag any job to the desktop... than open with notepad and change the name, pay, cansell(item), (clothes), (service):True/false...
 Than when you're finished with that, drag it back into the folder, close it and enter blockland...
  That should work (Probably not mac [If doesn't work on Macintosh, try asking a cigaretteintosh fan])