Home   Help Search Login Register  

Author Topic: scripting.. how long to learn?  (Read 5126 times)

0 Members and 1 Guest are viewing this topic.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:scripting.. how long to learn?
« Reply #15 on: 11 Dec 2004, 00:51:23 »
Pahhhh.........what do you youngsters know anyway?   ;)


Planck

just generalizing on a stereotype

btw i live in florida, loaded with all sorts of clues old people who keep their turn signals on for 10 blocks and can't think to look around before backing out in a parking lot, but i'm rambling.
point is, i live around a lot of clueless old people  :P
lots of older people are cool, like the ones who are 40 and still play video games (brownie points!  ;D)

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:scripting.. how long to learn?
« Reply #16 on: 11 Dec 2004, 03:36:26 »
lol,      
yes Floridas senior citizens lack the common sense to take part in everyday things such as driving with out causing injury to pedestrians or property damage.

There is a tenis court near my house with a big tear in the fence where an old lady accidentaly hit the gas insted of the brake and plowed through the fence and onto the court.

but this is a little off topic.
anyways i think the person who started this post has long stopped listining.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:scripting.. how long to learn?
« Reply #17 on: 11 Dec 2004, 03:47:20 »
i can defend that we're proving to him that he should learn now.
judging by other threads he started he has given up though. thats no good, and its not hard to learn either. oh well, he's young, he has time (i say this even though i'm only 4 years older lol)

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:scripting.. how long to learn?
« Reply #18 on: 11 Dec 2004, 04:09:06 »
well i mean he dosent have to learn now, he is a little young
like some kind of genius. when i was 11 i was playing with my pokemon cards and didnt even known how to turn on a computer.

anyways i think were the only ones posting.

by the way, have u givven up on that plane crash script yet trig. and what about that ultimate halo.  its incredible how close u were to perfecting ultimate halo, :P
if were gona talk about learning scripting, how the hell do u script all those triginomitry and calculus stuff. is it because i havent learned it in school yet. wow :o I always thought all my life that all that complicated math and stuff was useless in real life and just bull that we would never use. and now im using the algebra i always thought was useless and pointless in scripts. if only my teacher could see me now. ;D

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:scripting.. how long to learn?
« Reply #19 on: 11 Dec 2004, 04:33:47 »
i don't know what grade your in or anything, but i have taken geometry, 2 algebras, i'm in stats now, and i'm taking physics (thats the main one that helps), next year is calculus (joy joy).
basically for ofp you need to know the pythagorian theorem and how to use sin cos and tan.

if you want examples i can give them to you

EDIT: ahh.. a 9th grader, i'm 10th, so what math are you in?
« Last Edit: 11 Dec 2004, 04:45:15 by Triggerhappy »

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:scripting.. how long to learn?
« Reply #20 on: 11 Dec 2004, 04:43:44 »
as for as those scripts, postponed for the moment. do you need them for something? i have a feeling i have completely lost the inspiration to finish them, and they are very difficult. just so you know, i was no where near close on the standing in the cargo thing ("ultimate halo" even though what i was doing had nothing to do with a HALO drop

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:scripting.. how long to learn?
« Reply #21 on: 11 Dec 2004, 04:48:30 »
Quote
i don't know what grade your in or anything, but i have taken geometry
understand what ur saying
Quote
2 algebras, i'm in stats now, and i'm taking physics (thats the main one that helps), next year is calculus (joy joy).
i can understand u still  :thumbsup:
Quote
basically for ofp you need to know the pythagorian theorem and how to use sin cos and tan.
WTF!!!, ur speaking english still, right ???
Quote
if you want examples i can give them to you
and... your back to english again  ;)

plz plz plz, dont even try this with me. i wont get it.

im in the same grade as u..
 
so the only reasonable explination is im stupider than u
 ;D

seriously: i just dont get it, sorry buddy :)

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:scripting.. how long to learn?
« Reply #22 on: 11 Dec 2004, 05:01:08 »
examples it is!
pythagorian theorem: for right triangles - one 90 degree angle
c2 = a2 + b2
a = one side (makes up part of the right angle(90 degrees))
b = other side
c = hypotenuse (the longest side)    
 
       /|
  c   / | a
     /_|
      b
so for the 2d distance from 1 unit to another
getpos 1 select 0 - getpos 2 select 0 = b
getpos 1 select 1 - getpos 2 select 1 = a
c2 = a2 + b2
c = sqrt(a^2 + b^2)
gotta go, i'll tell more tomorrow
« Last Edit: 11 Dec 2004, 17:27:31 by Triggerhappy »

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:scripting.. how long to learn?
« Reply #23 on: 11 Dec 2004, 12:30:02 »
Quote
well i mean he dosent have to learn now, he is a little young
like some kind of genius. when i was 11 i was playing with my pokemon cards and didnt even known how to turn on a computer.

LMAO. That must mean I'm some kind of Einstein. :P

I was playing Amiga games before I could walk. ;D

I'm only in 8th grade (should be 9th grade to you yankee-buggers) and doesn't understand this cos and sin shite either. And lemme tell you, this 'ere bugger Triggerhappy just made it even harder to understand.

Where is OFPFreak? I want to know his problemos so I can help him.

:beat: *Gets Shot* :beat:

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:scripting.. how long to learn?
« Reply #24 on: 11 Dec 2004, 17:29:16 »
never even got to sine cosine and tangent, i only tried to show the pythagorian theorem

a dumbed down version

the lateral (no height like the distance command gives us) distance between 2 units is simply the square root of the difference of their east-west position squared + the difference of their north-south position squared

in ofp language
_ydiff = (getpos guy1 select 1) - (getpos guy2 select 1)
_xdiff = (getpos guy1 select 0) - (getpos guy2 select 0)
_latDist = sqrt (_ydiff^2 + _xdiff^2)


sin cos and tan are used with angles
« Last Edit: 11 Dec 2004, 17:35:46 by Triggerhappy »

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:scripting.. how long to learn?
« Reply #25 on: 11 Dec 2004, 19:37:16 »
okay i can not belive it i kinda got the first part a little about the pathegoina therom

explain it a little more

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Re:scripting.. how long to learn?
« Reply #26 on: 11 Dec 2004, 20:15:01 »
Triggerhappy cmon PLEAAAASE stop saying those freaky einstein things!!! Its 7 weeks vactation here alright!?  :o poor me got a honda civic crisis now.. whatever that is... Anyway lets make my post over 100 replies :P post the alphabet.. 1 post = 1 lette lolz
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:scripting.. how long to learn?
« Reply #27 on: 11 Dec 2004, 20:33:58 »
ok, lets say we have 2 guys, for simplicity we will say they are a [10,20,0] for the first guy's pos, and [15,30,0] for the second, and we want to know what the actual distance is between them.
so first we do:
15 - 10 = 5 (one side or leg as it is called in geometry and stuff)
30 - 20 = 10 (other leg)
then 5 squared, or 52,or 5^2, is 25 (5*5)
and 10 squared is 100
add then together 100 + 25 = 125    ___
and do the square root (calculator) \/125 = 11.18m

so heres a problem for you to do if you want:
guy1's pos = [50,25,0]
guy2's pos = [73,42,0]
find the distance between them

EDIT: sorry ofpfreak, but penguinman is askin, and you don't seem to have any question that need answering ::)
« Last Edit: 11 Dec 2004, 20:35:31 by Triggerhappy »

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Re:scripting.. how long to learn?
« Reply #28 on: 11 Dec 2004, 20:45:12 »
oh oh oh!! I got a question!!! Im getting the scripting a lil bit but im having problems with a car bomb.. this is the original script:

Code: [Select]
_bomb= "timebomb" camcreate [getpos vehicle select 0, getpos vehicle select 1, (getpos vehicle select 2) + 2]

#Loop

_bomb SetPos  [getpos vehicle select 0, getpos vehicle select 1, (getpos vehicle select 2) + 2]

~0.1
goto "Loop"

And this my modified 1:

Code: [Select]
testcar=_this select 0
_bomb= "timebomb" camcreate [getpos testcar select 0, getpos testcar select 1, (getpos vehicle select 2) + 2]
#Loop

_bomb SetPos  [getpos testcar select 0, getpos testcar select 1, (getpos testcar select 2) + 2]

~0.1
goto "Loop"

If they are both wrong tell me becuase I want to know how to attach a bomb to a car and make it explode. I dont want a car just to turn weird like when they do when they are destroyed but I want them to have a large explosion. Or otherwise I want to make em explode with an addaction or radio command (e.g. bravo, alpha, charlie or addaction detonate!
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:scripting.. how long to learn?
« Reply #29 on: 11 Dec 2004, 20:54:57 »
no need to ask the same question on 2 threads, i fixed it on the other one, but the radio command would only be a work around anyway, i can post that too if you want

if you blow up a vehicle it will turn wierd anyway, you can't kill it and keep it looking nice, the best you could do is delete it when it gets destroyed (no vehicle, no wierd wreckage)
« Last Edit: 11 Dec 2004, 20:56:51 by Triggerhappy »