Forum Vaultu šílené brahmíny

Ostrovček pozitívnej deviácie11!
Právě je čtv bře 28, 2024 10:39 pm




Odeslat nové téma Toto téma je zamknuté. Nemůžete posílat nové příspěvky ani odpovídat na starší.  [ Příspěvků: 7 ] 
Autor Zpráva
 Předmět příspěvku: Volitelná instalace - Party Orders add-on 1.0b
PříspěvekNapsal: čtv pro 03, 2009 9:33 pm 
Austin Powers
Austin Powers
Uživatelský avatar

Registrován: čtv kvě 07, 2009 3:50 pm
Příspěvky: 3497
Bydliště: VŠB
Šikovný skript, který hráči dovolí dávat společníkům příkazy pomocí přiřazených kláves.

Českou verzi pro Restoration Project 1.2 stahujte zde.

Tento mod by měl fungovat ve všech verzích Falloutu 2.

PŘÍKAZY:
Kdyby měl někdo nějaký jiný návrh, jak co přeložit, sem s ním!

Kód:
[N_LOOTER]
0=Vicu
1=Myrone
2=Cassidy
3=Suliku
4=Lenny
5=Davine
6=Mirio

; Dude and NPCs float messages.
; Format: (String)
[MESSAGE]
; NPC random responses
100=Jak si přeješ.
101=Hned to bude.
102=Dobře.
103=Rozumím.
104=Tak jo.
105=Tak dobře.

; put weapon away (11xx)
1100=Schovej svoji zbraň,
1101=Všichni teď schovejte svoje zbraně.

; Heal yourself (12xx)
1200=Zkus se vyléčit,
1201=Měli byste se teď všichni vyléčit.

; NEW v1.0b; Misc healing messages
1210=používá Super-Stimpak.
1211=používá Stimpak.
1212=si léčí
1213=hit bodů.
1214=se léčí s neúspěchem.
1215=se nemá čím vyléčit.

; Heal me - UNIMPLEMENTED - (13xx)
1300=
1301=

; Loot bodies - still WIP? - (14xx)
1400=Prohledej ostatky,

; Cancel looting
1410=Přestaň. To už stačí,

; Can't carry anymore - CUT IT -
1415=Nemám ty věci už kam dát.

; Looting done
1420=Hotovo.
1421=Tak, to by bylo.
1422=Už je to uděláno, už je to hotovo.
1423=Tak, to bylo všechno.
1424=Už tu toho víc není.

; NEW v1.0b; An overloaded party can't loot bodies
1499=Všichni tví společnící jsou přetíženi.

; Regroup party
1500=Pojď sem,
1501=Všichni ke mně!

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

Anglický originál:

[N_LOOTER]
0=Vic
1=Myron
2=Cassidy
3=Sulik
4=Lenny
5=Davin
6=Miria

; Dude and NPCs float messages.
; Format: (String)
[MESSAGE]
; NPC random responses
100=As you wish.
101=Right away.
102=Okey.
103=At your orders.
104=You got it.
105=At once.

; put weapon away (11xx)
1100=Put your weapon away,
1101=Holster all your weapons, people.

; Heal yourself (12xx)
1200=You should heal yourself,
1201=You should all heal yourselves now.

; NEW v1.0b; Misc healing messages
1210=uses a super stimpak.
1211=uses a stimpak.
1212=heals
1213=hit points.
1214=fails to do any healing.
1215=is out of healing supplies.

; Heal me - UNIMPLEMENTED - (13xx)
1300=
1301=

; Loot bodies - still WIP? - (14xx)
1400=Loot the remains,

; Cancel looting
1410=That's enough. Come back,

; Can't carry anymore - CUT IT -
1415=I don't have enough room for that stuff.

; Looting done
1420=Done.
1421=I've finished.
1422=Done and done.
1423=That was all.
1424=No more to loot.

; NEW v1.0b; An overloaded party can't loot bodies
1499=All party members are overloaded and can't loot.

; Regroup party
1500=Come here,
1501=Everyone regroup!



SCREENSHOTS EDIT: Screehoty jsou z verze 1.0a. Ve verzi 1.0b je již správné skloňování jmen a anglické věty v informačním okně jsou také v češtině.

Klávesa R - Pojď sem, Všichni ke mně!
ObrázekObrázekObrázek

Klávesa H - Schovej svoji zbraň / Všichni teď schovejte svoje zbraně
ObrázekObrázek

Klávesa G - Prohledej ostatky
ObrázekObrázek

Klávesa F - Zkus se vyléčit / Měli byste se teď všichni vyléčit.
Obrázek


Readme

Citace:
Party Orders add-on for [(sfall v2.0) Fallout 2 v1.02 US] by pelicano
Version 1.0b

Introduction
-------------

This is just a little script add-on that will allow the player to give common orders to party members on the 'fly', using keyboard hotkeys, in any given moment outside combat mode. This add-on can be configured through the "party_op.ini" file.


Compatibility
--------------

This add-on should be compatible with any fo2 modification


Installation
-------------

- sfall (v2.0 or newer) is required. This add-on uses sfall's script features and global scripts. Make sure Input is enabled and script Extender is set to 1 in "ddraw.ini". Both options are enabled by default.

- Extract the contents to fallout2's root directory. "party_op.ini" must be in the same directory as fallout2.exe and "GL_ptyop.int" in the DATA\scripts directory.


Instructions
-------------

As soon as Party Orders add-on is installed, the player can give orders to the party and any member will follow it if s/he's able. All order's hotkeys are configurable via "party_op.ini". The following orders are currently implemented:

- Heal yourself (F key): Any party member injured with more that 10 hit points of damage will attempt to heal herself. If heavily injured s/he'll use(*) a super stimpak. If s/he doesn't carry any or if s/he's under 75% total hitpoints s/he'll attempt to heal the wounds using her/his medic skills (first aid or doctor, whichever is higher). Finally, if s/he's still injured s/he will use(*) any stimpak s/he may have. In combat mode only (super) stimpaks will be used. Only a healing order per turn.

- Holster weapons (H key): Any armed party member will put her/his weapon away immediately.

- Regroup party (R key): Any party member away more than 2 hexes from the PC will regroup next to the PC

- Loot bodies (G key): The party member with the most carry capacity will go and try to loot the corpses near her/him and the PC. s/he will pick up any item near bodies (up to 3 hexes) as well (**). If the loot bodies hotkey (G) is pressed again while a party member is looting, this will cancel the loot order, calling back the party member.

(*): sfall global scripts doesn't seem to like the function use_obj_on_obj() and/or I've not been able to make it work properly so I've 'emulated' the use of super and regular stimpaks. That means that if a mod changes the behavior of those two items, this add-on will not note the difference and will still use the scripted (vanilla) version of the stimpaks. No big deal.

(**): This option can be turned on and off in the "party_op.ini" file (PLootNearbyItems=1).


Important Notes
----------------

- There is a little delay between orders that depends on the last order given. Vary from 1 to 5 seconds.

- When a party member is away looting bodies s/he's temporary removed from the party to avoid the regular distance bounds with the PC. So DO NOT initiate dialogue with that party member or change area while the party member is looting. If you have to do so then press again the looting hotkey (default G) to cancel the loot order, or wait until the looting is done. Also, if there's a body the npc can't reach you may have to cancel the loot order yourself. Always make sure if an npc is done with looting or not to avoid losing party members in the wasteland, or worse.

- Only non overloaded party members can follow the loot bodies order.

- Once a party member starts looting bodies, s/he will not stop until there are no more bodies in her/or dude's range, combat starts or the PC cancels the loot order.

- If PLootNearbyItems is set to 1 (pick up items next to corpses), the party member will not pick up stuff heavier than what s/he can carry. If s/he found a corpse with a heavy inventory, s/he will drop all the stuff to the ground and will pick up only what s/he can carry. If PLootNearbyItems is set to 0, then the party member will loot every body regardless of the inventory weight, but will not pick up items.

- In the "party_op.ini" file there are two lists with party member PIDs. The first list, [NPC], contains all the possible party members that will try to follow all the PC's orders (if they are currently in the party) with the exception of Loot Bodies. The second list, [LOOTER], contains the PIDs of the possible party members that will be checked when the loot order is given.

- The source code is provided to be revised, modified, whatever. It's a fairly simple script which can be modified easily to suit any mod or whim if needed. Hopefully the script's comments will be helpful.


How to Uninstall
-----------------

- Simply delete the files "party_op.ini" and "GL_ptyop.int" from the fallout2 directory and DATA\scripts directory, respectively.


Acknowledgements
-----------------

- Timeslip: for the creation of sfall. Without Timeslip's sfall, this add-on wouldn't be possible.
- Nirran: for his mods and, more importantly, the source coded provided with them (I actually don't use his mods ;P), which encouraged me to start scripting fallout 2 again after so many years.
- The fallout modding community in general: for the endless support to the fallout games through the years, despite the darkest fallout times...


That is all. To contact me for whatever reason send me (pelicano) a PM at No Mutants Allowed Forums. Enjoy.


- pelicano -



Version History
----------------
v1.0b
- Minor change: now all the speech text is out in the ini file to allow a complete translation of the add-on for localized versions, including names of party members.


v1.0a

- Made it possible to use the healing command while in combat, once per turn. Only (super) stimpaks will be used in combat mode, not healing skills.

v1.0

- Initial version.

_________________
FALLOUT NEVADA --> FALLOUT --> FALLOUT RESURRECTION --> FALLOUT II
PRÁVĚ HRAJEME FALLOUT NEVADA. PŘIDEJ SE!!! *** FALLOUT II RESTORATION PROJECT V ČEŠTINĚ
Fakt hustej obrázek!


Nahoru
 Profil  
 
 Předmět příspěvku: Re: Volitelná instalace - Party Orders add-on 1.0b
PříspěvekNapsal: ned pro 06, 2009 1:43 pm 
Austin Powers
Austin Powers
Uživatelský avatar

Registrován: čtv kvě 07, 2009 3:50 pm
Příspěvky: 3497
Bydliště: VŠB
Českou verzi pro Restoration Project 1.2 stahujte zde. Oproti screenshotům je v této verzi správné skloňování jmen a anglické věty v informačním okně jsou také v češtině.

Tento mod by měl fungovat ve všech verzích Falloutu 2.

_________________
FALLOUT NEVADA --> FALLOUT --> FALLOUT RESURRECTION --> FALLOUT II
PRÁVĚ HRAJEME FALLOUT NEVADA. PŘIDEJ SE!!! *** FALLOUT II RESTORATION PROJECT V ČEŠTINĚ
Fakt hustej obrázek!


Nahoru
 Profil  
 
 Předmět příspěvku: Re: Volitelná instalace - Party Orders add-on 1.0b
PříspěvekNapsal: ned pro 06, 2009 1:52 pm 
Austin Powers
Austin Powers
Uživatelský avatar

Registrován: čtv kvě 07, 2009 3:50 pm
Příspěvky: 3497
Bydliště: VŠB
Tohle asi nepůjde vymyslet nějak jinak:

1212=si léčí
1213=hit bodů.

Sulik si léčí 1 hit bodů.
Sulik si léčí 2 hit bodů.
Sulik si léčí 3 hit bodů.
Sulik si léčí 4 hit bodů.
Sulik si léčí 5 hit bodů.

_________________
FALLOUT NEVADA --> FALLOUT --> FALLOUT RESURRECTION --> FALLOUT II
PRÁVĚ HRAJEME FALLOUT NEVADA. PŘIDEJ SE!!! *** FALLOUT II RESTORATION PROJECT V ČEŠTINĚ
Fakt hustej obrázek!


Nahoru
 Profil  
 
 Předmět příspěvku: Re: Volitelná instalace - Party Orders add-on 1.0b
PříspěvekNapsal: ned pro 06, 2009 1:56 pm 
Škandál Európy
Uživatelský avatar

Registrován: ned kvě 17, 2009 2:16 pm
Příspěvky: 6448
JaW píše:
Tohle asi nepůjde vymyslet nějak jinak:

1212=si léčí
1213=hit bodů.

Sulik si léčí 1 hit bodů.
Sulik si léčí 2 hit bodů.
Sulik si léčí 3 hit bodů.
Sulik si léčí 4 hit bodů.
Sulik si léčí 5 hit bodů.

To je nahovno keď je premenná v strede vety, može si človek mozog uvariť a na nič nepríde ::evil


Nahoru
 Profil  
 
 Předmět příspěvku: Re: Volitelná instalace - Party Orders add-on 1.0b
PříspěvekNapsal: ned pro 06, 2009 2:07 pm 
Austin Powers
Austin Powers
Uživatelský avatar

Registrován: čtv kvě 07, 2009 3:50 pm
Příspěvky: 3497
Bydliště: VŠB
Dominus et Deus s0f píše:
JaW píše:
Tohle asi nepůjde vymyslet nějak jinak:

1212=si léčí
1213=hit bodů.

Sulik si léčí 1 hit bodů.
Sulik si léčí 2 hit bodů.
Sulik si léčí 3 hit bodů.
Sulik si léčí 4 hit bodů.
Sulik si léčí 5 hit bodů.

To je nahovno keď je premenná v strede vety, može si človek mozog uvariť a na nič nepríde ::evil


hehe, v podstatě se to dá trošku změnit

1212=
1213=si léčí hit bodů.

Sulik 1 si léčí hit bodů.

nebo

1212=si léčí hit bodů.
1213=

Sulik si léčí hit bodů 1.

ale stejně to asi nijak nepude :ne:

_________________
FALLOUT NEVADA --> FALLOUT --> FALLOUT RESURRECTION --> FALLOUT II
PRÁVĚ HRAJEME FALLOUT NEVADA. PŘIDEJ SE!!! *** FALLOUT II RESTORATION PROJECT V ČEŠTINĚ
Fakt hustej obrázek!


Nahoru
 Profil  
 
 Předmět příspěvku: Re: Volitelná instalace - Party Orders add-on 1.0b
PříspěvekNapsal: ned pro 06, 2009 2:16 pm 
Škandál Európy
Uživatelský avatar

Registrován: ned kvě 17, 2009 2:16 pm
Příspěvky: 6448
Tam už by bol slovosled fail :-?

Ledažeby si tam votrel ":" do druhého prípadu a zároveň zrušil bodku, alebo ju dal do druhej klauzuly, inak by sa zobrazila ešte pred premennou.

Výsledné -

Sulik si léčí hit bodů: 1

nevyzerá až tak zle. Osobne mi to príde ::ano

Predsa len je to v prvom rade informačné okno, nie dialógové.


Nahoru
 Profil  
 
 Předmět příspěvku: Re: Volitelná instalace - Party Orders add-on 1.0b
PříspěvekNapsal: ned pro 06, 2009 2:24 pm 
Austin Powers
Austin Powers
Uživatelský avatar

Registrován: čtv kvě 07, 2009 3:50 pm
Příspěvky: 3497
Bydliště: VŠB
Dominus et Deus s0f píše:
Tam už by bol slovosled fail :-?

Ledažeby si tam votrel ":" do druhého prípadu a zároveň zrušil bodku, alebo ju dal do druhej klauzuly, inak by sa zobrazila ešte pred premennou.

Výsledné -

Sulik si léčí hit bodů: 1

nevyzerá až tak zle. Osobne mi to príde ::ano

Predsa len je to v prvom rade informačné okno, nie dialógové.
hmm, to nezní až tak zle. ::bez_chlupu
Budu nad tím uvažovat a podívám se jak to vypadá ve hře.

Když se eště tak zamyslím, kolikrát se stane, že si společník vyléčí jen 1-4 hit body? Myslím si, že to nebude moc často, možná vůbec. Chtělo by to otestovat.

V angličtině tam taky nemá hit point ale hit points

_________________
FALLOUT NEVADA --> FALLOUT --> FALLOUT RESURRECTION --> FALLOUT II
PRÁVĚ HRAJEME FALLOUT NEVADA. PŘIDEJ SE!!! *** FALLOUT II RESTORATION PROJECT V ČEŠTINĚ
Fakt hustej obrázek!


Nahoru
 Profil  
 
Zobrazit příspěvky za předchozí:  Seřadit podle  
Odeslat nové téma Toto téma je zamknuté. Nemůžete posílat nové příspěvky ani odpovídat na starší.  [ Příspěvků: 7 ] 


Kdo je online

Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 12 návštevníků


Nemůžete zakládat nová témata v tomto fóru
Nemůžete odpovídat v tomto fóru
Nemůžete upravovat své příspěvky v tomto fóru
Nemůžete mazat své příspěvky v tomto fóru
Nemůžete přikládat soubory v tomto fóru

Přejít na:  
Copyright © 2009 Forum Vaultu šílené brahmíny