Posts: 130
Threads: 102
Joined: Jul 2013
27-04-2014, 05:17 PM
(This post was last modified: 27-04-2014, 05:37 PM by gvn1999.)
Heyho Devs (or anyone who can answer this),
I know this is not really a problem in NI [...] but I don´t know where to put it; what do I have to do to copy the effect that causes Jotnes/gungnir to multiply when thrown?
If I just use the lines from the itemkinds.txt it gets me error messages but I didnt find anything in particle system files etc.
I hope you can share this secret

greetings,
gvn
Prince: 11x (twice in 1 hour) Torturer: 39x
Ragnar: 4x Nord War Marshal: 9x
Thor: Not my Brother! Loke: 5x
Odin: 2x Nord Siege Cpt: 19x
Princess Dortea: 1x ALCHEMIST LEVEL 18!
Got KICKED to death by HANDE twice || looted 30+ Aketons
Posts: 1,648
Threads: 71
Joined: Jan 1970
Our module system is not OSP. Try to find it out yourself.
Posts: 130
Threads: 102
Joined: Jul 2013
27-04-2014, 07:01 PM
(This post was last modified: 27-04-2014, 08:50 PM by gvn1999.)
(27-04-2014, 06:55 PM)Hande link Wrote: Our module system is not OSP. Try to find it out yourself.
I´m trying since 3 hours lol
str_ni_control_bot <----- dat string is awesome [and really bad for players though]
Prince: 11x (twice in 1 hour) Torturer: 39x
Ragnar: 4x Nord War Marshal: 9x
Thor: Not my Brother! Loke: 5x
Odin: 2x Nord Siege Cpt: 19x
Princess Dortea: 1x ALCHEMIST LEVEL 18!
Got KICKED to death by HANDE twice || looted 30+ Aketons
Posts: 130
Threads: 102
Joined: Jul 2013
27-04-2014, 08:12 PM
(This post was last modified: 27-04-2014, 08:35 PM by gvn1999.)
Still playing around with some things... this was what I got:
https://www.dropbox.com/s/742w8k5eeghotpw/mb4021.jpg
I hope it has nothing to do with the triggers :/ [dont see dat much in here
simple_triggers_file version 1
110
-6.000000 0
-5.000000 0
1.000000 16 4 0 31 2 144115188075857046 0 2133 2 144115188075857046 1 2124 1 100 729 2 0 7050 730 2 0 7200 1626 2 648518346341351633 0 3 0 32 2 144115188075856228 0 32 2 144115188075856217 0 30 2 144115188075856225 1 2270 1 1224979098644774912 31 2 144115188075856224 0 30 2 1224979098644774912 144115188075856229 2147485921 0 1030 3 0 0 0
0.000000 25 4 0 31 2 144115188075857061 0 1230 1 648518346341351627 501 3 648518346341351445 27 0 1096 2 432345564227567629 0 1096 2 432345564227567616 0 4 0 2147483848 1 504403158265495584 1615 3 648518346341351424 360287970189639815 1 3 0 6 3 1224979098644774912 360287970189639896 360287970189640016 4 0 540 3 1224979098644774912 2 0 2173 2 1224979098644774913 1224979098644774912 33 3 1224979098644774913 432345564227567631 432345564227567643 500 3 1224979098644774912 2 2 3 0 3 0 1 1 936748722493063217 2133 2 144115188075857061 1 3 0 31 2 144115188075856283 1 32 2 144115188075856063 0 132 1 144115188075856063 1623 3 648518346341351424 144115188075856063 0
0.000000 42 4 0 32 2 144115188075856245 0 1680 2 1224979098644774912 144115188075856245 32 2 1224979098644774912 0 2204 2 1224979098644774913 144115188075856245 2190 3 1224979098644774914 1224979098644774913 432345564227567630 2204 2 1224979098644774915 1224979098644774912 2190 3 1224979098644774916 1224979098644774915 432345564227567630 30 2 1224979098644774914 0
it goes on like this btw]
Log says this:
SCRIPT ERROR ON OPCODE 1829: Invalid Item Kind ID: 970; LINE NO: 15:
At Item itm_dragon_breath trigger no: 0. At Item itm_dragon_breath trigger no: 0. At Item itm_dragon_breath trigger no: 0. SCRIPT ERROR ON OPCODE 1829: Invalid Item Kind ID: 970; LINE NO: 15:
Prince: 11x (twice in 1 hour) Torturer: 39x
Ragnar: 4x Nord War Marshal: 9x
Thor: Not my Brother! Loke: 5x
Odin: 2x Nord Siege Cpt: 19x
Princess Dortea: 1x ALCHEMIST LEVEL 18!
Got KICKED to death by HANDE twice || looted 30+ Aketons
Posts: 1,787
Threads: 116
Joined: Jan 1970
Editing text files is a sure-fire way to mess up your module. We make all of our changes using the warband module system. If you learn how to use the module system itself then the answer will be readily apparent but editing text files (unless you know what you're doing) is silly.
Give a man a fish, and you have fed him for a day. Teach him how to fish, and he will continue fishing even if you give him a fish.
- Fingus
Posts: 130
Threads: 102
Joined: Jul 2013
(27-04-2014, 10:15 PM)Hypernoma link Wrote: Editing text files is a sure-fire way to mess up your module. We make all of our changes using the warband module system. If you learn how to use the module system itself then the answer will be readily apparent but editing text files (unless you know what you're doing) is silly.
I am using the Module system [editing with IDLE \ Python ofc] but I still have no idea how to add this nice effect.
The MS causes bugs like invisible heads though so i always need to edit some numbers in the txt
Prince: 11x (twice in 1 hour) Torturer: 39x
Ragnar: 4x Nord War Marshal: 9x
Thor: Not my Brother! Loke: 5x
Odin: 2x Nord Siege Cpt: 19x
Princess Dortea: 1x ALCHEMIST LEVEL 18!
Got KICKED to death by HANDE twice || looted 30+ Aketons
Posts: 439
Threads: 123
Joined: Mar 2013
(27-04-2014, 10:32 PM)gvn1999 link Wrote: [quote author=Hypernoma link=topic=25788.msg176156#msg176156 date=1398636912]
Editing text files is a sure-fire way to mess up your module. We make all of our changes using the warband module system. If you learn how to use the module system itself then the answer will be readily apparent but editing text files (unless you know what you're doing) is silly.
I am using the Module system [editing with IDLE \ Python ofc] but I still have no idea how to add this nice effect.
The MS causes bugs like invisible heads though so i always need to edit some numbers in the txt
[/quote]
try using the mb editor, i think theres an option in there for max ammo count, i think thats how it works. im not sure though.
StuStu-All I'll say buddy is Arbilest or however it's spelt, crafting price means nothing in NI, if you are a long time player you should know that yourself, I'm done arguing with someone who's naive as ****
Posts: 130
Threads: 102
Joined: Jul 2013
28-04-2014, 05:47 AM
(This post was last modified: 28-04-2014, 07:18 AM by gvn1999.)
mmh thanks but I tried this before, its just tells me that the item has 1 trigger
-51.000000 18 2071 1 72057594037927937 6 3 1224979098644774912 1 11 700 2 2 1 2124 1 100 2133 2 1224979098644774913 1 2133 2 1224979098644774914 1 2136 3 1224979098644774915 -10 10 738 2 2 -9000 739 2 2 20000 2105 2 1224979098644774914 1224979098644774915 739 2 2 1224979098644774914 738 2 2 9000 2136 3 1224979098644774916 -300 300 2105 2 1224979098644774913 1224979098644774916 738 2 2 1224979098644774913 1829 7 72057594037927937 2 2500 288230376151712714 0 288230376151712714 0 3 0 721 2 1 0
EDIT: the funny thing is i´ve done something similar before [adding flames to a specific 1h weapon] but this one gets me crazy lol || ANd why the heck does gungnir 150 leg armor?
ti_on_weapon_attack = -51.0 #can only be used in module_items triggers
# Trigger Param 1: attacker agent id
# Position Register 1: Weapon Item Position
Prince: 11x (twice in 1 hour) Torturer: 39x
Ragnar: 4x Nord War Marshal: 9x
Thor: Not my Brother! Loke: 5x
Odin: 2x Nord Siege Cpt: 19x
Princess Dortea: 1x ALCHEMIST LEVEL 18!
Got KICKED to death by HANDE twice || looted 30+ Aketons
Posts: 254
Threads: 66
Joined: Aug 2012
28-04-2014, 08:14 AM
(This post was last modified: 28-04-2014, 10:08 AM by k4mi.)
Before you try to reverse engineer our scripts have a look at this operation:
(add_missile, <agent_id>, <starting_position>, <starting_speed_fixed_point>, <weapon_item_id>, <weapon_item_modifier>, <missile_item_id>, <missile_item_modifier>),
Playing around some numbers for x and z positions makes the spread effect.
I even think this code is osp and can be found somewhere in the taleworlds forum.
Posts: 130
Threads: 102
Joined: Jul 2013
28-04-2014, 02:49 PM
(This post was last modified: 28-04-2014, 03:17 PM by gvn1999.)
(28-04-2014, 08:14 AM)k4mi link Wrote: Before you try to reverse engineer our scripts [...]
Started for some ours though

Thanks that saved me alot of time!
Found it on TW forum now:
http://forums.taleworlds.com/index.php?topic=229064.0
https://www.assembla.com/code/diplomacy/....py?rev=86 (seems I´m too stupid to get that I might have a look into the
OP file when having an
OP error :/ )
[Topic closed]
EDIT: now the -51.00000 [...] makes sense.. all hail the header_triggers.py file lol
Prince: 11x (twice in 1 hour) Torturer: 39x
Ragnar: 4x Nord War Marshal: 9x
Thor: Not my Brother! Loke: 5x
Odin: 2x Nord Siege Cpt: 19x
Princess Dortea: 1x ALCHEMIST LEVEL 18!
Got KICKED to death by HANDE twice || looted 30+ Aketons