People plz - Create script Which will watch level change and add new points spell(instead of 1"Origin" - 2"New") and attribute(instead of 3"Origin" - 5"New") for Level ap
And it is good if it could be adjusted Personal options
Script in ap level
Débuté par
Vetiver
, août 11 2011 11:04
#1
Posté 11 août 2011 - 11:04
#2
Posté 11 août 2011 - 11:52
Can you type that out much clearer. Overriding the level-up event is possible afaik.
#3
Posté 11 août 2011 - 08:11
I want a script which gives 2 points for level and 5 attributes for level (IN DAO)
You script master? pliz help me! I already search 4 months for the person which can to make such script
You script master? pliz help me! I already search 4 months for the person which can to make such script
Modifié par Vetiver, 11 août 2011 - 08:18 .
#4
Posté 11 août 2011 - 08:54
I am not in any way experienced in extending the main game. There's no proper scripting reference and two named constants for the level-up events. RW_GrantHeroBonusAbilityPoint with the event object seems to be the way, but there are many functions I'm not sure where works.
I am still looking for the main script to handle this event, perhaps if I find it you can go in there and just change the numbers.
EDIT: The EVENT_TYPE_PLAYERLEVELUP is handled by the sys_chargen and despite its name, is controlling wther you click that little + in the portrait.
eThe EVENT_TYPE_PLAYER_LEVELUP is the one you would override then, but I can't find the main script for that one and thus am not sure how it's done.
EDIT2: RW_GrantHeroBonusAbilityPoint() seems to be the one. I found it in sys_rewards.h. If you could capture the EVENT_TYPE_PLAYER_LEVELUP and use that method like this. I really hope you can use it in a module_core.
RW_GrantHeroBonusAbilityPoint(1, 1, GetEventObejct(ev, 0);
RW_GrantHeroBonusAbilityPoint(4, 2, GetEventObject(ev, 0);
I am still looking for the main script to handle this event, perhaps if I find it you can go in there and just change the numbers.
EDIT: The EVENT_TYPE_PLAYERLEVELUP is handled by the sys_chargen and despite its name, is controlling wther you click that little + in the portrait.
eThe EVENT_TYPE_PLAYER_LEVELUP is the one you would override then, but I can't find the main script for that one and thus am not sure how it's done.
EDIT2: RW_GrantHeroBonusAbilityPoint() seems to be the one. I found it in sys_rewards.h. If you could capture the EVENT_TYPE_PLAYER_LEVELUP and use that method like this. I really hope you can use it in a module_core.
RW_GrantHeroBonusAbilityPoint(1, 1, GetEventObejct(ev, 0);
RW_GrantHeroBonusAbilityPoint(4, 2, GetEventObject(ev, 0);
Modifié par Gisle Aune, 11 août 2011 - 09:36 .
#5
Posté 11 août 2011 - 09:23
Try to make simply a script which watches level ap of the player and already then adds necessary points
Nevertheless thanks for the additional information
Nevertheless thanks for the additional information
Modifié par Vetiver, 11 août 2011 - 09:35 .
#6
Posté 11 août 2011 - 09:48
I would suggest someone who knew the game code better than me for this. Also, testing it is a tedious effort.
I thought people were complaining about the game being too easy as it is...
It's been 4 months you say, have you never thought of learning it yourself?
I thought people were complaining about the game being too easy as it is...
It's been 4 months you say, have you never thought of learning it yourself?
Modifié par Gisle Aune, 11 août 2011 - 09:55 .
#7
Posté 11 août 2011 - 09:59
The problem not in ease - Is mods adding new classes and abelites requiring more points
The subject is still actual as there is no script
Yes.. But scripts difficult enough employment, I tried - There is no result
The subject is still actual as there is no script
Yes.. But scripts difficult enough employment, I tried - There is no result
Modifié par Vetiver, 11 août 2011 - 10:16 .
#8
Posté 12 août 2011 - 04:14
And than you job to work with "ncs" files?
#9
Posté 12 août 2011 - 05:14
you can't work with .ncs files, (They are already compiled you need the core .nss files to change the chargen process)
#10
Posté 12 août 2011 - 05:28
what you need to do is to have a good look at sys_chargen.nss and the files it includes, when you have found the values you want to edit you must compile it and include the compiled verison in your addin.
#11
Posté 14 août 2011 - 12:13
Who create separate script check ap level and add point ability without file game edit(New script)
Modifié par Vetiver, 14 août 2011 - 12:14 .
#12
Posté 20 août 2011 - 04:37
How have activate modified
scripts "sys_autoscale_h.nss" I put script to packages/core/override
And on advice "CID-78" put "creature_core.ncs" for new module name is "More_P - Probably incorrectly edit as i badly know toolset"
Change to script do not work
scripts "sys_autoscale_h.nss" I put script to packages/core/override
And on advice "CID-78" put "creature_core.ncs" for new module name is "More_P - Probably incorrectly edit as i badly know toolset"
Change to script do not work
Modifié par Vetiver, 20 août 2011 - 04:54 .





Retour en haut






