ID:160285
Oct 8 2008, 12:48 am
|
|
i need help with this, im still sorta new too scripting, no idea how to code. i design flawlessly though. any help would be greatly apreciated.
|
In response to Antonio12332
|
|
<font size=4>Welcome, Novice Programmer!</font>
|
In response to Kaioken
|
|
why thank ya, but how do i do it :P
|
In response to Antonio12332
|
|
Click the linked article and get set on learning how. =)
|
In response to Kaioken
|
|
[slaps forehead]
im such a noob :P |
In response to Antonio12332
|
|
To draw out this question a bit, you're asking "how do I make a person that can walk."
I think it's being interpreted as, "how do I make a person icon in the game and then make it move from one square to another?" A very basic question with a very basic response: RTFM. [That's the answer you've received so far, along with many helpful links about where that manual is.] [What I wonder is] Is this literally what you meant by your quesiton? Maybe what you were saying here is how do you perform animations? |
In response to Geldonyetich
|
|
/facepalm
just because im new too this dosn't mean asking questions is wrong. i asked how to make one move from one square to the next. not for someone to act like theyre better than someone who has been here for much longer than them. Supported by: PSP. a nut you can play outside :D |
In response to Antonio12332
|
|
I was not saying your asking a question was wrong. I was asking you to clarify what you mean by "make a person that can walk."
The thing is, that question means different things depending on if you're discussing animating that person or if you're discussing in terms of change the person's position in the game world. If it is something as basic as just moving the position in the game would, we wouldn't be doing you a favor by telling you how to do it. You would not know enough of the basic ground work for our answers to even make sense. Examples of how to move things are in the manual if you read it. |
In response to Kaioken
|
|
jeez, people are too seriouse. its not like were making another hit like half life
|
In response to Antonio12332
|
|
Well, it's not a matter of people being serious, it's more a matter of computers being seriously dumb.
There's no shortcut to learning how to interpret life for our poor dumb computers. To program, you just need to practice until you're good at it. Those provided links give you a good starting point to understand the language used. |
In response to Antonio12332
|
|
Antonio12332 wrote:
i asked how to make one move from one square to the next. not for someone to act like theyre better than someone who has been here for much longer than them. Judging by your key creation dates, you've been here a lot longer than Geldonyetich has. Please don't mistake time in the community as an important factor for how good you are at programming. It all depends on how quickly and how badly you're willing to learn. As for your initial question itself, I'm still not quite sure what you mean, but I'll do my best to answer it. To make a map: To make a map is simple, first you have to go to File -> New, and select "Map File" (.dmm) in the drop down list of possible file creations, name it and hit OK. Once you've done that, you'll need to assign it some turfs, or else all you're going to have is a black screen. Doing that is a simple matter of making an icon file, for the sake of consistency, we'll name it "grass". File -> New and select "Icon File" (.dmi). Once here, you'll be taken to the icon editor. Click the paint pallet button up the top and you'll be able to create an individual icon state. For now, just fill it with a green colour. No we need to go back to our code file and make the turf real. The quickest and easiest method of doing this is: turf Once you've done that, you can double click your map file. Once you've done that, in the side tree down the left, you should see a box that says "turfs". If it isn't expanded, expand it by clicking the [X]. Now, you should be able to see your grass icon, and add it to the map. -- To give a user an icon, it's relatively the same process. Because you're only new, we'll forgo the icon_state process (keeping more than one icon in an icon file), I'll let you learn that one by following Kaioken's advice and reading through the tutorials he linked. To give an icon to a user mob, simply make another icon file, for the sake of consistency, we'll name it "player". Just to be quick, drag a circle and fill it black, it's only a learning exercise, no need to make it pretty. And much like you did with turf, you'll assign the icon to the player under mob. mob Now you should be able to compile the project (ctrl+K) and execute the program (ctrl+R). If however, you find yourself only seeing a black screen, that means we'll have to assign the players coordinates for startup in the code itself. We'll do this under mob/Login(). So we go back to our defined mob datum, and add call the predefined Login() function. As shown below: mob From here, you should again be able to compile and execute, and if you've followed what I said to the T (and hopefully learned something) and provided I didn't make a mistake somewhere, you should hopefully be able to see your player icon and a green map. To move around, it's as simple as pressing your arrow keys. -- That was a very brief to the absolute basics of creating turfs and assigning icons. It is by no means a complete tutorial. You will have to go through the links provided to you by Kaioken in order to improve your knowledge. And please, please read what I've said. Know that simply copying and pasting the code wont work, and if you do, I'll know when you complain about the two compile time errors you receive if you don't follow my instructions. |
In response to Tiberath
|
|
well thanks, that made more sense than the supposide "easy guide"
|
In response to Antonio12332
|
|
Antonio12332 wrote:
well thanks, that made more sense than the supposide "easy guide" Nobody said the DM Guide was easy, it helps teaches you the basics of the basics - which you can use as building blocks (such as amino acids are the building blocks for proteins). |
In response to GhostAnime
|
|
GhostAnime wrote:
Antonio12332 wrote: lolque? |
perhaps adminship..