![]() |
Help: Making a weapon
The best way to learn to script is to ask the ones that knows it, that's what i've learned so here we go, im gonna be using Testbed as server.
I have made a GFX of a Weapon, and I have also made a GANI for Reload, Idling, Walking / Running and Firing. So, what's left is the script. And here is it when your help comes in; Do you maybe know a perfect thread for this, tutorial or maybe you can just explain it easily in a post? It's your choice, and if your here to be an idiot then you can just press the X button in the north-east corner of your Web Browser. I want this to be a serious thread, im here to learn, not to waste time. Thanks. ~ Rjax S. |
if ur Learning ur self to script so shoud u maybe give it an try of making the script by your self :)
you will alot of help on the forums for that |
|
Quote:
Quote:
And thanks for the replies. :) Note: But it's right that I need to make a Weapon System in Classes right? |
Umm, well usually you would start off by making a Weapon System in...weapons. :p But maybe you know you should start on a lot of smaller things to cover all the basics and make sure you understand some of the most simple yet confusing things.
|
Quote:
|
Quote:
|
Mhmmm yes, I can of course try to do it all alone.
But that will take alot of time, and I dont wanna use that much time. I mostly just wanna learn some basics in scripting. |
Quote:
|
Quote:
First I need to make a way to show the weapon when I click a button, D for example. |
Experiment, experiment and experiment! When you find out about a function you didn't know about, work with it. Pinch and pull every part of GScript until you know what it can do and what it can't do.
If you need someone to help you when you get stuck, send a message my way on MSN, AIM or on here. Looking at other people's scripts also help quite a lot. I also agree that you're jumping in at the deep end here. Take small projects, and build on them. Then choose a slightly bigger project, so on and so forth. |
Quote:
|
PHP Code:
|
Lol, I know that one.
I guess it will start with PHP Code:
|
Quote:
PHP Code:
|
Ahhh, many thanks for that reminder. :)
Im thinking about making a script, when you press a button, you shoot. Im currently now sitting left with this, but the ani wouldnt show, im sure it's something to do with the if (buttonpressed) (d); . PHP Code:
|
Quote:
PHP Code:
|
Ahhh, finally someone wrote something * Puts hands togheter *
Great respond to. :) Well, I guess your right, because you know this more than me. But I have actually read alot, but I guess I didn't have it all scheduled. Now I got it all scheduled though, and I will actually find scripts lines that works. Im starting fresh again. |
Quote:
The graal forums do not support parasitic developers very long....Jigga is a good example of this. |
Important thing to note: Do not have a space before the parenthesis.
setani ("mp7-fire",""); will invoke the GS1 form and attempt to set your ani to ("mp7-fire".gani Remove the space so it becomes: setani("mp7-fire",""); |
Ahhh, thank you very much Riot for that fix.
And to you Twinny, I have read the tutorials. ;) |
Quote:
ye, i did to but didnt understand it so mutch :p |
| All times are GMT +2. The time now is 04:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.