UA Clan Website
HomePortalsCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in
Brown stories. :)
Fri Nov 26, 2010 2:24 pm by KodiaK
Brown is a guy I hunt with, below are his stories. Mmmkay? Smile

Story #1 - Brown was on food stamps, and he didn't get any for 7 weeks, he killed a bobcat and skinned it. Then he took it into the food stamp offices and walked into the area where you get food stamps, he said to the guy, "This here is what I've been eating for the 7 weeks with no food stamps." Then he made the guy eat it, …

[ Full reading ]
Comments: 7
Bye Bye Forever
Wed Jan 05, 2011 12:30 pm by Fisica.<3
I'll leave the server that the UA for this very boring very boring no one will miss most min Bye Bye Forever

Comments: 0
Leaving /UA/
Tue Jan 04, 2011 8:49 am by FuSionZ
Yes, im leaving /UA/ by my own reasons, sorry but i dont say why i leave, only i can say one thing to Kod:

Ryan, /UA/ was better when the server have his first month. I'm not saying that /UA/ sux, but remember that phrase.

Hope i like it to all the people, if not u can say.


Comments: 3
Report CR7
Wed Nov 24, 2010 2:27 pm by DécioMartins
Do not know if I put this here, but another topic of Reports is fechado.Bem I was playing on the server when I heard that a member of my clan (PT) was insulting members and they want and join other clans is not the first time to do the same, even then enter the server and I say he was expelled from the clan and explained why, moments after he started insulting me and so I think this just going to …

[ Full reading ]
Comments: 3
New members!
Mon Nov 15, 2010 3:54 pm by KodiaK
Adding new trials, please give them a warm welcome!


Take this chance seriously!

Comments: 6
New members!
Sat Nov 06, 2010 3:38 pm by KodiaK
Once again, I think it's time to add some new members!

-- Danny
-- Lukkie.<3
-- PeiN
-- RevPro

Take these rights seriously!

Comments: 6
Sun Nov 07, 2010 4:51 pm by KodiaK
Ye, as you may have noticed, the server is down, I'll try to fix it tomorrow. Not really sure what's the problem.

Comments: 4
New server!
Mon Nov 01, 2010 4:48 pm by KodiaK
Since not very many players are from US, I changed the server location to some where in EU..
Port: 22003

Comments: 5
Forum Changes
Sat Oct 23, 2010 3:40 am by rohen17
As you can see a part of graphic of this forum has changed ! I have improved the following items :
-top banner
-site buttons (all)
-font + color

-portal added
-today's movie widget added
-radio widget added

-gallery (clan photos)

*More changes will come ! This post will be updated !

[ Full reading ]
Comments: 9
On-line Server Info
Today’s Movie
Donate for us!>
Latest topics
» SimpLe app.
Sun Feb 13, 2011 6:05 pm by simple

» Join Request by |darwin|
Fri Feb 04, 2011 2:29 pm by |darwin|

» This is for KodiaK..
Wed Feb 02, 2011 7:42 am by NeXTreme

» CarroN /UA/ Application
Mon Jan 31, 2011 6:12 pm by noel4489

» Accept me: D: Gui
Thu Jan 27, 2011 5:31 pm by Twister!

» ADMINS Abusing there Banned privileges
Mon Jan 24, 2011 7:05 pm by noel4489

» App-PotSmoke
Sun Jan 23, 2011 2:34 pm by noel4489

» I'm Ferrari!
Sat Jan 22, 2011 12:32 am by Ferrari

» iJordan's /UA/ Application
Fri Jan 21, 2011 8:09 pm by iJordan

We have 104 registered users
The newest registered user is broorand

Our users have posted a total of 492 messages in 142 subjects
Kiss Fm Radio
ON AIR pentru ON / OFF

Share | 

 [TUT] Scripting, RCG......

Go down 

Posts : 9
Points : 17
Join date : 2010-10-23

PostSubject: [TUT] Scripting, RCG......   Thu Dec 23, 2010 4:38 pm

1. If you're gonna add scripts to your maps PLEASE KNOW WHAT YOU'RE DOING! Scripts aren't just something you copy/paste into your map - they need to be checked also. If you're gonna do this, then make sure you've done "debugscript 3" so you can see server and client script errors.

2. DO NOT use ( ) or spaces in file and folder names - these cause download errors.

Oh, and another thing do not use scripts that scroll the chat box to display credits. Map names and authors (from the meta info) are displayed on map start.

(1) Scripting [only MTA 1.0!]

If you want to make script on your map, just follow the instructions:

1. Download Notepad++
2. Open Multi Theft Auto Map Editor [1.0.3]
3. Load race definition
4. Create your map
5. Minimalize MTA
6. Open: Multi Theft Auto 1.0\server\mods\deathmatch\resources
7. Find folder with your map [2 files (meta.xml and *.map)]
8. Open meta file
9. Add two lines after MapSRC:
<script src="PumaServerSideScript.lua" type="server" />
<script src="PumaClientSideScript.lua" type="client" />

10. Open Notepad++ and add your script here
11. Save as *.lua file
12. Reload your map
13. Press F5 or turn on test mode

There is to sides: ServerSide [everything that makes for server]
and ClientSide [everything that makes for client]

There is a lot of functions: moveObject, setObjectRotation, CreateExplodion etc.
All functions u can find here:

-- (a) Water, Sky Color [only MTA 1.0!]

10. 1.a - Scripts: (CLIENTSIDE! - in meta.xml: <script src="PumaClientSideScript.lua" type="client" />)

function ClientStarted ()
setWaterColor( 0, 0 , 255 ) -- RGB colors
setSkyGradient( 0 , 0 , 0 , 0 , 0 , 0 ) - 1st RGB colors top sky, 2nd RGB colors bottom sky

addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), ClientStarted )

-- (b) Your own billboard [only MTA 1.0!]

10. 1.a - Scripts: (CLIENTSIDE! - in meta.xml: <script src="PumaClientSideScript.lua" type="client" />)

Billboard ID: 7301

function ClientStarted ()
billboard = engineLoadTXD("vgsn_billboard.txd")
engineImportTXD(billboard, 7301 )
addEventHandler( "onClientResourceStart", getResourceRootElement(getThisResource()), ClientStarted )

In meta.xml:
<file src="vgsn_billboard.txd" />

Put that file in your map folder:

You can edit txd file by using TXD Workshop 4.0, you can download it from:
TXD Workshop

(2) Roller Coaster Generator

To create perfect loops, helix just follow my instructions:

1. Download rcg16.rar file
2. Unpack Rar and put folder into Multi Theft Auto 1.0\server\mods\deathmatch\resources folder
3. Open accounts.xml file on Multi Theft Auto 1.0\server\mods\deathmatch folder
4. Add new line:
<account name="~[EPG]~Puma" password="yourpass" ip="" />

5. Save and close file
6. Open acl.xml file
7. Find that:
<group name="Admin">
<acl name="Moderator"/>
<acl name="SuperModerator"/>
<acl name="Admin"/>
<acl name="RPC"/>
<object name="resource.admin"/>
<object name="resource.webadmin"/>

8. Add new line:
<group name="Admin">
<acl name="Moderator"/>
<acl name="SuperModerator"/>
<acl name="Admin"/>
<acl name="RPC"/>
<object name="resource.admin"/>
<object name="resource.webadmin"/>
<object name="user.~[EPG]~Puma"/>

9. Save and close file
10. Open MTA Map Editor [1.0]
11. Type: /login yournick yourpass [f.ex. /login ~[EPG]~Puma hello]
12. Type /start rcg
13. Use your mouse wheel to change definitions
14. Create perfect loops

If you want to save your LOOP, just save map. Open your map in NOTEPAD [*.map file]
Find all lines with words: "ControlPoint", "Track" and delete this lines. You should see only <object id="...

(3) Perfect Loop (by XeroX)

Here is video tutorial how make perfect loops with prjMOA in MTA 1.0 editor

1. Open prjMOA
2. Creat loop
3. Press generate
4. U will see window with text, copy it
5. Open IE and go to
6. Convert MTA Race into MTA 1.0 map and press continue
7. Paste text and press button Convert my Objects
8. Copy new text ( donţ copy this text on top of window <map edf:definitions="editor_main">)
9. Go to ur .map file and open it. Then go down and paste text before </map>
10. Save map
11. U have added loops for ur map

(4) Nick Colour

If u want to have colored nick just put #HTML colors before your nickname. Use /nick command. [f.ex. /nick ~[EPG]~#FF0000Puma - ~[EPG]~Puma

After # you have to put 6 letters [A-F] or numbers [0-9]
First 2 numbers are reserved for RED
Second 2 numbers are reserved for GREEN
Third 2 numbers are reserved for BLUE

Min - 00 Max - FF

This is just Hexadecimal System:
A = 10
B = 11
C = 12
D = 13
E = 14
F = 15

255 = FF 15*16 + 15]
200 = C8 12*16 + 8]
150 = 96 9*16 + 6]
100 = 64 6*16 + 4]
50 = 32 3*16 + 2]
0 = 00 0*16 + 0]


You can see a lot of HEX colors HERE:

/nick #FF0000Good #00FF00Lu#FFFF00ck
Good Luck: Smile

Back to top Go down
View user profile
[TUT] Scripting, RCG......
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
UA Website :: Chat :: Tutorials-
Jump to: