• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Snow Crystal

Content Designer on Unannounced Project
Paradox Staff
60 Badges
Jan 22, 2018
1.322
4.708
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome - Magna Graecia
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

  • 1.3 - Neve Imperator Script.zip
    28,5 KB · Views: 125
  • 1.4 - Neve Imperator Script.zip
    29,8 KB · Views: 48
  • 1.5 - Neve Imperator Script.zip
    31,3 KB · Views: 0
  • 4Like
  • 1Love
  • 1
Reactions:

Firegolem

First Lieutenant
17 Badges
Oct 19, 2019
245
108
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Crusader Kings II: The Old Gods
  • Age of Wonders III
  • Stellaris: Synthetic Dawn
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
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

Corporal
71 Badges
Feb 15, 2018
31
71
  • Stellaris - Path to Destruction bundle
  • Stellaris
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • 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
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Stellaris: Ancient Relics
  • Crusader Kings III
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Victoria 3 Sign Up
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Lithoids
  • Victoria 2
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Cities: Skylines
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
Very cool and very helpful! It's a shame since I use Notepad ++ though. ;)
 

slyvester8612

Sergeant
3 Badges
Mar 15, 2014
72
60
  • 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:

Samitte

Colonel
125 Badges
Feb 2, 2012
1.166
2.339
  • Europa Universalis IV
  • Age of Wonders II
  • Hearts of Iron IV: No Step Back
  • Imperator: Rome
  • 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
60 Badges
Dec 22, 2005
2.894
59
  • Europa Universalis IV: Rights of Man
  • 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: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Victoria 2: Heart of Darkness
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • 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: Nemesis
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • 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 Unannounced Project
Paradox Staff
60 Badges
Jan 22, 2018
1.322
4.708
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome - Magna Graecia
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:
 

antrachton

Major
12 Badges
Oct 9, 2018
697
355
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV
  • Cities: Skylines
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Cities: Skylines - Campus
  • Europa Universalis 4: Emperor
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!
I've tried sublime a few times but it doesn't make much difference to notepad++
Especially when not updated regularly. It's just different background mostly
 
  • 2
Reactions:

Siddymac

Recruit
Jun 13, 2021
1
0
Hi I'm new to the modding community and I'm having trouble getting this to work. I've downloaded both Sublime 3 & 4 and I've tried downloading each version in the OP to no avail; is there something I'm doing wrong? (Win10x64) Edit: specifically after I've downloaded each version and click on preferences > browse packages and click on "User" nothing shows up.
 
Last edited: