Mcfarlin Posted February 6, 2016 Share Posted February 6, 2016 (edited) Mod Name: Gang Strongholds (PLEASE NOTE CRYSTALS ARE LISTED AS GOLD COINS AND GANGS AS GROUPS IN THESE FILES) you may want to change those to whatever you are using in your game. Mod Status: FREE; Availability: MCCodes Version 2.0.5b Licence/terms off use: General public licence (GPL) About the mod and how it works: Gang Leaders will be able to buy a stronghold for a gang. Strongholds will cost XXX crystals to buy and come with a base stat bonus for all members. (5% STG, AGI ect.) Gang leaders can buy upgrades for the strongholds. Each upgrade will add another 5% to the selected stat bonus for all gang members. (while attacking) Bonuses will be capped at 25%. Bonuses to stats go only to an attacking player, the defending player does not use his or her bonuses while being attacked. Screen Shots: http://postimg.org/image/z7ub3cxrd/ http://s16.postimg.org/r4ewlzdat/pic2.png http://postimg.org/image/55pbexokt/ <--- stats here are without bonus applied. http://s24.postimg.org/pgpei1q05/pic4.png <--- stats in this image are with bonus applied. I currently have the costs set for each of the strongholds and the upgrades, they are easy to edit to fit your needs. First a few SQLs are needed You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then 4 new PHP files. and edits to Index.php and attack.php Edited February 6, 2016 by Mcfarlin Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted February 6, 2016 Author Share Posted February 6, 2016 upgradebuy.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. next is groupstronghold.php ( you will need five images of your strongholds. Change the names to what you would like them to be called for your game) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted February 6, 2016 Author Share Posted February 6, 2016 (edited) then add upgradestrong.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And buystronghold.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited February 7, 2016 by Mcfarlin Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted February 6, 2016 Author Share Posted February 6, 2016 (edited) Now open up Index.php and find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. After it add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. then find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace it with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Index edits are completed. Edited February 18, 2016 by Mcfarlin Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted February 6, 2016 Author Share Posted February 6, 2016 Now open up attack.php and find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace it with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted February 6, 2016 Author Share Posted February 6, 2016 And you should be done. If i missed anything or you are having issues with the mod i will be online a lot for the next few days. Inbox me here or post issues and i will help asap. And if anyone would care to edit the attack.php to include the bonuses to both players instead of only the attacker please feel free to do so and post here for everyone. Thx. Quote Link to comment Share on other sites More sharing options...
Zettieee Posted February 7, 2016 Share Posted February 7, 2016 It's nice that you're giving this away but could you upload it in a zip and maybe add it to the mccode market? (They have a free section and might get this some more attention!) Quote Link to comment Share on other sites More sharing options...
Mcfarlin Posted February 8, 2016 Author Share Posted February 8, 2016 I dont think its worth much. as its really my first actual mod, i was just sharing. I will look at uploading as you suggested. Has anyone used this? If so how is it working for you? 1 Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 5, 2016 Share Posted May 5, 2016 I'm going to add this later and see how it goes has this been tested? Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 5, 2016 Share Posted May 5, 2016 (edited) i will be testing this soon Edited April 2, 2019 by WarMad dont need convertd anymore Quote Link to comment Share on other sites More sharing options...
WarMad Posted April 2, 2019 Share Posted April 2, 2019 bump Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.