Arokh's Lair forums - Covering Drakan and Blade of Darkness
Arokh's Lair forums - Covering Drakan and Blade of Darkness
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Severance / Blade of Darkness
 Severance BoD: Modding Community
 Another scripts and theory question about BOD
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Topic
Page: of 4

Trinitron
Dragon

Russia
287 Posts

Posted - 27 Jan 2010 :  17:16:14  Show Profile  Visit Trinitron's Homepage  Reply with Quote
Hi guys.

First of all - sorry for my english.
I start themes in which it'll be possible to discuss questions concerning scripts for mods and about the theory. As I don't wish to fill superfluous floods theme with scripts by Prospero and others.

In any case I'll ask here questions as e-mail Prospero answers seldom, because of congestion + here have appeared Sir Random, oldschool fan-scripter BOD, + maybe other guys will help.
(Prospero, maybe 'sticky' this topic?)

----------------------------------------------------------------------


I've a question tormenting me. I wish to try to change completely the external interface of the character during game. Hence should use widgets. It's possible? But, maybe, I know - it's possible. Explanatories more low.

To clean icons protection and attacks.
To clean life and experience indicators.
To clean an energy strip when we wave the weapon.

To clean all these things and to make all anew....
That icons would not be shown, and the text was shown only.
For example, I would like to make the horizontal or vertical table. As in WoW, NWN, Dragon Age. All it probably to make?
If all it is possible, I ask you give to me any information that you think of it. At least specify a way where it's necessary to me to study it. I don't want that you would give to me codescripts and etc scripts, but I wish to ask councils only.

To me the question concerning widgets is very important. What to create the widgets-pic on screen the character as it has been made with rolls of spells in WizardDomain. Prospero to me has given code for creations widgets, but I couldn't make. The problem that Prospero doesn't remember exactly as all to do and doesn't know complete theory rather widgets in Blade.




Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.

Tomash
Dragon

Russia
138 Posts

Posted - 27 Jan 2010 :  17:49:12  Show Profile  Visit Tomash's Homepage  Reply with Quote
Check this

http://effbot.org/zone/wck-1.htm

my mods: http://www.reido-grunge.narod.ru/boding.html ||| my music: http://www.reido-grunge.narod.ru
Go to Top of Page

Sir Random
Elder Dragon

Ireland
434 Posts

Posted - 27 Jan 2010 :  18:57:53  Show Profile  Visit Sir Random's Homepage  Reply with Quote
If you want to move the Life, experience, etc, to different places on the screen, or change any text, then you need to look at Scorer.py (in \Lib) and ScorerWidgets (in \Lib\Widgets)

If you want to design a new look, then you could edit these image files (in \Data):

marcadorataque.mmp
marcadordefensa.mmp
marcadorlanzamagotam.mmp
marcadorvidared.mmp
marcadorvidayxp.mmp
marcoinventario.mmp
pressf1.mmp

I'll be around for a while, so I'll try to help with anything I can. Playing around with BoD scripts is great therapy

"The only solution is to solve the whole mystery, and return home as soon as possible."
Go to Top of Page

Trinitron
Dragon

Russia
287 Posts

Posted - 27 Jan 2010 :  19:09:53  Show Profile  Visit Trinitron's Homepage  Reply with Quote
Thanks Tomash and SR.
I'll try......... Yes BOD scripting and mapping - it's immortal unique experience.

Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.
Go to Top of Page

Trinitron
Dragon

Russia
287 Posts

Posted - 06 Feb 2010 :  16:08:40  Show Profile  Visit Trinitron's Homepage  Reply with Quote
Hi people.

I complete mod, there I created doors from lattices (objects: "Rastrillo3", "Rastrillo32") that through them it would be impossible to pass. But when I run on map, I can pass through all these lattices. In what there can be problem?

e.g scriptcode:


o=Bladex.CreateEntity("Rastrillo102_156","Rastrillo102",-1592.61802763,-51840.5888003,68498.5631171, Reference.ObjType("Rastrillo102"))
o.Scale=0.6
o.Orientation=(0.500000059605,0.499999910593,0.500000059605,-0.499999970198)





Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.
Go to Top of Page

prospero
Moderator

United Kingdom
3154 Posts

Posted - 07 Feb 2010 :  18:56:12  Show Profile  Reply with Quote
Try This (in DefFuncs.py)



import SolidMask
Bladex.SetSolidMask('Rastrillo32',SolidMask.EX_FLOOR)


You can also make dummy barriers using flat objects such as Plataforma and make them invisible with:

o.Alpha=0.0
o.CastShadows = 0






My BOD site: http://www.petrbnsfineart.com/bladestuff/bladestuff.html
Go to Top of Page

Trinitron
Dragon

Russia
287 Posts

Posted - 08 Feb 2010 :  09:42:47  Show Profile  Visit Trinitron's Homepage  Reply with Quote
Thanks alot Prospero, it really works.

Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.
Go to Top of Page

Trinitron
Dragon

Russia
287 Posts

Posted - 06 Mar 2010 :  19:42:15  Show Profile  Visit Trinitron's Homepage  Reply with Quote
Guys.

If you've any questions under the theory BOD or on any separate scripts, I suggest them to set here.... Otherwise it'll turn out that this theme here's attached in vain.

Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.
Go to Top of Page

Tomash
Dragon

Russia
138 Posts

Posted - 07 Mar 2010 :  11:27:01  Show Profile  Visit Tomash's Homepage  Reply with Quote
I have a question about the breaking of the shields.
Some characters - vamp, zombie and chaos knight - can crush the every breakable shield with only one strike. Even they inflict minor damage then the shield breaks anyway.
I searched for the param that provides this ability but didn't found.
Can someone tell something about it?

my mods: http://www.reido-grunge.narod.ru/boding.html ||| my music: http://www.reido-grunge.narod.ru
Go to Top of Page

Sir Random
Elder Dragon

Ireland
434 Posts

Posted - 07 Mar 2010 :  21:29:03  Show Profile  Visit Sir Random's Homepage  Reply with Quote
The param is called "InDestructorAttack"

In Damage.py there's a clause "if Shielded:" which has this code:

       elif attacker and attacker.InDestructorAttack==1 and damage_withstood > shield_breakable:
        if shield.Data.brkobjdata:
         BreakMyShield(me.Name)

This clause checks the value of attacker.InDestructorAttack, and then compares the attack_damage to the value of shield_breakable. The strongest shields in the game have a "shield_breakable" value of 10, so any strike with more than 10 damage will break any shield (from a char with InDestructorAttack==1)

"The only solution is to solve the whole mystery, and return home as soon as possible."

Edited by - Sir Random on 07 Mar 2010 21:56:45
Go to Top of Page

Tomash
Dragon

Russia
138 Posts

Posted - 10 Mar 2010 :  09:18:07  Show Profile  Visit Tomash's Homepage  Reply with Quote
Thanx

my mods: http://www.reido-grunge.narod.ru/boding.html ||| my music: http://www.reido-grunge.narod.ru
Go to Top of Page

Trinitron
Dragon

Russia
287 Posts

Posted - 30 Mar 2010 :  13:34:47  Show Profile  Visit Trinitron's Homepage  Reply with Quote
Hi prospero.

You said that we can ask you, OK. I've question to you. We do Necromancer mod more year and we've model of the main character - Necromancer. This model has made Tptpt. But, when the character is run/jumped/fights - feet come off. Skin Necromancer is good, but model is bad. The same is necessary to us skin on other model or new skin Necromancer on other model. You can draw?

Necromancer model name - "SkeCrown_B". Lichs, model name - "SkeCrown_N", "SkeCrown_L", "SkeCrown_S". mmp files - "SkeCrown_N.mmp", "SkeCrown_L.mmp", "SkeCrown_S.mmp", "SkeCrown_B.mmp".

Need draw new skin or re-draw old skin in new model - "SkeCrown_B.mmp"
New very good model in new skin for Necromancer - "Militia_A.BOD" (in archive)

Link archive: http://trinitron.gamekuba.ru/bodfiles/3dChars.rar




Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.
Go to Top of Page

prospero
Moderator

United Kingdom
3154 Posts

Posted - 30 Mar 2010 :  16:57:24  Show Profile  Reply with Quote
Hi Trinitron.

Sounds like there is a problem with the nodes. I could probably fix it, but I would need the original .max file, not the .BOD.

Do you know where TP got the model from? If it was a Neverwinter one, I could probably build a new one the same. Got a screenshot?


My BOD site: http://www.petrbnsfineart.com/bladestuff/bladestuff.html
Go to Top of Page

Trinitron
Dragon

Russia
287 Posts

Posted - 30 Mar 2010 :  21:20:31  Show Profile  Visit Trinitron's Homepage  Reply with Quote
Hi Prospero.

I think this character from neverwinter nights... But I'm not assured. The model's made badly. Therefore I thought, what you could pull correctly that skins, what's at mine necromancer on other character Neverwinter Nights? I don't know what to do.




But tptpt found lich/necromancer model here:





There are any ideas?

Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.
Go to Top of Page

prospero
Moderator

United Kingdom
3154 Posts

Posted - 31 Mar 2010 :  01:49:57  Show Profile  Reply with Quote
Hi Trinitron.

Those are NWN models. In fact I think the lower one is in the Wizard map. (Or one very much like it). The top one looks as if it is assembled from different parts, which is easy enough to do if you can find the correct ones. There are 1000s of arms and legs and such and some take some finding. If you give me some time I will try to make up one like it. It may not be an exact copy, but I can get close.

My BOD site: http://www.petrbnsfineart.com/bladestuff/bladestuff.html
Go to Top of Page

Trinitron
Dragon

Russia
287 Posts

Posted - 31 Mar 2010 :  09:59:41  Show Profile  Visit Trinitron's Homepage  Reply with Quote
Hi Prospero.

I'll be very glad, if you can make something with it. Time meanwhile doesn't draw in.

Thanks in advance.

Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.
Go to Top of Page

Trinitron
Dragon

Russia
287 Posts

Posted - 02 Apr 2010 :  13:48:47  Show Profile  Visit Trinitron's Homepage  Reply with Quote
I have strange question. Why function GoTo badly works for me?

I explain. I go along the corridor and i meet a guard on my way. That's I attack trigger-sector and dialogue with the security guard's automatically started. I finish with him dialogue. After concealment of dialogue window my character starts to go chaotically on foot every which way and the screen moves every which way.

With what such problem can be connected? It's very strange, as the friend of such problem has no.

If you understand me......

Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.
Go to Top of Page

prospero
Moderator

United Kingdom
3154 Posts

Posted - 02 Apr 2010 :  15:39:45  Show Profile  Reply with Quote
The pathfinding feature in BOD is not all that reliable.
Sometimes it works perfectly and sometimes chars will go miles out of their way to get to a point a few meters away. The map structure itself can have an effect. Try altering the start and finish positions slightly.

My BOD site: http://www.petrbnsfineart.com/bladestuff/bladestuff.html
Go to Top of Page

Trinitron
Dragon

Russia
287 Posts

Posted - 02 Apr 2010 :  18:54:48  Show Profile  Visit Trinitron's Homepage  Reply with Quote
Hi Prospero.

Thanks. You won't believe, was to change slightly place position GoTo enough - all began to work well.

How I can add aura for the book or for any other object?

Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.

Edited by - Trinitron on 02 Apr 2010 19:02:44
Go to Top of Page

Sir Random
Elder Dragon

Ireland
434 Posts

Posted - 02 Apr 2010 :  19:53:44  Show Profile  Visit Sir Random's Homepage  Reply with Quote
You can add a basic aura (no Particle FX) to any object in the game with this code:

import Auras
Auras.MakeAura("EntityName",-1,(80,1,1,0,0,0), (),(),(2, 0.8,0.6,0,0.2, 0, 0.6,0.5,0.1,0, 0.8))

That example makes a gold aura.

The params are:
(EntityName,time2live, (Size, Alpha, ColorIntensity, HideFrontFaces, HideBackFaces, AdditiveMode), (AuraGradient0), (AuraGradient1), (Margin, r, g, b, a, InitMarginDistance, r, g, b, a, EndMarginDistance)

You can add more gradients and timed events to the Aura, like shimmering or changing colour fx.

"The only solution is to solve the whole mystery, and return home as soon as possible."

Edited by - Sir Random on 02 Apr 2010 19:59:38
Go to Top of Page

Trinitron
Dragon

Russia
287 Posts

Posted - 02 Apr 2010 :  20:49:20  Show Profile  Visit Trinitron's Homepage  Reply with Quote
Hi and thanks Sir Random, it really work be fantastic.

Elle ouvre sa danse hypnotique, et absorbe mon regard decolore.
Go to Top of Page
Page: of 4 Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Arokh's Lair forums - Covering Drakan and Blade of Darkness © 2000 - 2009 Arokh's Lair Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07