• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Mod (Old) Expansion for Princes [0.0.1]

Status
Not open for further replies.

Prince Vade

Champion
Trusted Support
Retired Mod
The oldguide script. Hes the old man who gives you that tour around cherrygrove.
Perfect then.
If you know the script that's great too.
What you wanna do is find the time you want the Pokemon to be given.
Just for common senses sake, I'll say you want the old man to give you the Pokemon after he finishes walking you around.
So, i would find the final @Text: bughfkjadljflkads
Line and press enter at the end of it.
Then you would add the line:
@Action:GetPokemon(#,Level,Obtained By,Caught as level,location found)
 

Lucifer XIII

Fisherman
i still cant get it to work properly. Hes supposed to give it you at the end of the tour. (cant upload the script so ill paste it here)

Code:
:if:position(Player,32,0,7)
:then
@Text:You're a rookie~trainer aren't you?~I can tell!*That's OK!~Everyone is a rookie~at some point!*If you'd like,~I can teach you a~few things.
[USER=5463]options[/USER]:Yes,No
:when:Yes
@Text:I am very sorry~but you are standing~in my way.
:end
:endif
 
:if:not register(oldguide)
:then
@Text:You're a rookie~trainer aren't you?~I can tell!*That's OK!~Everyone is a rookie~at some point!*If you'd like,~I can teach you a~few things.
[USER=5463]options[/USER]:Yes,No
:when:Yes
 
@Music:showmearound
@Text:eek:K, then!~Follow me!
@Turn:2,1
@Move:2,2
@Move:player,1
@Turn:player,1
@Move:player,1
@Turn:2,0
@Turn:player,3
@Text:This is a~POKEMON CENTER.*They heal your~POKEMON in no time~at all.*You'll be relying~on them a lot, so~you better learn~about them.
 
@Turn:2,1
@Turn:player,1
@Move:2,6
@Turn:2,0
@Move:player,6
@Turn:player,3
@Text:This is a~POKEMON MART.~They sell BALLS for~catching wild POKEMON~and other useful items.
 
@Turn:2,1
@Turn:player,1
@Move:2,7
@Turn:2,0
@Move:player,7
@Turn:player,3
@Text:ROUTE 30 is out~this way.*Trainers will be~battling their prized~POKEMON there.
 
@Turn:2,1
@Turn:player,1
@Move:2,4
@Move:player,4
@Turn:2,2
@Move:2,1
@Move:player,1
@Turn:player,1
@Move:2,3
@Turn:2,1
@Move:2,2
@Move:player,3
@Turn:player,3
@Move:player,2
@Text:This is the sea,~as you can see.*Some POKEMON are~found only in water.
 
@Turn:player,2
@Turn:2,3
@Move:2,10
@Turn:2,2
@Move:2,1
@Turn:2,3
@Move:player,9
@Turn:player,3
@Move:player,2
@Turn:player,1
@Move:2,5
@Turn:2,1
@Move:player,5
@Text:Here...*It's my house!~Thanks for your~company.*I wish you luck~on your journey!
 
if:not register(oldguide)
@Text:I have a Charmander but~I can't look after it*I will give it you~if you promise to*look after it.
[USER=5463]options[/USER]:Yes,No
:when:Yes
@Text:I'm gonna miss you~Charmander.*Goodbye!
@Action:GetPokemon(4,5,Given as a gift from the old man,5,at Cherrygrove)
@Text:<playername> received~Charmander!
@Turn:2,0
@Move:2,1
@NPC:remove(2)
@NPC:register(cherrygrove.dat|2|remove|1)
@NPC:register(cherrygrove\0.dat|0|position|2,0,2)
@Music:cherrygrove
@Register:eek:ldguide
:when:No
@if:not register(oldguide)
@Text:Come back when you have~space for it.
:endif
@Register:eek:ldguide
:endwhen
:else
@Text:When I was a wee~lad, I was a hot-~shot trainer!*Here's a word of~advice: Catch lots~of POKEMON!*Treat them all~with kindness!
:endif
:end
 

Lucifer XIII

Fisherman
It doesn't give me the pokemon and the old guy doesn't go into his house afterwards. he just stands outside his house and if you say no, it doesn't give you the option to get the pokemon again.
 

Prince Vade

Champion
Trusted Support
Retired Mod
Give This one a shot:
Code:
:if:position(Player,32,0,7)
:then
@Text:You're a rookie~trainer aren't you?~I can tell!*That's OK!~Everyone is a rookie~at some point!*If you'd like,~I can teach you a~few things.
[USER=5463]options[/USER]:Yes,No
:when:Yes
@Text:I am very sorry~but you are standing~in my way.
:end
:endif
 
:if:not register(oldguide)
:then
@Text:You're a rookie~trainer aren't you?~I can tell!*That's OK!~Everyone is a rookie~at some point!*If you'd like,~I can teach you a~few things.
[USER=5463]options[/USER]:Yes,No
:when:Yes
 
@Music:showmearound
@Text:eek:K, then!~Follow me!
@Turn:2,1
@Move:2,2
@Move:player,1
@Turn:player,1
@Move:player,1
@Turn:2,0
@Turn:player,3
@Text:This is a~POKEMON CENTER.*They heal your~POKEMON in no time~at all.*You'll be relying~on them a lot, so~you better learn~about them.
 
@Turn:2,1
@Turn:player,1
@Move:2,6
@Turn:2,0
@Move:player,6
@Turn:player,3
@Text:This is a~POKEMON MART.~They sell BALLS for~catching wild POKEMON~and other useful items.
 
@Turn:2,1
@Turn:player,1
@Move:2,7
@Turn:2,0
@Move:player,7
@Turn:player,3
@Text:ROUTE 30 is out~this way.*Trainers will be~battling their prized~POKEMON there.
 
@Turn:2,1
@Turn:player,1
@Move:2,4
@Move:player,4
@Turn:2,2
@Move:2,1
@Move:player,1
@Turn:player,1
@Move:2,3
@Turn:2,1
@Move:2,2
@Move:player,3
@Turn:player,3
@Move:player,2
@Text:This is the sea,~as you can see.*Some POKEMON are~found only in water.
 
@Turn:player,2
@Turn:2,3
@Move:2,10
@Turn:2,2
@Move:2,1
@Turn:2,3
@Move:player,9
@Turn:player,3
@Move:player,2
@Turn:player,1
@Move:2,5
@Turn:2,1
@Move:player,5
@Text:Here...*It's my house!~Thanks for your~company.*I wish you luck~on your journey!*I have a Charmander but~I can't look after it*I will give it you~if you promise to*look after it.
[USER=5463]options[/USER]:Yes,No
:when:Yes
@Text:I'm gonna miss you~Charmander.*Goodbye!
@Action:GetPokemon(4,5,Given as a gift from the old man,5,at Cherrygrove)
@Text:<playername> received~Charmander!
@Turn:2,0
@Move:2,1
@NPC:remove(2)
@NPC:register(cherrygrove.dat|2|remove|1)
@NPC:register(cherrygrove\0.dat|0|position|2,0,2)
@Music:cherrygrove
@Register:oldguide
:when:No
@if:not register(oldguide)
@Text:Come back when you have~space for it.
:endwhen
:endif
:end
 
:if:register(oldguide)
:then
@Text:When I was a wee~lad, I was a hot-~shot trainer!*Here's a word of~advice: Catch lots~of POKEMON!*Treat them all~with kindness!
:endif
:end
 

Lucifer XIII

Fisherman
No it just crashes. heres the report.

Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.30
Operating system: Microsoft Windows 7 Home Premium [6.1.7601.65536]
Decimal seperator: .
---------------------------

Here is further information:
Message: Conversion from string "player" to type 'Integer' is not valid.
InnerException: Input string was not in a correct format.
BaseException: Input string was not in a correct format.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: Microsoft.VisualBasic
TargetSite: Name: ToInteger [
Attributes: PrivateScope, Public, Static
CallingConvention: Standard
ContainsGenericParameters: False
DeclaringType: Microsoft.VisualBasic.CompilerServices.Conversions
IsAbstract: False
IsAssembly: False
IsConstructor: False
IsFamily: False
IsFamilyAndAssembly: False
IsFamilyOrAssembly: False
IsFinal: False
IsGenericMethod: False
IsGenericMethodDefinition: False
IsHideBySig: False
IsPrivate: False
IsPublic: True
IsSecurityCritical: False
IsSecuritySafeCritical: False
IsSecurityTransparent: True
IsSpecialName: False
IsStatic: True
IsVirtual: False
MemberType: Method
MetadataToken: 100664087
MethodHandle: System.RuntimeMethodHandle
Module: Microsoft.VisualBasic.dll
ReflectedType: Microsoft.VisualBasic.CompilerServices.Conversions
]

StackTrace: at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
at _2._5DHero.Script.Move()
at _2._5DHero.Script.Update()
at _2._5DHero.ActionScript.Update()
at _2._5DHero_OverworldScreen.Update()
at _2._5DHero.Basic.Update(GameTime gameTime)
at _2._5DHero.DGame.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Microsoft.Xna.Framework.Game.Run()
at _2._5DHero.Program.Main(String[] args)

You should report this error.

Go to "http://pokemon3d.net/issues/" to report this crash there.
 

Lucifer XIII

Fisherman
Thanks it works now :) I just got to sort out the order. It plays both the yes and no options but doesn't give you the option to click yes and no.
 

Prince Vade

Champion
Trusted Support
Retired Mod
Thanks it works now :) I just got to sort out the order. It plays both the yes and no options but doesn't give you the option to click yes and no.
Could you upload a screenshot so i can get a visual?
Btw, I dont think you click it....I think you scroll through options with "W" and "S"
 

Prince Vade

Champion
Trusted Support
Retired Mod
OK, for some reason the forum is changing all of these:
@ Options:

to

options

So, make sure it has the @ symbol right in front of Options
 
Status
Not open for further replies.
Top