[FilterScript] Ultimate Ingame Editor
#1

Ultimate Ingame Editor
[23/06/2013] Project cancelled quite along ago; lost files too. If you somehow have the files, please send it to me! rpdsamp.nl is down aswell for a looong time

Hi everyone!
I've made an 'Ingame Editor'. It's not a editor actually, but it sounds better. With this script you can:
- Save positions into a file
- Add Pickups (saved in a file)
and more (more info below)
It can be very handy.

Examples
Example 1: Pickup Creator + Teleport Command Creator
Screens:
Screens lost
Screen 1: "/uiepickup 3" command: Create a info icon (it save's into a file) + "/uieteleport" (1st time): Give first pos of the teleport
Screen 2: "/uieteleport" (2nd time): Give the pos where to go
Screen 3: "/uieteleport" (3rd time): Confirm that you have what you want. Make the command
Screen 4: The output

With this, you could make something like this:
pawn Code:
#include <a_samp>

new infopickup;

public OnFilterScriptInit()
{
    infopickup = CreatePickup(1239, 19, 2514.086181, -1691.287597, 14.046038, 0);
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/tele", true)){
        if(IsPlayerInRangeOfPoint(playerid, 2, 2514.027832, -1691.184082, 14.046038)){
            SetPlayerPos(playerid, 1544.528686, -1354.707885, 329.471923);
            SetPlayerFacingAngle(playerid, 345.574218);
        }
    }
    return 0;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == infopickup)
    {
        GameTextForPlayer(playerid, "~y~Use ~r~/tele~y~ to go to the tower", 4000, 3);
        return 1;
    }
    return 0;
}
More examples will come later

Information
Current version: v1.3
The commands are for RCON admins only

The commands
/uievec (params: MODEL ID & FILENAME)
/uiesavevec (params: FILENAME)
/uiesavepos (params: 0/1 & FILENAME)
/uiepickup (params: 01/2/3 & FILENAME)
/uieteleport (params: FILENAME)
/uierteleport (params: none)

Commands info
/uievec
-> Spawns a vehicle (you can spawn one vehicle at once!)
/uiesavevec
-> Save a vehicle when you're in it! (No need to give a vehicleid)
/uiesavepos
-> Save's a players position
-> PARAMS INFO:
->-> 0: Only save the X, Y, Z, A position
->-> 1: Save's a whole code (SetPlayerPos, SetPlayerFacingAngle)
/uiepickup
-> Add a pickup command into a file
-> PARAMS INFO:
->-> 0: Create a normal pickup code. You need to edit it yourself (PickupModel & PickupType)
->-> 1: Create a Armour Pickup
->-> 2: Create a Health Pickup
->-> 3: Create a Info Icon Pickup
/uieteleport
-> Make's a teleport command. Information:
->-> First time when you use it, you need to be at the place you need to be when you use the command
->-> Second time when you use the cmd, you need to be at the place where you want to be teleported
->-> Third time when you use it, it's just a confirmation to save the command
/uierteleport
-> Reset everything for /uieteleport - If you made a mistake
ALL THE SAVE COMMANDS: Choose your own filename

Download
Download the scriptfiles,pawno include and the filterscripts (pwn+amx) here: Download
URL down, lost files too

This file includes:
- changelog (changelog.txt) = CHANGELOG of this script
- UIE.pwn (filterscripts/UIE.pwn) = The PWN script
- UIE.amx (filterscripts/UIE.amx) = The AMX script (you need to run)
- dcmd.inc (pawno/include/dcmd.inc) = Include you need
- Scriptfiles (scriptfiles/UIE) = Here will all the positions saved etc)

Known bugs
None, please report them here

Upcoming Features
-> Every new positions a new file (You can give it a name by yourself) - ADDED (choose your own filename)
-> More advanced commands (more parameters etc) - CANCELED

Enjoy the script

Kind Regards,
Kevin aka Kwarde
Reply


Messages In This Thread
Ultimate Ingame Editor - by Kwarde - 21.10.2010, 15:25
Re: Ultimate Ingame Editor - by royal_king - 21.10.2010, 16:33
Re: Ultimate Ingame Editor - by Kwarde - 21.10.2010, 16:37
Re: Ultimate Ingame Editor - by HyperZ - 22.10.2010, 15:28
Re: Ultimate Ingame Editor - by Kwarde - 22.10.2010, 17:59
Re: Ultimate Ingame Editor - by Kwarde - 03.11.2010, 14:46
Re: Ultimate Ingame Editor - by kiss - 03.11.2010, 18:01
Re: Ultimate Ingame Editor - by Kwarde - 04.11.2010, 05:35
Re: Ultimate Ingame Editor - by ricardo178 - 29.01.2011, 09:16
Re: Ultimate Ingame Editor - by Steven Paul - 29.01.2011, 10:19
Re: Ultimate Ingame Editor - by Lorenc_ - 29.01.2011, 10:31
Re: Ultimate Ingame Editor - by Aleluja - 29.01.2011, 10:32
Re: Ultimate Ingame Editor - by MuLtiVaN - 29.01.2011, 10:39
Re: Ultimate Ingame Editor - by Kwarde - 29.01.2011, 10:48
Re: Ultimate Ingame Editor - by Dr.Ghost - 06.02.2011, 06:05
Re: Ultimate Ingame Editor - by Gforcez - 10.02.2011, 14:21
Re: Ultimate Ingame Editor - by Kwarde - 10.02.2011, 15:31
Re: Ultimate Ingame Editor - by marinov - 10.02.2011, 15:42
Re: Ultimate Ingame Editor - by Kwarde - 19.02.2011, 21:02
Re: Ultimate Ingame Editor - by wheelman_WM - 20.02.2011, 09:33
Re: Ultimate Ingame Editor - by Kwarde - 20.02.2011, 09:35
Re: Ultimate Ingame Editor - by wheelman_WM - 20.02.2011, 09:55
Re: Ultimate Ingame Editor - by Kwarde - 20.02.2011, 10:21
Re: Ultimate Ingame Editor - by jaami - 26.03.2011, 03:34
Re: Ultimate Ingame Editor - by ToPhrESH - 26.03.2011, 04:02
Re: Ultimate Ingame Editor - by Kwarde - 26.03.2011, 06:10
Re: Ultimate Ingame Editor - by Medal Of Honor team - 26.03.2011, 07:34
Re: Ultimate Ingame Editor - by Kwarde - 21.04.2011, 14:25
Re: Ultimate Ingame Editor - by Drza - 21.04.2011, 15:17
Re: Ultimate Ingame Editor - by NeoHacker0 - 23.06.2013, 05:15
Re: Ultimate Ingame Editor - by tboysamp - 23.06.2013, 07:58
Re: Ultimate Ingame Editor - by xser - 24.06.2013, 01:17

Forum Jump:


Users browsing this thread: 1 Guest(s)