Author Topic: General help for newbie  (Read 4534 times)

0 Members and 1 Guest are viewing this topic.

failulator

  • Cheater Apprentice
  • *
  • Posts: 11
    • View Profile
Re: General help for newbie
« Reply #30 on: June 05, 2012, 07:58:42 pm »
read a few back posts of late , youl figure out who i meen. :icon_laugh

btw look in local_publishObj looks like everything you need is in there.

I checked out local_publishObj, tried spawning a vehicle using it like this:
Code: [Select]
_location = getPos player;
_dir = getDir player;
_worldspace = [_dir,_location];
null = [10, "M1030", _worldspace, "M1030"] execVM "\z\addons\dayz_code\compile\local_publishObj.sqf";
vehicle player setDamage 0;
vehicle player setFuel 1;

Still the same problem, getting in causes me to explode&die.  I noticed when looking at the code as well that its very similar to something i had tried earlier (just calling createVehicle directly + setting ObjectID with the following code):
Code: [Select]
_location = (position player);
_className = "UH1H_DZ";
_vehi = createVehicle [_className, _location, [], 0, "CAN_COLLIDE"];
_vehi setVariable ["ObjectID", 654654, true]

the only main difference between that code and local_publishObj's code appears to be that it writes to HIVE, but either way, neither appear to be working. This is driving me insane, vehicles spawned fine with the code above before 1.7 patch on DayZ, and I haven't been able to figure out what changed in their code that caused this method to break.  :icon_confused2 Is there something wrong with my code (still getting used to arma 2 scripting), or am I just missing something?

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: General help for newbie
« Reply #31 on: June 05, 2012, 09:48:48 pm »


took me about 18 second to do.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Energizer

  • Online Villain
  • ***
  • Posts: 121
    • View Profile
Re: General help for newbie
« Reply #32 on: June 05, 2012, 10:03:55 pm »


took me about 18 second to do.

You are crazy, have a compleate army cooperation :D

skylmt666

  • Relentless Teamkiller
  • **
  • Posts: 75
    • View Profile
Re: General help for newbie
« Reply #33 on: June 05, 2012, 11:33:06 pm »
Rpg s on hammer working?
LOLE'D

failulator

  • Cheater Apprentice
  • *
  • Posts: 11
    • View Profile
Re: General help for newbie
« Reply #34 on: June 05, 2012, 11:34:07 pm »


took me about 18 second to do.
Wow, nice.  Have I been going about this the wrong way then? Sorry for so many questions, I've been trying to figure out how to do neat things with scripting in DayZ & Arma2 on my own, but have really gotten stuck with this one issue.  To see you be able to do it in 18 seconds where i've been spending over 12 hours trying to figure out what i'm doing wrong is a bit disconcerting, I must be doing something completely wrong.  Do you have any tips you'd be willing to share to help point me in the right direction? I've skimmed through practically all the DayZ code, and spent countless hours reading over ArmA 2's command reference (and found out how to do quite a few other nifty things), but still getting vehicles to function properly has evaded me (they spawn, but explode when I attempt to use them, with almost every method I try).  :icon_sad2

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: General help for newbie
« Reply #35 on: June 05, 2012, 11:41:26 pm »
come into teamspeak im on the public one now.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Energizer

  • Online Villain
  • ***
  • Posts: 121
    • View Profile
Re: General help for newbie
« Reply #36 on: June 05, 2012, 11:43:16 pm »
come into teamspeak im on the public one now.

:( I want come spoke with you, but don't speak english, and my write is bad, listen 0

darkrounge

  • Online Villain
  • ***
  • Posts: 166
    • View Profile
Re: General help for newbie
« Reply #37 on: June 05, 2012, 11:50:39 pm »
come into teamspeak im on the public one now.

:( I want come spoke with you, but don't speak english, and my write is bad, listen 0

OK, didn't understand that brosko :/

skylmt666

  • Relentless Teamkiller
  • **
  • Posts: 75
    • View Profile
Re: General help for newbie
« Reply #38 on: June 06, 2012, 12:04:50 am »
where  i can find  teamspeak adress?
LOLE'D

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: General help for newbie
« Reply #39 on: June 06, 2012, 12:11:31 am »
in my signature...
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

failulator

  • Cheater Apprentice
  • *
  • Posts: 11
    • View Profile
Re: General help for newbie
« Reply #40 on: June 06, 2012, 12:12:32 am »
in my signature...

You in there now? Came in a couple minutes ago and you weren't there

skylmt666

  • Relentless Teamkiller
  • **
  • Posts: 75
    • View Profile
Re: General help for newbie
« Reply #41 on: June 06, 2012, 12:23:24 am »
in my signature...

You in there now? Came in a couple minutes ago and you weren't there

ok will download now.
Will u help me "how to do magick box in Day z " ?
some general answers
LOLE'D

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: General help for newbie
« Reply #42 on: June 06, 2012, 12:29:41 am »
in my signature...

You in there now? Came in a couple minutes ago and you weren't there

yes
im in now
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

Fury

  • Online Villain
  • ***
  • Posts: 124
  • i̺͇̯̟̗m̤̬p͈̠̖o̫̭̦̼ͅrt͈̝̞ antigravity
    • View Profile
Re: General help for newbie
« Reply #43 on: June 06, 2012, 01:10:53 am »
your TS server is passworded  :icon_razz2
My programming language is common sense and communication. ♥

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: General help for newbie
« Reply #44 on: June 06, 2012, 01:16:54 am »
your TS server is passworded  :icon_razz2

nope mate its not passworded try again
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157