[FilterScript] Insanity Vehicle Attachment Editor
#1

• Insanity Vehicle Attachment Editor •


- Description


- It allows you to edit the offsets of any object to attach in any vehicle,
the functions will be saved in the file scriptfiles/editions.pwn ready to adapt for you scripts.


- Credits


- Allan Jader (CyNiC)
- Southclaw(materials script) and Y_Less(sscanf).


- Notes


- It happens with some objects: When the object is at the center of the vehicle moves the camera to automatically close(a SA-MP bug?).

-You can change how much you want the filterscript, leaving the credit to creator.


- Commands:

Type /Edit to edit a model and create a edition id.
Type /Edition to switch between editions.
Type /X /Y or /Z to adjust the linear offsets.
Type /RX /RY or /RZ to adjust the rotational offsets.
Type /Freeze and /Unfreeze to freeze and unfreeze yourself.
Type /Stop to stop an edition id and destroy the object.
Type /SaveObj to save the object offsets to the file "editions.pwn".
Type /Editions to switch between editions seeing the objects with a indication arrow.
Type /Materials to see a list of materials available.
Type /Material [model/txd name/texture name] to set a specific material. The material only will be set when you choise the trhee params!




- Download:


Version 1.0
Version 2.0
Version 3.0 Mirror 1
Version 3.0 Mirror 2
Version 4.0(sscanf plugin required) Mirror 1
Version 4.0(sscanf plugin required) Mirror 2

Get sscanf
Get MaterialData.txt

- Updates:
Code:
Version 1.0 - First and main release
Version 2.0 - Added a option to edit 5(or more, define it) objects at same time.
Version 3.0 - Added a preview system and a option to start an edition from the same position of the last.
Version 4.0 - Now you can set materials to the objects(thank's for [HLF]Shoutclaw and Y_Less) it's uses sscanf plugin. Fixed the fast movement key while driving.
Reply
#2

Very useful, thanks dude!
Reply
#3

Nice One!
Reply
#4

Awesome!
Reply
#5

Good Job !
Reply
#6

Thank's for all.
Reply
#7

The idea's great. I'm gonna test it tomorrow.
Reply
#8

very nice dude, awesome
Reply
#9

Wooot

Ps: 50% of the people on this topic are brazilian... ROFL
Reply
#10

Quote:
Originally Posted by PsyShotter
View Post
Wooot

Ps: 50% of the people on this topic are brazilian... ROFL
And.. ?
He makes a good FS. This isn't a news, because he's a great scripter.
Reply
#11

Yeah this is awesome.When I saw the Hold studio fs..I thought it would be cool to have something like that but for vehicles, and I posted it there. But there ya go, this is kewl, thanks
Reply
#12

Omg... It didn't work.
KEY_LEFT , KEY_RIGHT, KEY_FIRE. None of them worked -.-
Reply
#13

WOWW
this is this what i need
NICE DUDE
Reply
#14

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
Omg... It didn't work.
KEY_LEFT , KEY_RIGHT, KEY_FIRE. None of them worked -.-
Maybe you need default SA keys?
Reply
#15

Thanks for all again.

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
Omg... It didn't work.
KEY_LEFT , KEY_RIGHT, KEY_FIRE. None of them worked -.-
Try using the FS in lvdm gamemode without any other fs, maybe any thing are causing conflict.
Or you need default SA keys.
Reply
#16

I'll check it tomorrow.
Reply
#17

if i use /y and press num4 the object dosent move
Reply
#18

Use the diretional keys.
Reply
#19

How about adding an instructions manual ?
Reply
#20

When creating the filterscript, it mixes up the object id and vehicle id.

OUTPUT:

pawn Код:
AttachObjectToVehicle(vehicleid, objectid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ)
CORRECT SYNTAX:

pawn Код:
AttachObjectToVehicle(objectid, vehicleid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)