Usually I use a batch file looking like this
Code: Select all
cd C:\unrealtournament\system\
ucc server SOME_SETUP -server log=server.log
So the question is:
Is it possible to simulate a true server for testing on one PC?
Thanks in advance
Code: Select all
cd C:\unrealtournament\system\
ucc server SOME_SETUP -server log=server.log
Code: Select all
Self.Owner.Owner ( MyActor->HUD->PlayerPawn )
I should have been more clear. but I was thinking about actor that are not spawned by bots or players but by mutators or gametypes or other actors. should I give them an instigator aswell?Feralidragon wrote:No, no, I think you didn't understand what an "instigator" is.
Instigator is a variable of the class "Pawn" that exists in all actors. When you spawn actor A from actor B, actor A gets the Instigator from actor B.
So let's take the Ripper for example:
1 - it starts with no Instigator;
2 - once you pick it up, you (as player) become its Instigator;
3 - once you fire the razor blades from them, the actual projectiles are spawned from the weapon itself, and since the weapons has its Instigator set to you, the razors Instigator will be you as well (since they take the Instigator from your weapon).
So basically, every actor that has an Instigator assigned, will have the spawned actors Instigator set to the one from the actor they were spawned from.
What happens in replication is quite simple: an actor is always relevant to its Instigator, to all other pawns other relevancy properties have to be met, and this is what you have to consider.
So when testing a weapon online for example, if you're the only "pawn" testing the weapon, then you will be the instigator to everything that weapon spawns and to everything the respective projectiles/effects/actors/whatever that get spawned from them.
So what I personally do online to not be deceived, is to hand over the weapon to a bot, as by doing so the weapon instigator will be the bot, and therefore everything that gets spawned from it will have the bot as instigator, and therefore the actors that get spawned from there are only relevant to me if other relevancy properties are met (read here for more details: http://wiki.beyondunreal.com/Legacy:Rep ... bfuscation).
If something works when you're the one holding the weapon or while you're the instigator of an actor, and then it doesn't work fully as wanted when the bot is the instigator, then you have a relevancy problem.