Registrarse

[RH - Scripting] Crear un objeto oculto para el buscaobjetos

Estado
Cerrado para nuevas respuestas.

Kora

Viviendo algún videojuego
Saludos gente!
He estado investigando y me preguntaba si es posible crear un objeto oculto que sea capaz de detectarlo el buscaobjetos.

Es posible? Habría que crear el objeto oculto de un modo especial?

Muchas gracias de antemano!
 

FelixTheCat

Profesional de WaH
Me fije en Fire Red y los objetos ocultos; tienen como "Signpost type" o "Tipo de poste" el 07, que vendría a ser básicamente un tipo de objeto oculto, el cual se busca con el Buscaobjetos, según mis teorías.

Pruébalo, si no te funciona, intentare investigar algo mas ;)



Arrivederci~
 

Kora

Viviendo algún videojuego
Vale, ya he conseguido crear un objeto oculto que sea capaz de detectarse por el buscobjetos. Efectivamente hay que crear un evento tipo poste y tipo oculto. Luego se pone que objeto dará y por ultimo una ID, que será la flag donde se almacenará el objeto oculto.

El buscaobjetos los detectará sin problemas. El único problema que le veo es que existe una lista con las demás ID de objetos ocultos en el juego. Hay varias flags vacias que podrian usarse para crear nuevos objetos ocultos, pero no se si podrá usarse los demás o incluso si es posible aumentar la lista. Aquí os la dejo:

Código:
List Of Hidden Item Flags Used In Fire Red

Item ID | Item | Location | Map # (For Use with A-Map)
-------------------------------------------------------------------------------

00 - Potion - Viridian Forest - (1.0)
01 - Antidote - Viridian Forest - (1.0)
02 - Moon Stone - Mt. Moon Floor 3 - (1.3)
03 - Ether - Mt. Moon Floor 3 - (1.3)
04 - Elixir - Route 25 OW - (3.44)
05 - Ether - Route 25 OW - (3.44)
06 - Ether - Route 9 - (3.27)
07 - N/A - N/A - N/A
08 - Hyper Potion - S.S Anne Inside - (1.8)
09 - Super Potion - Route 10 OW - (3.28)
0A - Max Ether - Route 10 OW - (3.28)
0B - PP Up - Rocket's Hideout Basement Floor 1 - (1.42)
0C - Nugget - Rocket's Hideout Basement Floor 3 - (1.44)
0D - Nest Ball - Rocket's Hideout Basement Floor 4 - (1.45)
0E - Big Mushroom - Pokémon Tower Floor 5 - (1.92)
0F - PP Up - Route 13 - (3.31)
10 - N/A - N/A - N/A
11 - Rare Candy - Route 17 - (3.35)
12 - Full Restore - Route 17 - (3.35)
13 - PP Up - Route 17 - (3.35)
14 - Max Revive - Route 17 - (3.35)
15 - Max Elixir - Route 17 - (3.35)
16 - Leaf Stone - Safari Zone Area 1 - (1.63)
17 - Revive - Safari Zone Area 4 - (1.66)
18 - Elixir - Silph Co. Floor 5 - (1.51)
19 - Max Potion - Silph Co. Floor 9 - (1.55)
1A - Nugget - Copycat's Room (14.1)
1B - Max Elixir - Power Plant - (1.95)
1C - Thunder Stone - Power Plant - (1.95)
1D - Nugget - Seafoam Islands Floor 4 - (1.86)
1E - Water Stone - Seafoam Islands Floor 5 - (1.87)
1F - Moon Stone - Pokémon Mansion Floor 1 - (1.59)
20 - Rare Candy - Pokémon Mansion Floor 3 - (1.61)
21 - Elixir - Pokémon Mansion Floor 4 - (1.62)
22 - Full Restore - Route 23 - (3.42)
23 - Ultra Ball - Route 23 - (3.42)
24 - Max Ether - Route 23 - (3.42)
25 - Ultra Ball - Victory Road Floor 1 - (1.39)
26 - Full Restore - Victory Road Floor 1 - (1.39)
27 - Ultra Ball - Cerulean Cave Floor 1 - (1.72)
28 - N/A - N/A - N/A
29 - Escape Rope - Route 11 OW - (3.29)
2A - Hyper Potion - Route 12 OW - (3.30)
2B - N/A - N/A - N/A
2C - N/A - N/A - N/A
2D - N/A - N/A - N/A
2E - N/A - N/A - N/A
2F - PP Up - Celadon City OW (3.6)
30 - Max Ether - Vermilion City OW (3.5)
31 - Rare Candy - Cerulean City OW (3.3)
32 - Great Ball - Route 4 OW - (3.22)
33 - Item 0000 (Coins) - Celadon Game Corner (10.14)
34 - Item 0000 (Coins) - Celadon Game Corner (10.14)
35 - Item 0000 (Coins) - Celadon Game Corner (10.14)
36 - Item 0000 (Coins) - Celadon Game Corner (10.14)
37 - Item 0000 (Coins) - Celadon Game Corner (10.14)
38 - Item 0000 (Coins) - Celadon Game Corner (10.14)
39 - Item 0000 (Coins) - Celadon Game Corner (10.14)
3A - Item 0000 (Coins) - Celadon Game Corner (10.14)
3B - Item 0000 (Coins) - Celadon Game Corner (10.14)
3C - Item 0000 (Coins) - Celadon Game Corner (10.14)
3D - Item 0000 (Coins) - Celadon Game Corner (10.14)
3E - Item 0000 (Coins) - Celadon Game Corner (10.14)
3F - Cheri Berry - Sevault Canyon OW - (3.64)
40 - Heart Scale - Tanoby Ruins - (3.65)
41 - Heart Scale - Tanoby Ruins - (3.65)
42 - Heart Scale - Tanoby Ruins - (3.65)
43 - Heart Scale - Tanoby Ruins - (3.65)
44 - Nest Ball - Rocket Warehouse - (1.114)
45 - Net Ball - Rocket Warehouse - (1.114)
46 - Potion - Underground Path - (1.31)
47 - Antidote - Underground Path - (1.31)
48 - Paralyze Heal - Underground Path - (1.31)
49 - Awakening - Underground Path - (1.31)
4A - Burn Heal - Underground Path - (1.31)
4B - Ice Heal - Underground Path - (1.31)
4C - Ether - Underground Path - (1.31)
4D - Potion - Underground Path - (1.34)
4E - Antidote - Underground Path - (1.34)
4F - Paralyze Heal - Underground Path - (1.34)
50 - Awakening - Underground Path - (1.34)
51 - Burn Heal - Underground Path - (1.34)
52 - Ice Heal - Underground Path - (1.34)
53 - Ether - Underground Path - (1.34)
54 - Tiny Mushroom - Mt. Moon Floor 2 - (1.2)
55 - Tiny Mushroom - Mt. Moon Floor 2 - (1.2)
56 - Tiny Mushroom - Mt. Moon Floor 2 - (1.2)
57 - Big Mushroom - Mt. Moon Floor 2 - (1.2)
58 - Big Mushroom - Mt. Moon Floor 2 - (1.2)
59 - Big Mushroom - Mt. Moon Floor 2 - (1.2)
5A - Razz Berry - Berry Forest - (1.109)
5B - Bluk Berry - Berry Forest - (1.109)
5C - Nanab Berry - Berry Forest - (1.109)
5D - Wepear Berry - Berry Forest - (1.109)
5E - Oran Berry - Berry Forest - (1.109)
5F - Cheri Berry - Berry Forest - (1.109)
60 - Chesto Berry - Berry Forest - (1.109)
61 - Pecha Berry - Berry Forest - (1.109)
62 - Rawst Berry - Berry Forest - (1.109)
63 - Aspear Berry - Berry Forest - (1.109)
64 - Persim Berry - Berry Forest - (1.109)
65 - Pinap Berry - Berry Forest - (1.109)
66 - Lum Berry - Berry Forest - (1.109)
67 - Stardust - Treasure Island - (3.46)
68 - Stardust - Treasure Island - (3.46)
69 - Pearl - Treasure Island - (3.46)
6A - Pearl - Treasure Island - (3.46)
6B - Ultra Ball - Treasure Island - (3.46)
6C - Ultra Ball - Treasure Island - (3.46)
6D - Star Piece - Treasure Island - (3.46)
6E - Big Pearl - Treasure Island - (3.46)
6F - Rare Candy - Cape Brink OW - (3.47)
70 - Pokeball - Pewter City OW (3.2)
71 - Oran Berry - Route 3 - (3.21)
72 - Persim Berry - Route 4 OW - (3.22)
73 - Pecha Berry - Route 24 - (3.43)
74 - Oran Berry - Route 25 OW - (3.44)
75 - Bluk Berry - Route 25 OW - (3.44)
76 - Sitrus Bery - Route 6 OW - (3.24)
77 - Rare Candy - Route 6 OW - (3.24)
78 - Pecha Berry - S.S Anne Outside - (1.10)
79 - Cheri Berry - S.S Anne Outside - (1.10)
7A - Chesto Berry - S.S Anne Outside - (1.10)
7B - Rare Candy - Route 9 - (3.27)
7C - N/A - N/A - N/A
7D - Persim Berry - Route 10 OW - (3.28)
7E - Cheri Berry - Route 10 OW - (3.28)
7F - Rawst Berry - Route 8 OW - (3.26)
80 - Lum Berry - Route 8 OW - (3.26)
81 - Leppa Berry - Route 8 OW - (3.26)
82 - Rare Candy - Route 12 OW - (3.30)
83 - Leftovers - Route 12 OW - (3.30)
84 - Leftovers - Route 16 OW - (3.34)
85 - Max Revive - Fuchsia City OW - (3.7)
86 - Net Ball - Rocket's Hideout Basement Floor 4 - (1.45)
87 - Ultra Ball - Silph Co. Floor 2 - (1.48)
88 - Protein - Silph Co. Floor 3 - (1.49)
89 - Iron - Silph Co. Floor 4 - (1.50)
8A - PP Up - Silph Co. Floor 5 - (1.51)
8B - Carbos - Silph Co. Floor 6 - (1.52)
8C - Zinc - Silph Co. Floor 7 - (1.53)
8D - Nugget - Silph Co. Floor 8 - (1.54)
8E - Calcium - Silph Co. Floor 9 - (1.55)
8F - HP Up - Silph Co. Floor 10 - (1.56)
90 - Revive - Silph Co. Floor 11 - (1.57)
91 - Lum Berry - Route 23 - (3.42)
92 - Sitrus Berry - Route 23 - (3.42)
93 - Aspear Berry - Route 23 - (3.42)
94 - Leppa Berry - Route 23 - (3.42)
95 - Zinc - Route 14 - (3.32)
96 - Chesto Berry - Route 9 - (3.27)
97 - Nanab Berry - Route 10 OW - (3.28)
98 - Wepear Berry - Route 7 OW (3.25)
99 - Star Dust - Route 20 - (3.38)
9A - Pearl - Route 21 (OW 1 out of 2) - (3.39)
9B - Max Elixir - Route 23 - (3.42)
9C - Razz Berry - Route 4 OW - (3.22)
9D - Pinap Berry - Route 14 - (3.32)
9E - Fire Stone - Mt. Ember OW Entrance - (1.97)
9F - Soothe Bell - Pokémon Tower Floor 7 - (1.94)
A0 - Sacred Ash - Navel Rock Roof - (2.37)
A1 - PP Max - Cape Brink OW - (3.47)
A2 - Ultra Ball - Mt. Ember OW Entrance - (1.97)
A3 - Nugget - Three Isle Path - (2.34)
A4 - PP Up - Three Island - (3.14)
A5 - Max Repel - Bond Bridge - (3.48)
A6 - Pearl - Bond Bridge - (3.48)
A7 - Stardust - Bond Bridge - (3.48)
A8 - Pearl - Four Island - (3.15)
A9 - Ultra Ball - Four Island - (3.15)
AA - Big Pearl - Memorial Pillar - (3.57)
AB - Razz Berry - Memorial Pillar - (3.57)
AC - Sitrus Berry - Memorial Pillar - (3.57)
AD - Bluk Berry - Memorial Pillar - (3.57)
AE - Nest Ball - Resort Gorgeous OW - (3.54)
AF - Stardust - Resort Gorgeous OW - (3.54)
B0 - Star Piece - Resort Gorgeous OW - (3.54)
B1 - Stardust - Resort Gorgeous OW - (3.54)
B2 - Star Piece - Outcast Island - (3.58)
B3 - Net Ball - Outcast Island - (3.58)
B4 - Ultra Ball - Green Path - (3.59)
B5 - Aspear Berry - Water Path OW - (3.60)
B6 - Oran Berry - Water Path OW - (3.60)
B7 - Pinap Berry - Water Path OW - (3.60)
B8 - Leppa Berry - Six Island - (3.18)
B9 - Big Pearl - Trainer Tower OW - (3.62)
BA - Pearl - Trainer Tower OW - (3.62)
BB - Nanab Berry - Trainer Tower OW - (3.62)
BC - Rawst Berry - Canyon Entrance - (3.63)
BD - Macho Brace - Viridian City's Gym - (5.1)
BE - Lava Cookie - S.S Anne Ship Dock - (1.4)
BF - N/A - N/A - N/A
C0-FF  - N/A - N/A - N/A
 
Última edición:

Gold

Porrero a tiempo parcial
Miembro insignia
Respuesta: Re: Crear un objeto oculto para el buscaobjetos

Pues los items ocultos solo requieren una flag para que funcionen. Cualquier flag vale. Aunque el juego tiene sus propias flags para dicho propósito. Igual pasa con las Pokéballs en el suelo, cuyas flags van de 0x100 en adelante.

molaria poder poner de forma aleatoria objetos ocultos :D así siempre habrian sorpresas :)
Basta con el sistema de RTC de primedialga y unos scripts de nivel con el comando random para ese propósito. Es una buena idea que creo que te robaré.
 

Kora

Viviendo algún videojuego
Respuesta: Re: Crear un objeto oculto para el buscaobjetos

Pues los items ocultos solo requieren una flag para que funcionen. Cualquier flag vale. Aunque el juego tiene sus propias flags para dicho propósito. Igual pasa con las Pokéballs en el suelo, cuyas flags van de 0x100 en adelante.
Genial entonces! Todo solucionado.
 
Estado
Cerrado para nuevas respuestas.
Arriba