Snow Crystal

Content Designer on Stellaris
60 Badges
Jan 22, 2018
1.252
3.372
  • Crusader Kings II: Holy Fury
  • Stellaris: Nemesis
  • 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
  • 3Like
  • 1Love
  • 1
Reactions:

Firegolem

Second Lieutenant
17 Badges
Oct 19, 2019
147
48
  • 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

Private
61 Badges
Feb 15, 2018
21
27
  • 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: Expansion Pass
  • 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
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Europa Universalis 4: Emperor
  • Cities: Skylines
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Victoria 2
  • Battle for Bosporus
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Europa Universalis IV
  • 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
Very cool and very helpful! It's a shame since I use Notepad ++ though. ;)
 

slyvester8612

Sergeant
3 Badges
Mar 15, 2014
67
43
  • 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
123 Badges
Feb 2, 2012
1.112
2.083
  • Europa Universalis IV
  • 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
56 Badges
Dec 22, 2005
2.894
54
  • 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: 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 Stellaris
60 Badges
Jan 22, 2018
1.252
3.372
  • Crusader Kings II: Holy Fury
  • Stellaris: Nemesis
  • 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

Captain
12 Badges
Oct 9, 2018
446
194
  • 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: