SA-MP Forums Archive
[GameMode] The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) (/showthread.php?tid=482811)



The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - Dignity - 23.12.2013



Information from one of the author(s):
Please, please, bare in mind that this project was abandoned, meaning it is not finished, and definitely nowhere near completion. This was the gamemode that came along with this and this. It was written by Limex and myself; I also made 99% of the mapping that is included in this code. The other release topic (with only the island mapping) will be available shortly aswell. This basically all started after I played and finished The Last of Us; I loved every moment of it and people who are dear to me also know why I loved it. Please; do keep the credits, and do not re-release this as your own without MY permission. You are free to edit and finish it; I also encourage you to do so. If you do plan to finish it, please do tell me so I can admire your work! (:

Since neither me or Limex have plans to finish this, (as Limex also retired from SA-MP and coding PWN as a whole; and my motivation has dropped below zero when that happened) I have decided to release our work to the forums so dedicated people and people with motivation are eligible of finishing, or playing around with it. The MySQL dump /may/ be messed up; as I did not have the original .sql and I had to make it myself. Also; do bare in mind; you NEED scripting knowledge to compile this code! Although not that hard, it may be complicated for those who are new to scripting. Also; if you can't run it; the .sql is probably messed up. All mapping is in the "obz" filterscript.

I do not plan to provide any feedback for this mode; apart from general knowledge when it comes to compiling. Everything necessary is required. Map layout (from above): https://hostr.co/file/nUttySFSdFYL/3.png


(In)complete list of features (23 Dec. 13)
  • Dialogs (login and registering) (MySQL saving!!)
  • (Registering process; password; gender; first name; last name; ethnicity)
  • Custom entrance system (walk at point; screen fades)
  • Custom spore system. (If spore zone; SCM + decrease HP)
  • Custom 0.3x menus (textdraws - not clickable)
  • Stats showing; stamina, hunger, thirst
  • Inventory system which holds resources
  • Crafting system through inventory (linked)
  • List of items: http://pastebin.com/M7LuE6YJ

10th - 11th October 2013 Changelog (outdated)
Код:
- Added a /setpos command - usage is /setpos x y z ang vw int
- Added the main city mapping
- Added a /getpos command to display the current position
- Added a /jetpack command to spawn a jetpack
- Added 3 functions, freezePlayer, unfreezePlayer and isPlayerFrozen to manage freezing correctly
- Changed spawn to new mapping
- Added a BlackoutPlayer function which currently just TP's (inc freeze&unfreeze), soon to add effects
- Added it so players are frozen for 2 seconds when they:
	- Spawn
	- Change position
- Installed gVar plugin to be used for teleports
- Set up createTP function to create a teleport
- Set up areas for the exits and entrances using Incognito's plugin
- Created a testTP function to test for being in a 'doorway' and to push people to the right place
- Added a 'grace period' so if you TP inside / outside you don't create an infinite cycle
- Added the first TP, Jefferon Motel entrance
- Added hotel mapping
- Disabled single player 'yellow marker' inside Jeff Motel
- Set up areas for spores (Jeff Motel for now)
- Added /spores command to see if you are in a spores area or not
- Added arrows at entry / exit points
Download link: https://hostr.co/RegeEjsM1ShX
Mapping: https://sampforum.blast.hk/showthread.php?pid=2830396#pid2830396

Credits to all respective authors for their includes and functions; (md5, sscanf_2012, streamer_e1, zcmd)




Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - HavingGood - 23.12.2013

wow great gamemode!


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - TheOriginal1337 - 23.12.2013

Looks sick.


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - FlawPaw - 23.12.2013

Heh, very creative indeed! I've been looking forward to Last of Us, gonna try this GM out in a bit


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - Memoryz - 23.12.2013

inb4 Potus complains about your use of PVars.


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - FreeWorld - 23.12.2013

Great


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - TomRedlake - 24.12.2013

awesome!! Im big fan of Last Of Us and this is Great!!

REP+ for you


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - Fachrul48 - 26.12.2013

Can You Upload The Full GM Please? Mine Is Error


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - LeGGGeNNdA - 26.12.2013

Seems good,


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - Fachrul48 - 26.12.2013

i have this error (my sql error) : C:\Users\Fachrul\Documents\GenerationGamers The Last OF Us\gamemodes\ggtlou.pwn(2292) : error 035: argument type mismatch (argument 1)
C:\Users\Fachrul\Documents\GenerationGamers The Last OF Us\gamemodes\ggtlou.pwn(2303) : error 035: argument type mismatch (argument 1)
C:\Users\Fachrul\Documents\GenerationGamers The Last OF Us\gamemodes\ggtlou.pwn(2316) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.


Re : The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - Younes44 - 26.12.2013

Nice xD


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - Sojo12 - 27.12.2013

Nice GM dude.


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - Alphlax - 27.12.2013

That's unique


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - Mattakil - 30.12.2013

Pussy PVars.


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - kN1GhT - 01.01.2014

very nice GM


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - roar - 01.01.2014

Nice! Looking forward to test it.


Re: The Last of Us (Abandoned) - (Custom island +1500 objects) - (MySQL) - NikO1 - 01.01.2014

Sounds nice and looks nice to.