Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 -
Sayros - 28.08.2014
if you have already downloaded this, please download it again , the old one had a problem, thanks
Introduction:
I Started Working on this filterscript few days ago, I did my best to take care of all the possible details, but I'll be working on Improving it in the next edition!
This System allows you to create objects and if you want, move them to another position! You can set an Owner for the gate, set a pass and much more...
This system can also be used for static objects!
IMPORTANT:
-If you want the system to save everything done InGame, YOU HAVE TO ADD A FOLDER CALLED "Gates" in Scriptfiles.
-You will need also:
sscanf (lastest version) .Link: https://sampforum.blast.hk/showthread.php?tid=120356
zcmd.INC .Link: https://sampforum.blast.hk/showthread.php?tid=91354
y_ini.INC . Link https://sampforum.blast.hk/showthread.php?tid=175565
and ofcourse a_samp.INC
( If you are downloading the full Package (Not Pastebin) you'll find everything needed )
Commands:
There are Just Four Commands, but they are all you need!
Instructions:
-When Creating a Object and editing it's MPOS or normal Pos, make yourself the owner of the Object and /remote to get it back to the Initial/Final Pos So you can edit it again (You'll know what I mean when you test it)
-AVOID DELETING gates Manually by removing the INI File, it'll cause bugs!! Do it InGame!
-Do NOT the "gateid" inside the Gate.INI file manually, just Ignore it, You can still edit the other Object setting manually, that shouldn't cause any problems, but I prefer doing it InGame only!
-NEVER TOUCH the lastgate.INI file, the lastgate variable is very Important!
Bugs:
Fixed Bug: New Pos / posm not getting saved in the INI file sometimes (when using the GUI to edit the pos)
Fixed: POSITION is not changing after editing it using GUI
Please, if any Bugs found, PM them to me
In the next Version:
I'll work on adding new features like:
Set Object Rotate Smoothly (another option in the /gate list that makes the object rotate smoothly) (you can do it manually by making the speed very low (eg: 0.001) and changing a bit in the PosZm for example).
Admin Command /PlayerObjects[playerid] : displays all IDS of objects owned by a player.
And more...
DOWNLOAD:
Full Package - 2shared
pastebin (you'll probably get many "loose indentation" warnings when compiling , not my fault , so just download the full package)
Test it and tell me how do you think, should I add / remove something?...Reply your ideas
I'll provide a better video soon!
[ame]http://www.youtube.com/watch?v=TsTfyZL7ovY[/ame]
If you tested it, don't forget to tell me whether you like it or not, please reply
Re : Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 -
simo0000 - 29.08.2014
Good Job i will test it soon
Re: Re : Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 -
Sayros - 29.08.2014
Quote:
Originally Posted by simo0000
Good Job i will test it soon
|
Thanks, hope u like it
Re: Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 -
Barnwell - 30.08.2014
Sayros its very nice good job!
Re: Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 -
momo123 - 30.08.2014
Good JOb
Re: Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 -
TeddyYeah - 31.08.2014
When I write /gate , and choose Create A New Gate , dont appear nothing ... I installed him correctly !
Re: Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 -
Sayros - 31.08.2014
Quote:
Originally Posted by Barnwell
Sayros its very nice good job!
|
Thanks alot!
Quote:
Originally Posted by momo123
Good JOb
|
Thank you!!
Quote:
Originally Posted by TeddyYeah
When I write /gate , and choose Create A New Gate , dont appear nothing ... I installed him correctly !
|
Actually I tested the filterscript and it works fine! When you /gate then create new gate, does another box where you should type the model ID show up?
Did you add the sscanf plugin in your server cfg? also Compile the filterscript and tell me if it gives you any eroors !
Re: Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 -
ZombieNest - 31.08.2014
Good job, + REP
Re: Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 -
Team_PRO - 31.08.2014
Not working for me, everytime i use "Create a Gate" my account change to it even i didn't
Hmm try to use command instead of dialog like "/cgate [id]
Re: Sayros Dynamic Object System ( Gates ) / Saving Included v1.0 -
Sayros - 31.08.2014
Quote:
Originally Posted by ZombieNest
Good job, + REP
|
Thanks , My first rep
Quote:
Originally Posted by Team_PRO
Not working for me, everytime i use "Create a Gate" my account change to it even i didn't
Hmm try to use command instead of dialog like "/cgate [id]
|
How Come? I just downloaded samp server, downloaded the package, added everything and compiled the filterscript : Everything is working fine,
Can you compile? and tell me if it gives you any errors? When you create a new gate a MODEL ID DIALOG APPEARS, and it makes a gate with the next available ID!
Check the video, it should be like that
I am using 28 Dialogs in this filterscript, (IDS: 1 to 2 if you are already using these Dialog IDs in your Gamemode, change the ids in the FS,