These are chat archives for ikkentim/SampSharp

1st
Jul 2015
Florian van Dillen
@fvandillen
Jul 01 2015 07:42
I'm reworking this filterscript/plugin so it exports C# code instead of pawn: https://github.com/fvandillen/Texture-Studio
Which is great to get more people on board, since it allows people to easily make maps in SampSharp.
Marco Acierno
@marcoacierno
Jul 01 2015 09:09
Then I think we need to create a converter of samp objects to c# objects
So people can start easily
Florian van Dillen
@fvandillen
Jul 01 2015 09:37
Yeah we could do with a converter, too
So you say we don't modify the mapping tools, but make a converter for the stuff you export from mapping tools?
Good point
Problem is already solved by http://www.convertffs.com/
they support custom output format nowadays
Florian van Dillen
@fvandillen
Jul 01 2015 09:48
Works extremely well:
var obj = new DynamicObject(1682, new Vector3(151.2222300, -14.4625700, 16.9061300)); obj.Move(obj.Position, obj.Rotation + new Vector3(0.0000000, 0.0000000, -148.6799600)); // Object ID: 0
Adding the id to the var name would prevent errors, tho
Florian van Dillen
@fvandillen
Jul 01 2015 11:04
Marco Acierno
@marcoacierno
Jul 01 2015 18:33
Good
Anyway I thought that would be better to create a converter "samp to c#" so people can use whatever they want to create the maps
Florian van Dillen
@fvandillen
Jul 01 2015 18:50
Yeah good thinking
The link I posted above will show you a valid conversion code for convertffs
Tim Potze
@ikkentim
Jul 01 2015 20:19
Feel free to contribute to the sampsharp wiki! Any changes made there are automatically picked up by SampSharp.timpotze.nl
Florian van Dillen
@fvandillen
Jul 01 2015 20:35
Sure thing
I'll be sure to include the map conversion tutorial
Tim Potze
@ikkentim
Jul 01 2015 20:42
:+1: