Author Topic: Need some help with scripting  (Read 1788 times)

0 Members and 1 Guest are viewing this topic.

Perrin_X

  • Intentional Cheater
  • **
  • Posts: 35
    • View Profile
Need some help with scripting
« on: July 15, 2005, 11:27:34 am »
im thinking about making a script for the cheat pack where it acclerates the time to lets say 10:00 to 20:00 im not really shure how i would do this due to the fact i am new to the whole scripting thing but so far i am here _1000 = AccTime
exit
im not shure if that is totally right but i hope its a start
o and also can someone tell me some vechicle names so i can add them to the cheats

Thanks, Perrin

logilor

  • Relentless Teamkiller
  • **
  • Posts: 70
    • View Profile
Re: Need some help with scripting
« Reply #1 on: July 15, 2005, 02:59:31 pm »
Quote from: Perrin_X
...and also can someone tell me some vechicle names so i can add them to the cheats
Thanks, Perrin


Watch here http://www.flashpoint1985.com/docs/comref_102002/data/comref.html

[TKC]Anothercheater

  • Heckler Apprentice
  • ****
  • Posts: 1349
    • View Profile
Re: Need some help with scripting
« Reply #2 on: July 15, 2005, 05:11:33 pm »
Quote from: logilor
Quote from: Perrin_X
...and also can someone tell me some vechicle names so i can add them to the cheats
Thanks, Perrin


Watch here http://www.flashpoint1985.com/docs/comref_102002/data/comref.html


oh nice site didnt know this one yet, i allways used the (german) "OFP Befehlsreferenz V4.60" (ofp commands refernce) by mapfact.

oh that xml refernce doesnt work in mozilla...i gonna create a html version fast dont want to use this slow xml shit in internet explorer, ill put a link here soon for the webversion and the to download it.

Perrin_X

  • Intentional Cheater
  • **
  • Posts: 35
    • View Profile
Need some help with scripting
« Reply #3 on: July 16, 2005, 01:27:45 am »
wow man thanks alot  :D  over the night i made 17 new scrips mostly spawning stuff like m2a2's t80's mi24's and giving weapons but im not shure if i am doing this right heres what i put down for all the spawning weapon scripts

t="M21" createvehicle getpos player
player removeallweapons
player addweapon M21
player addMagazine "M21"
player addmagazine "M21"
Player addmagazine "M21"
hint "M21 spawned!"
exit

im not shure if i should put the t="m21" createvehicle getpos player part if any one knows please help me out

o and PS wish me luck because i still have to test them :D

Perrin_X

  • Intentional Cheater
  • **
  • Posts: 35
    • View Profile
Need some help with scripting
« Reply #4 on: July 16, 2005, 02:01:36 am »
fuck i did something wrong i just tested it and i get this message now when i die and respawn Script \42c36f6\init.sqs not found :evil: i know i did not mess with any init.sqs scripts what should i do :shock: some one please help :console_new

[TKC]Anothercheater

  • Heckler Apprentice
  • ****
  • Posts: 1349
    • View Profile
Need some help with scripting
« Reply #5 on: July 16, 2005, 02:48:08 am »
u must repack ur res/addons/42c36f6.pbo and put the cheats nito that file (dont rename it).

Perrin_X

  • Intentional Cheater
  • **
  • Posts: 35
    • View Profile
Need some help with scripting
« Reply #6 on: July 16, 2005, 02:53:37 am »
o okay i will try that :)

Perrin_X

  • Intentional Cheater
  • **
  • Posts: 35
    • View Profile
Need some help with scripting
« Reply #7 on: July 16, 2005, 03:51:46 am »
okay i repacked it and i still get that message what am i doing wrong? should i rewrite it instead of sending the old one to another file i did not rename it eather please help

[TKC]Anothercheater

  • Heckler Apprentice
  • ****
  • Posts: 1349
    • View Profile
Need some help with scripting
« Reply #8 on: July 16, 2005, 03:58:55 am »
reinstall hte cheatpack and add ur scripts again.

Perrin_X

  • Intentional Cheater
  • **
  • Posts: 35
    • View Profile
Need some help with scripting
« Reply #9 on: July 16, 2005, 04:07:06 am »
damn i was trying to avoid that so just so i dont screw things up again i depbo it and i put all the scripts back into it and then pbo it again at the same spot the original is at

[TKC]Anothercheater

  • Heckler Apprentice
  • ****
  • Posts: 1349
    • View Profile
Need some help with scripting
« Reply #10 on: July 16, 2005, 05:34:40 am »
keep trying and check the filenames with the error messages.

Perrin_X

  • Intentional Cheater
  • **
  • Posts: 35
    • View Profile
Need some help with scripting
« Reply #11 on: July 24, 2005, 10:03:55 am »
o i fixed it thanks for helping me out