Spartacuspires

Discussion in 'Coding' started by ImSpartacus, Mar 2, 2014.

  1. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0

    Spartacuspires is a set of Empires scripts that can modify the game when you play on a server also running Spartacuspires scripts but also not modify the game when you play on a "stock" server such as VIPER or EPIC.



    Why you should give a shit:

    1. Viro Jeeps - Viroman's amazing jeeps are available for use alongside stock jeeps.
    2. Custom chassis, armors, engines & vehicle weapons, more than a dozen of them.
    3. Full 100% dynamic compatibility of Spartacuspires client scripts whether you're on a stock server or a Spartacuspires server.
    4. Partial compatibility for those playing on Spartacuspires servers without Spartacuspires scripts.


    How to Install:

    1. Download the .zip of files.
    2. Unzip it to get to the Spartacuspires scripts folder.
    3. Find your current scripts folder in your current Empires installation, usually in this folder: C:\Program Files (x86)\Steam\SteamApps\common\Empires\empires
    4. Rename your current scripts folder to something like "scripts_backup".
    5. Place the Spartacuspires scripts folder where your old scripts folder was located.
    6. Restart Empires.
    7. Join a Spartacuspires server or another server like VIPER. Everything works exactly as it should!

    Technical Details:

    • You need to not touch anything in the stock scripts.
      • No removing or editing any stock chassis.
      • No removing or editing any stock vehicle weapons.
      • No removing or editing any stock engines or armors.
      • etc.
    • You can add new chassis/weapons/engines/armors at the end of each respective file.
    • When the parser scoops up the scripts on a stock server, it finds everything in the exact order that is needs. Shit works.
    • It also finds extra stuff on the client scripts. These custom options options look like they are available on a stock server, but they are not.

    Version History

    0.1 Limited Release Testing Version

    0.2 First Public Release

    • Numerous weapons & chassis added.
    • Bugs
      • Heavier Tanks have no aim reticle and it sometimes looks like they are firing weapons at the wrong angle in player view.
      • Heavier Tanks can also hurt themselves with missiles that have a high spread. Need to switch bones.
      • Tank Destroyers use the heavy tank physics settings instead of the medium tank settings, so the handling is horrible.

    0.3 Bug Fixes

    • Fixed 0.2 bugs except for Heavier Tanks' missing reticles.
    • Added two new armors.
    • Slightly rebalanced vehicle weapons.
    • Gave the NF engy the shotty pistol.

    0.4 Vehicle Handling

    • Massively increased the weight of the custom chassis (except virojeeps) so they shove each other more realistically.
      • Need to understand suspensions to increase further (open to any & all suggestions on improving this).
    • Added Viroman's surfaceproperties_hl2.txt that includes various tire surfaces for anyone looking to play with them, but couldn't successfully use them without the tanks getting stuck in the ground. :(
    • Nerfed the ridiculous regen of Frozen armor, lol.
    • Slightly nerfed the regen of Shield armor.
    • Added a few cannons and a ridiculous BE tank.

    0.5 Shotguns & Buildable Command Vehicles

    • Reenabled the shotgun and gave it to every class.
    • Gave the shotty pistol to most classes.
    • Added buildable CVs once heavies are researched.
      • They have their own armor & engine. The armor is much weaker than real CV armor, but regens slightly. The engine is completely redone to turn the vehicles into fucking semi-trucks (Viroman, hawlp).
      • They act as expensive APCs and sound like AFVs, but have no weapons.
      • There may be some... easter eggs...
    • Added BE Heavier Tanks with 1 3-slot arty & 1 3-slot cannon.
    • Added a ridiculous amount of weapons, enough that I oughta go over ALL of them:
      • Upgraded Machine Gun - A no-research 3-slot MG that's basically just a modestly buffed Std MG.
      • Light Cannon - A no-research 1-slot MG that's basically just a really inaccurate, but fast firing Std Cannon. Ridiculously overpowered in close range.
      • Plasma HMG - A 3-slot MG that's basically what Plasma MG should be.
      • Tesla Bolt - A no-research 2-slot MG that I stole from Trickster and fixed tweaked.
      • Shawtgun - A no-research 1-slot cannon that is basically a shotgun for vehicles. Good against infantry.
      • Improved Standard Cannon - A no-research 2-slot cannon that I stole from Trickster. Damage buffed 25% from the old 1-slot BE version.
      • Auto-Cannon - A 3-slot cannon that fires 3-round bursts. Functionally similar to rails, but found in HEMG research.
      • The Frog - A weirdly-named (talk to Haschte) 3-slot cannon that fires very strong bio shells. Found in BioMG research.
      • Melting Cannon - A 2-slot cannon that fires low damage shells that are hot enough to melt shit. Very good against buildings, found in Plasma Cannon research.
      • Big Bertha - A 3-slot arty cannon that fires high-damage short-range shells.
      • Fast ML - A no-research 1-slot ML that is basically half-damage UML.
      • Salvo Guided ML - A 3-slot ML that is basically what Guided should be.
      • Salvo GL - A 3-slot GL that fires 3-round bursts of very high splash nades.

    0.6 Vehicle Handling

    • Updated for the current version of Empires.
    • Unenabled infantry weapons for the wrong classes.
    • Added Wealthy Jeep.
    • Updated Viro Jeep.
    • Modest updates to other vehicle handling.
    • Slowed down all Heavier Tank engines.
    • Broke down and added a bunch of bullshit to Physics to make it unboring.

    0.61 Bug Fix

    • Fixed a preset issue.

    0.62 Bug Fix

    • Changed handling.
    • Balanced shit.

    Future Features

    • Fixing vehicle handling.
     
    Last edited: Jul 22, 2014
  2. wealthysoup

    wealthysoup Lead Tester

    Messages:
    1,857
    Likes Received:
    0
    Trophy Points:
    0
    Doesnt this cause the descriptions on stock servers to be wrong? Or have you got a smart work around for that?
     
  3. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    ... this sounds gimmicky. Good thing I am not trickster. Gana try it out!
     
  4. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    It's ridiculously gimmicky.

    There's a cannon that fires 10 very weak projectiles at a huge spread almost like a shotgun. I cranked up gravity to limit its range AND let it attack people over top of walls.

    Also, let me know if I didn't implement your jeeps properly.

    What do you mean by "descriptions"?

    I've been playing on VIPER and the listen servers of Creeper & DDD and haven't had issues.

    Note, that you CAN see the custom chassis/vehicles/engines, but you can't create a vehicle with them. It throws an error similar to the "locked VF" error.
     
    Last edited: Mar 2, 2014
  5. Drag0wn

    Drag0wn Member

    Messages:
    274
    Likes Received:
    1
    Trophy Points:
    0
    I can say this does not prevent you from joining a stock server, nor does it allow you to build custom vehicles on a stock server.

    Makes me wish a server ran this constantly, it's fun at least for small groups.
     
  6. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    If you could build custom chassis on a stock server, you'd be a hacker. :|ove:
     
  7. wealthysoup

    wealthysoup Lead Tester

    Messages:
    1,857
    Likes Received:
    0
    Trophy Points:
    0
    Oh so you are using different scripts and keeping the default vehicles and weapons as default and then adding new chassis and weapons to be used on custom servers?
     
  8. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    Yeah, that's the only way to get it to work on a stock server as well.

    That's my number one priority. People with modified scripts must be able to play on any server and people without modified scripts must be able to play on any server.
     
    Last edited: Mar 2, 2014
  9. Grantrithor

    Grantrithor Member

    Messages:
    9,820
    Likes Received:
    11
    Trophy Points:
    0
    Amazing work Spartacus, if I produce weapons will you put them in your scripts?

    I call being the head of the Imperial Standardization of Scripting Organization (ISSO)!
     
    Last edited: Mar 2, 2014
  10. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    Dual auto cannon is OP beyond belief. blow most shit up in two shots. Dual Nukes is semi op to.

    Jeeps need a bit more tweaking too. like using turbo and brake at same time... not recommended unless your at stop. Then you get mad hydraulics skills.

    Overall the vehicles are fairly nice. They could use a bit more tuning though.

    Also using turbo and turning works fine.
     
    Last edited: Mar 2, 2014
  11. Drag0wn

    Drag0wn Member

    Messages:
    274
    Likes Received:
    1
    Trophy Points:
    0
    The auto-cannon has no drawbacks, except range, and yeah it's overpowered. Dual nukes is not all that bad, because you have to sacrifice a lot of armor to do it.
     
  12. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    If they are remotely reasonable, then I see no reason why not.

    Keep in mind that there is some sort of vehicle weapon limit. I need to figure out how to deal with it.

    Yeah, the DPS was actually higher than rails, lol. I increased the reload to decrease the long-term DPS below rail guns without removing its "bursty" nature.

    I can't fix nukes, but I think it's fair that the only tank that gets to use dual nukes is slow as fuck. Also the weight limit requires a dual nuke tank to shed a fair amount of armor.

    I agree. That needs a lot of work. I would wholehearted take suggestions on how to improve vehicle handling. I should've done that more testing while the server was full.
     
  13. Drag0wn

    Drag0wn Member

    Messages:
    274
    Likes Received:
    1
    Trophy Points:
    0
    Spartacus, how does one make the order of vehicle_chassis.txt work with additional vehicles added?
     
  14. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    Anything you add must be at the very bottom of the file. It must be under the other entries.

    That includes both teams and the commander chassis.

    See the section named "Bullshit":

    Code:
    vehicle_chassis
    {
    //Northern Faction
    	"NF_Jeep"
    	{
    		"Script"	"scripts/vehicle_nf_jeep.txt"
    		"Preset"	"scripts/presets/vehicle_nf_jeep_preset.txt"
    	}
    
    	"NF_APC"
    	{
    		"Script"	"scripts/vehicle_nf_apc.txt"
    		"Preset"	"scripts/presets/vehicle_nf_apc_preset.txt"	
    	}
    
    	"NF_Light_Tank"
    	{
    		"Script"	"scripts/vehicle_nf_light_tank.txt"
    		"Preset"	"scripts/presets/vehicle_nf_light_tank_preset.txt"
    	}
    
    	"NF_Med_Tank"
    	{
    		"Script"	"scripts/vehicle_nf_med_tank.txt"
    		"Preset"	"scripts/presets/vehicle_nf_med_tank_preset.txt"
    	}
    
    	"NF_Heavy_Tank"
    	{
    		"Script"	"scripts/vehicle_nf_heavy_tank.txt"
    		"Preset"	"scripts/presets/vehicle_nf_heavy_tank_preset.txt"
    	}
    
    	"NF_Arty_Tank"
    	{
    		"Script"	"scripts/vehicle_nf_arty_tank.txt"
    		"Preset"	"scripts/presets/vehicle_nf_arty_tank_preset.txt"
    	}
    
    	"NF_Fighter"
    	{
    		"Script"	"scripts/vehicle_nf_fighter.txt"
    		"Preset"	"scripts/presets/vehicle_nf_fighter_preset.txt"
    	}
    
    	"NF_Falcon"
    	{
    		"Script"	"scripts/vehicle_nf_falcon.txt"
    		"Preset"	"scripts/presets/vehicle_nf_falcon_preset.txt"
    	}
    
    //Brenodi Empire
    	"Imperial_Jeep"
    	{
    		"Script"	"scripts/vehicle_imp_jeep.txt"
    		"Preset"	"scripts/presets/vehicle_imp_jeep_preset.txt"
    	}
    
    	"Imperial_APC"
    	{
    		"Script"	"scripts/vehicle_imp_apc.txt"
    		"Preset"	"scripts/presets/vehicle_imp_apc_preset.txt"
    	}
    
    	"Imperial_AFV"
    	{
    		"Script"	"scripts/vehicle_imp_afv.txt"
    		"Preset"	"scripts/presets/vehicle_imp_afv_preset.txt"
    	}
    	
    	"Imperial_Med_Tank"
    	{
    		"Script"	"scripts/vehicle_imp_med_tank.txt"
    		"Preset"	"scripts/presets/vehicle_imp_med_tank_preset.txt"
    	}
    
    
    	"Imperial_Heavy_Tank"
    	{
    		"Script"	"scripts/vehicle_imp_heavy_tank.txt"
    		"Preset"	"scripts/presets/vehicle_imp_heavy_tank_preset.txt"
    	}
    
    	"Imperial_Arty_Tank"
    	{
    		"Script"	"scripts/vehicle_imp_arty_tank.txt"
    		"Preset"	"scripts/presets/vehicle_imp_arty_tank_preset.txt"
    	}
    
    	"Imperial_Fighter"
    	{
    		"Script"	"scripts/vehicle_imp_fighter.txt"
    		"Preset"	"scripts/presets/vehicle_imp_fighter_preset.txt"
    	}
    
    //Commander vehicles
    	"Imperial_Commander"
    	{
    		"Script"	"scripts/vehicle_imp_comm.txt"
    		"Preset"	"scripts/presets/vehicle_imp_comm_preset.txt"
    	}
    
    	"NF_Commander"
    	{
    		"Script"	"scripts/vehicle_nf_comm.txt"
    		"Preset"	"scripts/presets/vehicle_nf_comm_preset.txt"
    	}
    
    //Bullshit
    	"NF_Viro_Jeep"
    	{
    		"Script"	"scripts/vehicle_nf_Viro_jeep.txt"
    		"Preset"	"scripts/presets/vehicle_nf_viro_jeep_preset.txt"
    	}
    	"NF_Light_Tank_mk_2.5"
    	{
    		"Script"	"scripts/vehicle_nf_light_tank_mk_2.5.txt"
    		"Preset"	"scripts/presets/vehicle_nf_light_tank_mk_2.5_preset.txt"
    	}
    	"NF_Light_Tank_mk_3"
    	{
    		"Script"	"scripts/vehicle_nf_light_tank_mk_3.txt"
    		"Preset"	"scripts/presets/vehicle_nf_light_tank_mk_3_preset.txt"
    	}	
    
    	"NF_Heavy_APC"
    	{
    		"Script"	"scripts/vehicle_nf_heavy_apc.txt"
    		"Preset"	"scripts/presets/vehicle_nf_heavy_apc_preset.txt"	
    	}
    
    	"NF_Riot_Tank"
    	{
    		"Script"	"scripts/vehicle_nf_riot_tank.txt"
    		"Preset"	"scripts/presets/vehicle_nf_riot_tank_preset.txt"
    	}
    
    	"NF_Heavier_Tank"
    	{
    		"Script"	"scripts/vehicle_nf_heavier_tank.txt"
    		"Preset"	"scripts/presets/vehicle_nf_heavier_tank_preset.txt"
    	}
    	
    	"Imperial_viro_Jeep"
    	{
    		"Script"	"scripts/vehicle_imp_viro_jeep.txt"
    		"Preset"	"scripts/presets/vehicle_imp_viro_jeep_preset.txt"
    	}
    	"Imperial_Heavy_APC"
    	{
    		"Script"	"scripts/vehicle_imp_heavy_apc.txt"
    		"Preset"	"scripts/presets/vehicle_imp_heavy_apc_preset.txt"
    	}
    
    	"Imperial_Really_AFV"
    	{
    		"Script"	"scripts/vehicle_imp_rafv.txt"
    		"Preset"	"scripts/presets/vehicle_imp_rafv_preset.txt"
    	}
    	"Imperial_Tank_Destroyer"
    	{
    		"Script"	"scripts/vehicle_imp_tank_destroyer.txt"
    		"Preset"	"scripts/presets/vehicle_imp_tank_destroyer_preset.txt"
    	}
    
    
    
    
    }
     
  15. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
  16. Grantrithor

    Grantrithor Member

    Messages:
    9,820
    Likes Received:
    11
    Trophy Points:
    0
    Ok so I took your scripts for a spin

    Why does "Big Ass Engine" do virtually nothing special? I was hoping I could get some big ass something out of it. And the shawtgun makes for a good very-short-range artillery.
     
  17. ViroMan

    ViroMan Black Hole (*sniff*) Bully

    Messages:
    8,382
    Likes Received:
    4
    Trophy Points:
    0
    The big engine has constant cooling ability while driving or standing still. Down side is its speed takes a shit at 50% heat instead of 80 like most engines and it weighs a bit more.
     
  18. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    The thing about Big Ass Engine is that it requires no research. I guess I forgot to mention that, lol.
     
  19. Grantrithor

    Grantrithor Member

    Messages:
    9,820
    Likes Received:
    11
    Trophy Points:
    0
    So you can use any models you damn want.

    Now this really opens opportunities.
    [​IMG]
    [​IMG]

    I wanted the ML to face forward so it can be like a rocket pack, but that's asking too much I guess so it points straight up.

    edit: and a side effect of you guys using the light tank turret on the "heavy apc" is that you can shoot out of the second seat, which is in the back of the apc still...
    [​IMG]

    Is it possible to change the camera/seat physical spot through scripts?
     
    Last edited: Mar 3, 2014
  20. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    The model needs recompiling.
     

Share This Page