Page 1 of 1

computers objects

Posted: Mon Apr 06, 2015 3:28 pm
by Petas
Hi I have a problem
do not know how to do that was to shoot a particular object?
I know I already asked
Here is my code to objects only thing I do in the game is credited Team 5 which is written in an object does it matter?

__________________Code-objects__________________

UnitObj()
{
Team("Team 5");
}

WallObj()
{
Link4(46);
}
}

CreateObject("attic.prop.plurtzacid", 56)
{
MapObj()
{
Armour(0.000000);
HitPoints(1.000000);

Position()
{
Pos(432.000000, 10.000000, 516.000000);
Right(0.000000, 0.000000, 1.000000);
Up(0.000000, 1.000000, 0.000000);
Front(-1.000000, 0.000000, 0.000000);
}

Zip();
}

Re: computers objects

Posted: Mon Apr 06, 2015 3:57 pm
by TommyCD1
CreateObject("attic.prop.plurtzacid", 56)
{
MapObj()
{
Armour(0.000000);
HitPoints(1.000000);

Position()
{
Pos(432.000000, 10.000000, 516.000000);
Right(0.000000, 0.000000, 1.000000);
Up(0.000000, 1.000000, 0.000000);
Front(-1.000000, 0.000000, 0.000000);
}

Zip();
}

Add the unitobj and zip lines. Also, you can get rid of the armor.

CreateObject("attic.prop.plurtzacid", 56)
{
MapObj()
{
HitPoints(1.000000);

Position()
{
Pos(432.000000, 10.000000, 516.000000);
Right(0.000000, 0.000000, 1.000000);
Up(0.000000, 1.000000, 0.000000);
Front(-1.000000, 0.000000, 0.000000);
}

Zip();
}

UnitObj()
{
Team("Team 5");
}

WallObj();

}

Re: computers objects

Posted: Tue Apr 07, 2015 1:01 am
by Petas
TommyCD1 wrote:CreateObject("attic.prop.plurtzacid", 56)
{
MapObj()
{
Armour(0.000000);
HitPoints(1.000000);

Position()
{
Pos(432.000000, 10.000000, 516.000000);
Right(0.000000, 0.000000, 1.000000);
Up(0.000000, 1.000000, 0.000000);
Front(-1.000000, 0.000000, 0.000000);
}

Zip();
}

Add the unitobj and zip lines. Also, you can get rid of the armor.

CreateObject("attic.prop.plurtzacid", 56)
{
MapObj()
{
HitPoints(1.000000);

Position()
{
Pos(432.000000, 10.000000, 516.000000);
Right(0.000000, 0.000000, 1.000000);
Up(0.000000, 1.000000, 0.000000);
Front(-1.000000, 0.000000, 0.000000);
}

Zip();
}

UnitObj()
{
Team("Team 5");
}

WallObj();

}
Hey thanks for the advice but
I would need to keep those teams were on the small map
that there have always been only 4 players

Re: computers objects

Posted: Thu Apr 30, 2015 6:19 am
by E]x[F-Sniper
You guys know that the code brackets are for posting code. Use them.

like this

Code: Select all

Position()
{
Pos(432.000000, 10.000000, 516.000000);
Right(0.000000, 0.000000, 1.000000);
Up(0.000000, 1.000000, 0.000000);
Front(-1.000000, 0.000000, 0.000000);
}

Re: computers objects

Posted: Thu Apr 30, 2015 7:44 am
by Petas
E]x[F-Sniper wrote:You guys know that the code brackets are for posting code. Use them.

like this

Code: Select all

Position()
{
Pos(432.000000, 10.000000, 516.000000);
Right(0.000000, 0.000000, 1.000000);
Up(0.000000, 1.000000, 0.000000);
Front(-1.000000, 0.000000, 0.000000);
}
Well hey, thanks for the advice Sniper
you're ever on GameRanger? :-)) :S:

Re: computers objects

Posted: Thu Apr 30, 2015 10:25 am
by Kennedy
Peta wrote:
E]x[F-Sniper wrote:You guys know that the code brackets are for posting code. Use them.

like this

Code: Select all

Position()
{
Pos(432.000000, 10.000000, 516.000000);
Right(0.000000, 0.000000, 1.000000);
Up(0.000000, 1.000000, 0.000000);
Front(-1.000000, 0.000000, 0.000000);
}
Well hey, thanks for the advice Sniper
you're ever on GameRanger? :-)) :S:
No hes not

Re: computers objects

Posted: Thu Apr 30, 2015 11:38 am
by TommyCD1
E]x[F-Sniper wrote:You guys know that the code brackets are for posting code. Use them.

like this

Code: Select all

Position()
{
Pos(432.000000, 10.000000, 516.000000);
Right(0.000000, 0.000000, 1.000000);
Up(0.000000, 1.000000, 0.000000);
Front(-1.000000, 0.000000, 0.000000);
}
Yes I know, but then I wouldn't be able to highlight my edits.

:BOO

Re: computers objects

Posted: Sat May 02, 2015 4:19 pm
by E]x[F-Sniper
@ Peta I rarely get on...
@TommyCD1 I know you can't highlight but you also don't have to post the entire code, only the function in question.

Re: computers objects

Posted: Sat May 02, 2015 4:22 pm
by TommyCD1
Ok thanks, I did not realize.
:BOW:

Re: computers objects

Posted: Sat May 02, 2015 5:34 pm
by Kennedy
E]x[F-Sniper wrote:@ Peta I rarely get on...
Told you Peta 8-|