HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Campaign Issues

View previous topic View next topic Go down 
AuthorMessage
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Campaign Issues   Mon Jul 28, 2014 2:45 am

I know not many dabble in campaigns (as far as I've seen), but I'd appreciate any help I can get on this. I'm trying to make a sort of quest for players to go on; they start in our default map, then move on to Lava. I'm trying to place a unit in Lava that will interact with you. However, I'm running into issues.

The way I did this is I used UNIT_IN_RANGE to be slightly bigger than the Lava portal, so when you go to jump through it, you're manually transported there. I did so because there's no command to move onto the next event after entering a new map. From here, when I tried to create the second unit AFTER WorldLoad=Lava, my game got messed up.

My compass would show the portals from the previous map, and would place the unit as if we were still in Default. This is an issue, since Default is 5000 in size and Lava is 8000...the unit is in no way in the right place.

I tried to fix this by creating a new campaign file, loading Lava and creating the unit, then attaching the file to PLAYER, but the unit is still placed as though still in Default.

Is there any way to remedy this? I'd really like to be able to place units in multiple maps...though if it isn't possible I guess there's nothing I can do.

My main campaign:

Code:
[Initialize]
World_Load=Lava
Unit_SetPosition=PLAYER,4000 500 4000
Unit_ClampToTerrain=PLAYER,true
World_ClearCritterList
World_DestroyAllPortals
Unit_SetScript=PLAYER,chopperigneus.campaign

[]
EventCondition=PROGRESS,NEXT
EventCondition=UNIT_IN_REGION,PLAYER,4000 4000,1000

[]
EventCondition=PROGRESS,NEXT
EventCondition=TIMER,0
Timer=2

[]
EventCondition=PROGRESS,NEXT
EventCondition=TIMER,0

ChatBox_SayPlayer=There seems to be somebody else here...
Timer=2

[]
EventCondition=PROGRESS,NEXT
EventCondition=UNIT_IN_REGION,PLAYER,5107 2843,50

chopperigneus.campaign:

Code:
[Initialize]
World_Load=Lava
Unit_SetPosition=PLAYER,4000 500 4000
Unit_ClampToTerrain=PLAYER,true
World_ClearCritterList
World_DestroyAllPortals
Unit_Create=ALLIANCE_PLAYER,Chopper,Body,Head11,Mane9,Tail4,Wings4,Lightdeer_ChopperMat,Tuftless
Unit_SetScale=ALLIANCE_PLAYER, 0.5 0.5 0.5
Unit_SetHP=ALLIANCE_PLAYER,9000
Unit_SetPosition=ALLIANCE_PLAYER,5107 684 2843
Unit_EquipItem=ALLIANCE_PLAYER,collar3,0
Unit_ClampToTerrain=ALLIANCE_PLAYER,true
Unit_DoSit=ALLIANCE_PLAYER,true
IgnoreGameOver=true
Back to top Go down
http://azoptaos.boards.net/
ShadoWolfozo

avatar

Game username : ShadoWolfozo
Server : GROWL: Spirits
Male Posts : 875
Join date : 2012-01-22
Age : 21
Location : Australia

PostSubject: Re: Campaign Issues   Mon Jul 28, 2014 10:01 am

I don't actually think campaigns take into consideration portals and other maps.
For example, the original game wasn't even multiplayer- it was just campaign. The portals may have been a feature added afterwards meaning they're not even coded into the campaign coding. In the original Halfblood campaign, a piece of code in the campaign file actually was set to 'destroy all portals' so you couldn't jump map.

Obviously someone more knowledgeable about campaigns and coding than me will be able to give you a proper answer... but yeah.
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Re: Campaign Issues   Mon Jul 28, 2014 9:25 pm

Yeah, I figured campaigns were made to take place on a single map. Unfortunate, but I'll have to deal with it. Thanks for in explanation, I didn't even realize the original game was a campaign. I'll have to adjust my storyline to fit a single map.

________________________________
Back to top Go down
http://azoptaos.boards.net/
ShadoWolfozo

avatar

Game username : ShadoWolfozo
Server : GROWL: Spirits
Male Posts : 875
Join date : 2012-01-22
Age : 21
Location : Australia

PostSubject: Re: Campaign Issues   Tue Jul 29, 2014 5:46 am

Alternatively you can have your story set in parts. Part 1 being in one map and Part 2 being in the next map, etc.
Back to top Go down
ObeyTheFist

™
avatar

Game username : ObeyTheFist
Server : Dragon's Den
Female Posts : 501
Join date : 2012-09-07
Location : Australia

PostSubject: Re: Campaign Issues   Tue Jul 29, 2014 6:40 am

It would be easier to do it that way. Part 1, one map, Part 2, new map, so on so forth.

Campaigns are limited when it comes to maps. You can adjust your storyline to break it up into parts if you still want to move outside the first map.
Back to top Go down
http://dragonsden.freeforums.net
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Re: Campaign Issues   Tue Jul 29, 2014 7:31 am

Ooh, that's a good idea. Thanks for the help you two!

________________________________
Back to top Go down
http://azoptaos.boards.net/
ObeyTheFist

™
avatar

Game username : ObeyTheFist
Server : Dragon's Den
Female Posts : 501
Join date : 2012-09-07
Location : Australia

PostSubject: Re: Campaign Issues   Tue Jul 29, 2014 9:56 am

You're welcome. (Not that I really helped XD) Good luck with it~
Back to top Go down
http://dragonsden.freeforums.net
 
Campaign Issues
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support :: Solved Support Issues-
Jump to: