Search found 14 matches
- Fri Mar 13, 2009 12:38 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
Does someone working example scripts on this theme at least for POL95? Just want to understand the system of writing these scripts.
- Fri Mar 13, 2009 12:35 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
CWO, Yesterday compile scripts such as error-free. But was the writing that can not read levelSystem.inc and when you add features Elem EXP 500 (CASE) in npcdesc.cfg, with the murder of a monster do not write that I got experience. Perhaps due to the fact that not work levelSystem.inc?
- Thu Mar 12, 2009 1:27 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
Wonder why it gives an error on line when compiling:
if (elem)
if (expgain)
var pcexp: = GetObjProperty (who, "expe");
if (elem)
if (expgain)
var pcexp: = GetObjProperty (who, "expe");
- Wed Mar 11, 2009 8:46 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
Variable "who" is not declared?
That's where I said its going to be a little harder. You have to find out through your scriptbase if there is a prop set for who last hit the NPC. If not, you have to go into all of your damaging scripts like hitscripts and spell scripts and add that. You'll likely ...
That's where I said its going to be a little harder. You have to find out through your scriptbase if there is a prop set for who last hit the NPC. If not, you have to go into all of your damaging scripts like hitscripts and spell scripts and add that. You'll likely ...
- Wed Mar 11, 2009 5:19 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
Hmmm, with the compilation gives an error in the lines:
if (elem)
if (expgain)
var pcexp := GetObjProperty(who, "expe");
program core_npcDeath(params)
var corpse := params[1];
TS_Death(corpse); // Will still get the PID from the corpse.
var npccfg := ReadConfigFile(":brainAI:npcdesc");
var ...
if (elem)
if (expgain)
var pcexp := GetObjProperty(who, "expe");
program core_npcDeath(params)
var corpse := params[1];
TS_Death(corpse); // Will still get the PID from the corpse.
var npccfg := ReadConfigFile(":brainAI:npcdesc");
var ...
- Sun Mar 08, 2009 2:29 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
By the way Sadahar, not whether you have a full tutorial on eScript?
The one that the site is not complete. Or I am wrong?
The one that the site is not complete. Or I am wrong?
- Sun Mar 08, 2009 2:20 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
Sadahar, many thanks to you!
Know that I would do without you =)
Know that I would do without you =)
- Sun Mar 08, 2009 1:10 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
Great THX!!!
- Sat Mar 07, 2009 9:33 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
Hence in npcdesc.cfg you can set it?
Name a grizzly bear
Script :ai_brain:brain
ObjType 0xD4
Color 0
TrueColor 0
Gender 0
STR 100
INT 40
DEX 105
HITS 100
MANA 0
STAM 105
AR 5
RunSpeed 55
WAR_Wrestling 65
Tactics 100
AttackAttribute WAR_Wrestling
AttackSpeed 30
AttackDamage ...
Name a grizzly bear
Script :ai_brain:brain
ObjType 0xD4
Color 0
TrueColor 0
Gender 0
STR 100
INT 40
DEX 105
HITS 100
MANA 0
STAM 105
AR 5
RunSpeed 55
WAR_Wrestling 65
Tactics 100
AttackAttribute WAR_Wrestling
AttackSpeed 30
AttackDamage ...
- Sat Mar 07, 2009 5:58 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
I want to do so in npcdesc.cfg
Sample:
Name IntrinsicWarior
Script :brainAI:brain
ObjType 0x289
Color 0
TrueColor 0
Gender 0
AR 25
RunSpeed 200
Alignment neutral
Category Examples
// Attributes
Strength 100
Intelligence 1
Dexterity 10
Wrestling 100
// Vitals
HITS 100
MANA 1 ...
Sample:
Name IntrinsicWarior
Script :brainAI:brain
ObjType 0x289
Color 0
TrueColor 0
Gender 0
AR 25
RunSpeed 200
Alignment neutral
Category Examples
// Attributes
Strength 100
Intelligence 1
Dexterity 10
Wrestling 100
// Vitals
HITS 100
MANA 1 ...
- Sat Mar 07, 2009 2:39 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Re: Level System
Thank you for the information. Still, I would like to see how it looks like the whole script. 
- Sat Mar 07, 2009 12:31 am
- Forum: Scripting Help
- Topic: Level System
- Replies: 24
- Views: 21853
Level System
Good time of day. How to write a system of levels for the character, with the experience for killing monsters? If there is a claw or the sample script to show you.
Unfortunately I can not very consistent
Emulator POL97
Unfortunately I can not very consistent
Emulator POL97
- Fri Feb 27, 2009 6:01 am
- Forum: Scripting Help
- Topic: Mining and Ores
- Replies: 2
- Views: 2733
Re: Mining and Ores
Thank you. Emulator POL97. But there is one thing, you need to make sure that the definition of metal is extracted from a cliff.
I do think this is quite a difficult task.
I do think this is quite a difficult task.
- Fri Feb 27, 2009 2:25 am
- Forum: Scripting Help
- Topic: Mining and Ores
- Replies: 2
- Views: 2733
Mining and Ores
Hello. I would like to know how to fix mining, it would not mined ore from the mine, and allow a certain subject that I want, let it be the rock, which I will place themselves on the map. How is it possible to implement?
P.S. Sorry for bad English
P.S. Sorry for bad English