Blockland Forums > Suggestions & Requests
Service Bots [Updated Details, Need Willing Scripter]
ArmyUnit:
About scripting. I could make the basic player type scripts, it wouldn't be anything special, just so you could test the models in-game
Unwritten Calender:
I'll model it. Well, I'll try :cookieMonster:
Niliscro:
--- Quote from: Unwritten Calender on August 27, 2009, 09:01:12 PM ---I'll model it. Well, I'll try :cookieMonster:
--- End quote ---
:D
--- Quote from: ArmyUnit on August 27, 2009, 09:00:31 PM ---About scripting. I could make the basic player type scripts, it wouldn't be anything special, just so you could test the models in-game
--- End quote ---
But that's just speed and stuff, not really functionality.
You can if you want, I guess, but it isn't going to do much for the whole mod, since it's mainly bot usage.
ArmyUnit:
--- Quote from: Niliscro on August 27, 2009, 10:16:15 PM ---:D
But that's just speed and stuff, not really functionality.
You can if you want, I guess, but it isn't going to do much for the whole mod, since it's mainly bot usage.
--- End quote ---
Not necessarily, I could have all the payer type scripts setup and the way you want them while someone else works on the AI.
Niliscro:
--- Quote from: ArmyUnit on August 27, 2009, 10:43:21 PM ---Not necessarily, I could have all the payer type scripts setup and the way you want them while someone else works on the AI.
--- End quote ---
If we can get someone to do the AI.
And it would only be one playertype, something like:
--- Code: ---datablock PlayerData(PlayerServiceBot : PlayerStandardArmor)
{
maxForwardSpeed = 3;
jumpForce = 0; //Can't jump
maxBackwardSpeed = 2;
maxSideSpeed = 2;
uiName = ""; //Seeing how this playertype will only be used for the service bots
//And will not allow players to be a service bot itself
//Etc
};
--- End code ---
Then I was thinking if it just spawned a normal bot, setScale = 0.5 0.5 0.5, or maybe a little smaller, and cleared the nodes and set the shapeFile and whatnot.
It would be easier if you made the playertype once we had a working model, though, since the only time I've ever done it the way I mentioned was in a server cmd to change your datablock to something with a model, such as my magical player gun.