Forums Index >> Help >> Juice, over here
Page : <1> :
Main.cs wont execute dash's scripts or the folder path. ?. Screwed me there ;)
Also, KC this is what your Uberbots file looks like right?
//-----------------------------------------------------------------------------
// ThinkTanks Bot Modifications
// Note: I mucked around in garagegames License and I'm not a lawyer but I think
// I'm legal to distribute this as I own a Torque Game Engine License. If
// BraveTree or GarageGames has a problem with me doing this contact me ASAP
// and I'll pull the plug on this.
// Author: dash Wed Jul 21 06:28:17 EDT 2004
// Version: 0.05
// License: You may not redistribute modified copies of this software unless
// you have a Torque Game Engine License.
// Last Update: Sun Nov 21 12:54:15 EST 2004
// Portions of this script are copyrighted by Garagegames...
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
// Bronze Light Tanks configured to be super snipers
BronzeLightAI.homeRange = 1000; // how far from "home" will it wonder
BronzeLightAI.targetRange = 1000; // how far away does it have to be before targeting an enemy
BronzeLightAI.disengageRange = 1000; // at what distance will it disengage an enemy
BronzeLightAI.aim = 0.2; // how accurate? Degrees variance from dead-on aim
BronzeLightAI.aimSpeed = 0.8; // 0-1, 1=instantanous, 0=never move (0.2 -> 2/3 sec to get 99% there,0.1 -> 2/3 sesc to g
BronzeLightAI.triggerHappy = 10; // angle in degrees at which tank will not fire (smaller number, more frugal)
BronzeLightAI.longShotScale = 0; // fire less often at a distance -- scales reload times (bigger = slower)
BronzeLightAI.fleeDamage = 1.0; // at what damage level (0-1, 0 undamaged) will it turn and flee to re-group
BronzeLightAI.fleeOnTime = 1000; // how long to keep fleeing turned on (in ms)
BronzeLightAI.fleeOffTime = 10000; // how long to keep fleeing turned off after re-engaging (in ms)
BronzeLightAI.scanDelay = 800; // how long to delay between enemy scans (in ms)
BronzeLightAI.follow = false; // will it follow a target outside "home" area?
BronzeLightAI.snipeWeight = 1.0; // selection weight for sniping attacks
BronzeLightAI.ramWeight = 0.2; // selection weight for ram attacks
BronzeLightAI.flankWeight = 0; // selection weight for flanking attacks
BronzeLightAI.backWeight = 0; // selection weigth for back-track attacks
BronzeLightAI.ocWeight = 3.0; // obsessive-compulsive factor -- larger # means sticks with current target more
BronzeLightAI.revengeWeight = 0.1; // larger # means go after tank that just shot us
BronzeLightAI.firescale = 1.0;
BronzeLightTank.firescale = 1.0;
SilverLightAI.homeRange = 1000; // how far from "home" will it wonder
SilverLightAI.targetRange = 500; // how far away does it have to be before targeting an enemy
SilverLightAI.disengageRange = 500; // at what distance will it disengage an enemy
SilverLightAI.aim = 1.0; // how accurate? Degrees variance from dead-on aim
SilverLightAI.aimSpeed = 0.8; // 0-1, 1=instantanous, 0=never move (0.2 -> 2/3 sec to get 99% there,0.1 -> 2/3 sesc to g
SilverLightAI.triggerHappy = 10; // angle in degrees at which tank will not fire (smaller number, more frugal)
SilverLightAI.longShotScale = 0; // fire less often at a distance -- scales reload times (bigger = slower)
SilverLightAI.fleeDamage = 1.0; // at what damage level (0-1, 0 undamaged) will it turn and flee to re-group
SilverLightAI.fleeOnTime = 1000; // how long to keep fleeing turned on (in ms)
SilverLightAI.fleeOffTime = 10000; // how long to keep fleeing turned off after re-engaging (in ms)
SilverLightAI.scanDelay = 500; // how long to delay between enemy scans (in ms)
SilverLightAI.follow = true; // will it follow a target outside "home" area?
SilverLightAI.snipeWeight = 0.0; // selection weight for sniping attacks
SilverLightAI.ramWeight = 0.5; // selection weight for ram attacks
SilverLightAI.flankWeight = 0.3; // selection weight for flanking attacks
SilverLightAI.backWeight = 0.5; // selection weigth for back-track attacks
SilverLightAI.ocWeight = 4.0; // obsessive-compulsive factor -- larger # means sticks with current target more
SilverLightAI.revengeWeight = 0.1; // larger # means go after tank that just shot us
SilverLightAI.firescale = 1.0;
SilverLightTank.firescale = 1.0;
GoldLightAI.homeRange = 1000; // how far from "home" will it wonder
GoldLightAI.targetRange = 1000; // how far away does it have to be before targeting an enemy
GoldLightAI.disengageRange = 1000; // at what distance will it disengage an enemy
GoldLightAI.aim = 0.0; // how accurate? Degrees variance from dead-on aim
GoldLightAI.aimSpeed = 1; // 0-1, 1=instantanous, 0=never move (0.2 -> 2/3 sec to get 99% there,0.1 -> 2/3 sesc to g
GoldLightAI.triggerHappy = 5; // angle in degrees at which tank will not fire (smaller number, more frugal)
GoldLightAI.longShotScale = 0; // fire less often at a distance -- scales reload times (bigger = slower)
GoldLightAI.fleeDamage = 1.0; // at what damage level (0-1, 0 undamaged) will it turn and flee to re-group
GoldLightAI.fleeOnTime = 1000; // how long to keep fleeing turned on (in ms)
GoldLightAI.fleeOffTime = 10000; // how long to keep fleeing turned off after re-engaging (in ms)
GoldLightAI.scanDelay = 200; // how long to delay between enemy scans (in ms)
GoldLightAI.follow = true; // will it follow a target outside "home" area?
GoldLightAI.snipeWeight = 0.5; // selection weight for sniping attacks
GoldLightAI.ramWeight = 0.8; // selection weight for ram attacks
GoldLightAI.flankWeight = 0.4; // selection weight for flanking attacks
GoldLightAI.backWeight = 0.5; // selection weigth for back-track attacks
GoldLightAI.ocWeight = 2.0; // obsessive-compulsive factor -- larger # means sticks with current target more
GoldLightAI.revengeWeight = 0.1; // larger # means go after tank that just shot us
GoldLightTank.firescale = 1.0;
Also, I cant chat in my server, and the missionloader wont cycle through my missions. And the dash codes dont execute. Dam, my server is screwed as.......pretty screwed
KC?
Yep, exactly, and now if you want to change human's fire rate you add to the right of the GoldLightTank.firescale = 1.0 line this: Lighttank.firescale = It will look like this:
GoldLightTank.firescale = 1.0; LightTank.firescale =
Both at bottom, and that's it.
Of course if want, you can do this w/the mediums and heavies too, and be sure to add the mediumtank.firerate = and heavytank.firerate = lines too, so you or others using different tanks can have rapid fire too. :)
As far as the Main.cs is concerned, where did you put the Dash line? At the very bottom right?
Last edited: Tuesday, December 06, 2005 at 8:12:27 PM
Thanks KC. I hear your not hosting mad bots? Sucks. My fav server! But thanks for the help KC. My dedicated server is always coming up with this gay ass error, which wont let me host. Its in modding/new server JUICYLICIOUS
But ill do what u said and add it to uberbots. Thanks again, KC
Np. :)
Page : <1> :
Here's the link to the page we talked about: http://planetthinktanks.com/comm-thread.asp?thread=8890&forum=1
If you still need help, just ask. :)