Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums: http://buildandshoot.com/

Want to learn how to make script, where to start?

Problem getting your server up? Ask in here.

Want to learn how to make script, where to start?

Postby WxoTix » Fri Mar 16, 2012 4:57 pm

I want to learn how to Make/Edit Scripts, I have basic knowledge in C and C++ ..
So, someone can help me to find Tutorials about Scripting in Ace of Spades ?

Thanks :D
WxoTix
Member
 
Posts: 7
Joined: Thu Mar 15, 2012 7:48 pm

Re: Want to learn how to make script, where to start?

Postby USABxBOOYO » Fri Mar 16, 2012 7:25 pm

Pyspades is written in Python, so you will have to know Python before being able to make any scripts.
User avatar
USABxBOOYO
Global Moderator
 
Posts: 2197
Joined: Sat Dec 10, 2011 12:38 pm

Re: Want to learn how to make script, where to start?

Postby HoboHob » Sat Mar 24, 2012 9:49 pm

I know python, but have no idea where to start.

The Pyspades API is very complex and a few tutorials on it would be nice.
Image
User avatar
HoboHob
Member
 
Posts: 834
Joined: Sat Mar 10, 2012 1:32 am

Re: Want to learn how to make script, where to start?

Postby Space101 » Sat Jun 16, 2012 8:01 pm

http://learnpythonthehardway.org/book/

use this guide, it should give you all of the knowledge you need to write pyspades script as well as other stuff.
I'M GAY
User avatar
Space101
Member
 
Posts: 688
Joined: Sat Feb 11, 2012 8:15 pm
Location: On the darkside of the moon.

Re: Want to learn how to make script, where to start?

Postby CraftDinur » Sat Jun 16, 2012 8:18 pm

That's mostly just the basics of Python and not really pyspades script writing. If you want to write a script I suggest you look for a similar script and slightly alter it's code to your liking. For example, you could alter th current votekick script to make a script that mutes the player instead of kicking them. Of course a bit of Python is needed to navigate through the syntax and all but 90% of the code has already been prewritten if you're just adjusting it.
IGN: CraftDinur, Mr. Yoshimori, 49th Parallel
User avatar
CraftDinur
Member
 
Posts: 879
Joined: Sat Dec 10, 2011 11:18 pm
Location: The Enlightened Land


Return to Server Help



Who is online

Users browsing this forum: No registered users and 4 guests

cron