Page 1 of 1

Weapon Problem with RF072A

Posted: Mon Nov 14, 2005 5:47 pm
by LHoesch
I have a weapon Problem in RF072A!
I had copy the actor file,writing in the weapon.ini,and in the player.ini...

But when I start RF and press the slot number.-> Nothing happened.

Its the same with the Pawn.He didnt fire a projectile,but the script is ok and in the Logfile arent Mistakes.
CAN ANYBODY HELP ME???

Posted: Mon Nov 14, 2005 6:34 pm
by AndyCR
try one number smaller or larger, i believe larger. i think weapon numbers are really one larger than what you enter.

Posted: Tue Nov 15, 2005 2:09 pm
by LHoesch
I have tried this already. -> Noting!!!

Posted: Tue Nov 15, 2005 2:35 pm
by AndyCR
where did you get the actor? if its a non-standard one, or one that was made for rf but does not have the right scale/rotation/offset settings, it might be selected but simply not in view. adding a hud element (see manual) for it might help you determine if it's selected.

also, i feel funny asking this, and dont take it rudely, but have you set up a pickup (attribute) or entry in player.ini for it? it might be you dont have it in your inventory.

Posted: Wed Nov 16, 2005 4:15 pm
by LHoesch
The act File is Xanibot.act.
The Script is:
{
Spawn[()
{
Console(true);
AttributeOrder("health",20,"Die");
FindTargetOrder(200,"Alert","health");
SetFOV(360);
HostilePlayer(true);
HostileSame(false);
HostileDifferent(false);
SetGroup("Enemy");
}]

Alert[()
{
AnimateStop("alert",0,"");
NewOrder("Attack");
}]
Attack[()
{
RotateToPlayer("wattack", 160, false, "");
FireProjectile("pistolbullet","HandR",0,0,0,"health","");
Delay("stattack",1,"");
RestartOrder();
}]

Die[()
{
Remove(true);
}]
}

Its from the book Making3dGames with Realityfactory from RF Downloads...

Posted: Wed Nov 16, 2005 4:20 pm
by LHoesch
I have found the mistake.
Its the Bone Name its not HandR.
Its Bip01 R Hand.

Posted: Fri Nov 18, 2005 12:47 pm
by LHoesch
BUT...
The problem with the player weapons is there too.
I have copy the weapon from 072(not072A).
And changing the *.ini files like 072.
But... nothing!

Posted: Fri Nov 18, 2005 2:15 pm
by Guest
Its ok now! :lol: :lol: :lol:
Im a idiot. :roll: :roll: :roll:
I have forgotten to write a entry in th player.ini file. :!: :!: :!: