Old 03-27-2009   #1
MarkDonut
Registered User
Newbie Member
 
Join Date: Mar 2009
Posts: 3
MarkDonut is an unknown quantity at this point
Smile Key Map?

Hi, I couldn't find any documentation on how to do stuff like spawn ramps or dance, all i could figure out were a few of the f-keys, is there a list of all new keys or does it have to do with individual scripts and if so, what new keys were added?
MarkDonut is offline   Reply With Quote
Old 03-28-2009   #2
Mex
Registered User
 
Join Date: Nov 2008
Posts: 44
Mex is on a distinguished roadMex is on a distinguished roadMex is on a distinguished road
Quote:
Originally Posted by MarkDonut View Post
Hi, I couldn't find any documentation on how to do stuff like spawn ramps or dance, all i could figure out were a few of the f-keys, is there a list of all new keys or does it have to do with individual scripts and if so, what new keys were added?
Hi mark,

Adding objects such as ramps to the server and setting player animations (such as dancing) is done purely by scripting
the scripting language for VCO is LUA, and a good reference is here http://wiki.gtagaming.com/
Mex is offline   Reply With Quote
Old 03-28-2009   #3
Sebihunter
Registered User
Newbie Member
 
Join Date: Jan 2009
Posts: 4
Sebihunter is an unknown quantity at this point
Quote:
Originally Posted by MarkDonut View Post
Hi, I couldn't find any documentation on how to do stuff like spawn ramps or dance, all i could figure out were a few of the f-keys, is there a list of all new keys or does it have to do with individual scripts and if so, what new keys were added?
Thats scriptable, the server owner can choose the keys (I hope Im right)
Sebihunter is offline   Reply With Quote
Old 03-28-2009   #4
tuntis
tuntis.net
 
Join Date: Jan 2009
Location: Finland
Posts: 31
tuntis is on a distinguished roadtuntis is on a distinguished roadtuntis is on a distinguished road
Use the onPlayerKeyPress callback. Example:

Code:
function onPlayerKeyPress(PlayerID,KeyID)
	if KeyID == 17 then
       outputChatBox(PlayerID, "You pushed Control!", 255, 255, 0, 255)
    end
end
Here's some list of the key codes. (couldn't find anything better)
tuntis is offline   Reply With Quote
Old 03-28-2009   #5
Ettans
Registered User
 
Ettans's Avatar
 
Join Date: Feb 2009
Location: Estonia
Posts: 45
Ettans is on a distinguished roadEttans is on a distinguished roadEttans is on a distinguished roadEttans is on a distinguished road
Heres a big list: http://msdn.microsoft.com/en-us/libr...25(VS.60).aspx
Ettans is offline   Reply With Quote
Old 03-28-2009   #6
MarkDonut
Registered User
Newbie Member
 
Join Date: Mar 2009
Posts: 3
MarkDonut is an unknown quantity at this point
I meant like, the /commands, like how /drunk makes your camera drunk and /sober turns it off, or the /goto # commands.

Any list of those around?
MarkDonut is offline   Reply With Quote
Old 03-28-2009   #7
tuntis
tuntis.net
 
Join Date: Jan 2009
Location: Finland
Posts: 31
tuntis is on a distinguished roadtuntis is on a distinguished roadtuntis is on a distinguished road
You'll need to write your own commands for /drunk etc.

The scripting wiki has lists of functions and 2 basic tutorials so far. #vco in GTANet IRC has some people who can help (including me).
tuntis is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -6. The time now is 02:03 AM.