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???
Weapon Problem with RF072A
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.
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.
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...
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...