OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Von Manstein on 12 Oct 2003, 07:20:09
-
After reading through various tutes on numerous editing subjects I have learned something very valuable....I am an IDIOT. ;D
Can't seem to grasp scripting...hell can't even manage a good cutscene...anybody have some free time to help a guy with combat experience that would like to recreate a few experiences thru OFP? If this is the wrong place for this please excuse this thread and transfer me to the right place...thanx. :P
-
Sure, I'll help you with any problems you have with scripting. How about we use PMs for this 8) ?
Edit - Von Manstein, check your inbox, I sent you a PM.
-
Von MAnstein, this is a feeling we all had. OFP takes a bit of getting used to and there is a stage where you feel that you have no idea what you're doing. However, persevere and you will get there quicker than you think.
The tutorial that got me going on scripting was Johan Gustafsson's Scripting Tutorial. snYpir's Freindly Intro to Code Snippets would have been very useful if only it had been written at the time ....
It's good that m21man will help you out ... the whole forum will help as well if get stuck on something and post a question here. There is no such thing as a stupid question, ask anything you like ... but read my sticky topic at the top of this board first. ;)
-
I learned my scripting from an old artillery script that I downloaded. I learned about the syntax from it, and with a commands manual, I was soon scripting.
-
yeah, just tear other peoples scripts apart, thats how i learnt.
-
The problem with tearing other peoples' scripts apart is that you may see what seems to be 10kb of gibberish and decide never to think of scripting again.
-
Von MAnstein, this is a feeling we all had. OFP takes a bit of getting used to and there is a stage where you feel that you have no idea what you're doing. However, persevere and you will get there quicker than you think.
didnt do dat 2 me :P ;)
ma 1st expirience hit w/ scriptin was snYpirs mision - dat mech inf mision ? great mision prooly da best :P (xept mine ;) ::))
n after 20 mins i got it 100% better (or mebe not ::))
LCD OUT
[edit]WELLCOME 2 DA FORUMS M8
feel free 2 psot ny Q u have in da forums (nd if u got ny interestin mision idea u want help w/ i may wanna hel p ;_ 8) but i may not have 2 mcuh free taam :-X :'(
-
The problem with tearing other peoples' scripts apart is that you may see what seems to be 10kb of gibberish and decide never to think of scripting again.
Yea, ppl should use the ; a lot more in their scripts, official and unofficial, and use english words.
I'm not a master scripter myself... but hey... I do a lot more better stuff now than Armsty's suiciders... ::)
:beat: *Gets Shot* :beat:
-
Hello sir! *Salutes*
Here's how I learned editing:
First, I spent a lot of time trying to make a mission JUST using the in-game editor. I got a real firm grasp on waypoints, triggers, markers, and synchronization. Then I started adding in a little command or two into the "init" field of units, such as: this setunitpos "down" or things like that. At first, I didn't even really understand every command I was giving, but I just copied and pasted that line from some editing FAQ, and I knew it did what I wanted it to do.
Eventually I wanted a little more, so I began to download other people's scripts, and learned how to place them in my mission, and I learned how to use them via triggers or the "activation" field of waypoints. Again, I didn't really know how the scripts worked, but I knew how to use them.
Last, when I had pushed the limits of what I could do with what I knew, I finally moved on to scripting. I read some tutorials and I looked at some people's scripts to help me learn. But one thing I noticed is that the scripting weren't really any different than the commands I had been putting in the "init" field of my units. Also, I have some prior programming experience, which helped a lot, but wasn't nescessary.
I'm not saying that this is the only way to learn editing, but I know it worked for me. Basically, take it slow. You likely feel overwhelmed because you basically are trying to take on too much at once. Start with the editor and work up from there.
Oh, one more thing: USE THE FORUMS!!! My learning rate at least doubled once I started using these forums. If you have a question, and can't seem to figure it out or find the answer anywhere, POST it, and you'll get a reply in less than 24 hours. The OFPEC community is absolutely wonderful, and there is always somebody willing to answer your question.
Good luck editing!