• Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

Snow Crystal

Content Designer on Imperator
50 Badges
Jan 22, 2018
1.105
859
  • Crusader Kings II
  • Crusader Kings III
  • Age of Wonders: Planetfall
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Magicka 2
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Rome: Vae Victis
Hello there!

For users of Sublime, we have made some helpful tools when it comes to Scripting in Imperator. All you need to do is to download the '1.3 - Neve Imperator Script.zip', open Sublime, click 'Preferences' in the top bar, then 'Browse Packages' in the drop down menu, open the 'User' folder and extract everything from the .zip in that folder.

Color Highlighting

With the tools you'll have color highlighting, to more easily show you the different types of effects, triggers etc we have in our Script. You will have Effects in red, Triggers and Modifiers in yellow, Scopes/Event Targets in blue, and base Script in purple.

Completion

At any point you can click CTRL + Space to open a search function, where you can find all modifiers, triggers, effects, event targets and scopes.

Snippets

With these tools you will have a lot of snippets that will quickly help you set up the framework of what you want to do. These will be initiated when you write a small word, and click the Tab button. Then it will have a number of fields you will have to fill in, either with words or numbers. Click tab when you are done with a field, and it will put you to the next field that needs to be filled in.
  • Cevent + Tab | country_event + Tab - The framework for a country event
  • character_event + Tab - The framework of a character event
  • Pevent + Tab | province_event + Tab - The framework of a province event
  • mission + Tab - The framework of a mission
  • if + Tab - Framework of an if clause
 

Attachments

  • 2Like
Reactions:

Firegolem

Sergeant
12 Badges
Oct 19, 2019
95
24
  • Crusader Kings II: The Old Gods
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Knights of Honor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
Sorry, is anybody getting it to work? I don't (Sublime Text 3.2.2, Win10 x64) I've all copied in the User folder (where several packages from me already are, but installed per Package Control). It appears nothing. (copied also this PDXComments.tmPreference thing)

EDIT: Ok, I see now under Syntax this Neve thing appears (very few keywords are highlighted) and after selecting the Snippets also work. Thanks
 
Last edited:

Sir Boots

Private
58 Badges
Feb 15, 2018
17
0
  • Stellaris - Path to Destruction bundle
  • Stellaris
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Imperator: Rome Sign Up
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Imperator: Rome - Magna Graecia
  • Cities: Skylines
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Victoria 2
  • Cities: Skylines - After Dark
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
Very cool and very helpful! It's a shame since I use Notepad ++ though. ;)
 

slyvester8612

Sergeant
3 Badges
Mar 15, 2014
55
12
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Imperator: Rome Sign Up
copied and pasted files to user folder and tried extracting them to the user folder. keep getting an error message Error loading syntax file "Packages/User/1.4-Neve Imperator Script/NeveScriptImperator.sublime-syntax". Unable to read Packages/User/1.4-NeveImperator
Script/NeveScriptImperator.sublime-syntax
 
Last edited:

unicornkill

Second Lieutenant
51 Badges
Jun 19, 2010
178
0
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Europa Universalis IV: Res Publica
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Imperator: Rome - Magna Graecia
  • Prison Architect
  • Prison Architect: Psych Ward
  • Magicka 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris Sign-up
  • Europa Universalis IV: Rights of Man
  • Stellaris: Synthetic Dawn
  • Cities: Skylines
  • Europa Universalis IV: Third Rome
  • Imperator: Rome
For those having issues with sublime 2, downloading sublime 3 worked for me.
 

Samitte

Colonel
121 Badges
Feb 2, 2012
824
958
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Victoria 2
As a former shameful Notepad++ user, I can now say I have converted to Sublime Text and loving it. These tools are a wonderful thing to have, thank you very much!
 

Cheexsta

Veni, vidi, vici
55 Badges
Dec 22, 2005
2.891
45
  • Stellaris: Leviathans Story Pack
  • Rome: Vae Victis
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis: Rome Collectors Edition
  • Mount & Blade: Warband
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris Sign-up
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Victoria 2: Heart of Darkness
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome - Magna Graecia
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Victoria 2
Quick note to anyone else who is new to Sublime: I was a little confused with the installation instructions - code wasn't highlighting and snippets weren't working. But I realised an important step was missing: you have to also enable the Neve Imperator syntax.

After you extract the zip file to the Packages\User folder, navigate to View -> Syntax -> Neve Imperator Highlighter (whichever version you have).

This enables all of the functionality listed in the OP.
 

Snow Crystal

Content Designer on Imperator
50 Badges
Jan 22, 2018
1.105
859
  • Crusader Kings II
  • Crusader Kings III
  • Age of Wonders: Planetfall
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Magicka 2
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Rome: Vae Victis
Quick note to anyone else who is new to Sublime: I was a little confused with the installation instructions - code wasn't highlighting and snippets weren't working. But I realised an important step was missing: you have to also enable the Neve Imperator syntax.

After you extract the zip file to the Packages\User folder, navigate to View -> Syntax -> Neve Imperator Highlighter (whichever version you have).

This enables all of the functionality listed in the OP.
Really? I've never had to do that :eek: