scripting

Started by Hunter, May 17, 2004, 12:55:15 PM

Previous topic - Next topic

Hunter

i've dun a script but wot do i do after i've made it

Cobra {sfx}

Can you be a bit more specific?

   What map is it for, what does it do, itll help if you paste it as we can spot errors easier etc etc

   

   Or if your confident...

   

   If its for a map say like the hunt, save it as obj_team1.scr

   open up pakscape and make a folder called maps then one inside that called obj and inside that obj folder you place your obj_team1.scr

   save in pakscape as user_blah.pk3 (note save as filetype quake3pak)

   then stop your server, place the pk3 file in moh/main and restart server - all going well it will work.

   

   I test mine on my pc first to make sure its going to be ok.

   

   that help?

   

   Cobra
Sleep? What is that?

Hunter

well it's my first 1 and i don't really know what do do lol                           the thing i typed in was  

   

   

   

   TIKI

   setup

   {

      scale 0.52

         path models/vehicles/bmwbike

      skelmodel bmwbike.skd

         surface all shader bmwbike

   }

   

   init

   {

         server

            {

               classname drivablevehicle

         //classname VehicleWheelsX3

               setsize "-45 -30 0" "56 20 60"

               seatoffset "-14 0 24"

               gravity 0.7

               canjump

            vehiclespeed 500

            vehiclemass 1500

            vehicletread 10

            vehicleradius 0.33

            vehiclerollingresistance 0.5

            vehicledrag 0.00001

            turnrate 40

            vehiclebouncy 0.2

            vehiclespringy 0.8

   

            AnimationSet "bmwbike_"

            SoundSet "bmwbike_"

   

            

            //////////////////////////////////////////

            // Pitch-Mod Sound for vehicles by speed

            //

            // Linearly Interpolates from the minimum pitch when the vehicle is at the minimum speed to

            // the maximum pitch when the vehicle is at the maximum speed.

            //

            // Speed is in World Units.

            //

            //

            //                 +--------------- Minimum Speed

            //                 |  +------------ Minimum Pitch

            //                 |  |

            //                 |  |      +----- Maximum Speed

            //                 |  |      |  +-- Maximum Pitch

            //                 V  V      V  V

            setsoundparameters 0 0.95   200 1      

            }

   }

   

   animations

   {

         idle bmwbike.skc

   }

   

   /*QUAKED vehicle_german_bmwbike (0 0 0) (-40 -20 0) (40 20 50)

   BMW

   */

Cobra {sfx}

Oh its a tiki file, not something ive messed around with yet, drivable too eh, did you follow a tutorial to do this?
Sleep? What is that?

Hunter

no lol i jus thought i'd try scripting out so i jus editted a few bits lol

Cobra {sfx}

Hope my tutorial over TS2 helps you m8, have fun moddin :)
Sleep? What is that?

Hunter

i can't thank you more ran into a few problems yesturday scripts went all wrong so i had to get my back up one my clan members think there good so THANKS MATE