Forums Index >> Modding >> How to change speed of tanks in script-files ?



Page : <1> :


How to change the speed of light tanks ? Any fixes in a script-file or something ?

Tuesday, December 20, 2005 at 6:22:12 AM

Eat your vegetables.

Tuesday, December 20, 2005 at 8:36:37 AM

I dont know

Tuesday, December 20, 2005 at 9:28:35 AM

Hint: It's in TT/game/server. You can make your way to it from there. :)

Tuesday, December 20, 2005 at 1:14:19 PM

You can either add some text to the bottom of your mission file
Or you can mess with the tank.db
If this doesnt make sense to you then read up on everything to mod TT
in the MODDING RESOURCE THREAD

 

Last edited: Tuesday, December 20, 2005 at 1:29:02 PM

Tuesday, December 20, 2005 at 1:28:34 PM

Monica: Cant find any.cs-files here, only.dso-files. Cant edit these ??
Roost: Have searched the forum, am fed up, cant find again what I know I have seen, namely
a fix in a script where a time-constant could be modified.
And this constant determined the speed of light tank. Can find it again, anoying !!!!!

 

Tuesday, December 20, 2005 at 1:53:17 PM

OK...
If you have a demo, get the full version now.
Navigate to game/server/scripts (notice I didn't do everything for you).
Find TankDb.cs.
Go to the code that says:

 

                                        
maxSpeed = 20.0 ;

 


Make the number in bold higher to increase the tank speed.

Tuesday, December 20, 2005 at 2:48:03 PM

He's right I only have dso files to and I have the real game!!

Tuesday, December 20, 2005 at 4:24:49 PM

You have to download the.cs files dunderhead!

Tuesday, December 20, 2005 at 7:07:40 PM

Monica: Thx for all help. Being an old grand-dad wanting to comply with his grandsons wishes, its not all that
easy to follow this. And the father of the grandson is a dunderhead, so I have to step in !! (what a life.... )
Fact: I DO have the full version, bought, paid and dowloaded from Garage Games. Works fine.
(Best liked is "Paradise Lost" , similar to our norwegian mountains. ). Do NOT have the
TankDb.cs, have searched the whole hdd. Ok, so tried to download the TankDb.cs file from this forum,
but denied by server (as with other orig cs-files.). Btw: Are dso-files sort of compiled from open text-cs.files?
How then to get the cs-file, and if I get it, does it need a "compilation" to create the dso-file ??
Have I understood correctly that dso-files are "coded" (compiled) scripts, wheras cs-files are open-text
scripts which also are executable(dont need the dso then)???
Can anyone mail me the TankDb.cs file ? If so, do I give my mail-adress here, or what ?

Last edited: Wednesday, December 21, 2005 at 1:15:14 AM

Tuesday, December 20, 2005 at 11:47:57 PM

The Modding Resource is in the link I posted above ^
Just click on the blue writing
And be aware that all changes to scripts are server side not client side
In other words the changes will only effect the tanks if you serve the game
and any changes are universal. Meaning that you cant enhance only your tank
Its all or nothing

 

Wednesday, December 21, 2005 at 2:32:19 AM

The easy button would open TT1_1.mis
Open this in a text editor like Notepad
scroll to the very bottom where it says
//---------Object Write end-----------
And paste in this bit after it

Lighttank.maxspeed = 60;
Lighttank.accelrate = 50;
Lighttank.deccelrate = 100;
Lighttank.antisliderate = 50;
Lighttank.turnrate = 100;

Save out and use the create button to launch Medulla Mesa
Join with a light tank and viola you go fast

Its all there in the MODDING RESOURCE and much more besides
Enjoy the journey ;)

 

Last edited: Wednesday, December 21, 2005 at 2:40:47 AM

Wednesday, December 21, 2005 at 2:39:07 AM

Ok, thx roost.Will try that. But would it also be posible to have someone mail me the TankDb.cs file ?
It was available to all before on the forum download, but now blocked. So maybe someone could help ?

Thursday, December 22, 2005 at 3:06:58 AM

Look here erik ->original scripts

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Thursday, December 22, 2005 at 4:34:26 AM

YES YES, found the script-files !! Thx a lot Triv !
Only one question left: In my installed TT-game I only have ThinkDb.cs.dso. Should I remove this one and replace
by ThinkDb.cs, or should I keep both ? In the last case, which one has preference ? What is actually the dso-file,
some sort of "compiled/compressed" version of the cs-file ?

Thursday, December 22, 2005 at 5:30:49 AM

Yep, like you guessed the.dso is a compiled/compressed version of the.cs file. Let's say you have a.cs file called example.cs if it's get used it will create a file called example.cs.dso. All the TT files are mainly.dso ones.

Move the tankDb.cs.dso to a safe location(back up). Then move the tankdb.cs to the Thinktanks/game/server/scripts/ folder.

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Thursday, December 22, 2005 at 6:01:05 AM

YES, YES, Grand dad is modding tank speed for his grandson !!! Thanks again to all for all help, (apart from CannedSplam
who thougth I should eat veggies, which I have NOT !!) The father of the grandson thinks we are crazy, but me and my
grandson are having a GREAT time !!!!! (the father is a grumpy type).

Erik

Thursday, December 22, 2005 at 6:27:55 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald